diff --git a/packages/mcp/src/index.js b/packages/mcp/src/index.js index d3af2c1..6a17fc9 100644 --- a/packages/mcp/src/index.js +++ b/packages/mcp/src/index.js @@ -9,9 +9,10 @@ const require = createRequire(import.meta.url) const { version: pkgVersion } = require('../package.json') const DEFAULT_INSTRUCTIONS = [ - 'Turn any public URL into screenshots, PDFs, metadata, readable content (Markdown, HTML or plain text), media sources, technology stacks, Lighthouse audits, Google search results or custom-scraped fields.', - 'Always pass full URLs including the protocol.', - "If you are unsure of a product tool's parameters, call microlink_docs first.", + 'Product tools turn a public URL into a Microlink result. Always pass full URLs including the protocol.', + "Call microlink_docs({ product }) for a product tool's parameters; do not guess nested options.", + 'video/audio return the primary playable asset; videos/audios/links/images collect every match on the page.', + 'extract is custom MQL rules, not full-page markdown/html/text. search takes a query. Checkout tools start and track the purchase of an API key.', 'Without an API key, requests use the free endpoint (50 requests/day); pass apiKey or set MICROLINK_API_KEY for PRO.', 'On failure, read the error message and the hint/reason fields and adjust the request instead of retrying blindly.' ].join(' ') diff --git a/packages/mcp/src/tools/audio.js b/packages/mcp/src/tools/audio.js index 03cfacd..212f2f2 100644 --- a/packages/mcp/src/tools/audio.js +++ b/packages/mcp/src/tools/audio.js @@ -5,12 +5,7 @@ export function audio (server) { register( server, 'microlink_audio', - [ - 'Detect the primary playable audio of any public URL via Microlink.', - 'Works with SoundCloud, Spotify, Mixcloud, and other audio platforms.', - 'Returns the audio asset: `url`, `type`, `duration`, `size`, `duration_pretty`, `size_pretty`.', - 'Mirrors the `microlink.audio(url)` library method. For every audio on the page, use `microlink_audios`.' - ].join(' '), + 'Primary playable audio asset. For every audio URL on the page, use microlink_audios.', audioInputSchema, urlMethod('audio') ) diff --git a/packages/mcp/src/tools/audios.js b/packages/mcp/src/tools/audios.js index b0df3cd..a4daa3f 100644 --- a/packages/mcp/src/tools/audios.js +++ b/packages/mcp/src/tools/audios.js @@ -5,11 +5,7 @@ export function audios (server) { register( server, 'microlink_audios', - [ - 'Collect every audio source (`