Repository navigation
docs: align the plugin with the narrow /ai tool surface - #14
Merged
Merged
Conversation
The skill was written when the MCP server exposed toolsets and could reach SERP tools. On mcp.decodo.com/ai it serves 8 tools and nothing widens it, so the routing guidance pointed agents at tools that no longer exist. Verified against a live tools/list against /ai rather than from memory: - Names all 8 tools in routing step 1 instead of "scrape_as_markdown, search, map, ...", and says plainly that anything absent from that list is not on MCP at all - don't probe for it, don't ask the user to enable it. - New "What the MCP lane cannot do" table: parsed SERP, Bing, every dedicated target, screenshot-to-file, large crawls, --max-duration/--content-format, and batching. Each row names the CLI command that does the job. - States outright that google_search and google_travel_hotels used to be MCP tools and are not any more, because that is what a model is most likely to misremember. - Replaces the MCP section with the real parameter list for all 8 tools, taken from the live schemas. Documents jsRender and tokenLimit on scrape_as_markdown, which were never mentioned. - Says MCP `search` returns ranked results, not a parsed SERP. That distinction is the practical consequence of losing google_search. - Confirms the API-key requirement by testing it: search and map over /ai reject a basic token with "This tool needs a Decodo API key; Basic authentication tokens cannot use the Web Data API." scrape_as_markdown and screenshot accept either. - crawl_start is now described as returning "the crawl id", passed back as `crawlId`. The old text asserted a `crawl_id` response key while every input schema uses `crawlId`; crawl needs an API key, so the response shape could not be checked here and is no longer asserted either way. - Intro states the asymmetry up front: CLI is all 36 targets, MCP is 8 tools. - Frontmatter uses eCommerce, matching the body after e5ae63b. Bumped to 0.4.2 in both manifests.
Follow-up to the SKILL.md rewrite. Three files still described the MCP lane as it was before the plugin moved to mcp.decodo.com/ai, and the merge of main into this branch reverted two eCommerce fixes from #13. - decodo-setup.md: step 1 told the agent to look for `google_search` in its tool list. That has not been an MCP tool since #12, so the first diagnostic step could report a healthy MCP lane as broken. Now names the real 8 and says a missing dedicated target is expected, not a fault. - decodo-status.md: the MCP lane reported tool presence but never the credential. Verified live against /ai - `scrape_as_markdown` and `screenshot` accept a basic auth token, while `search`, `map` and the four `crawl_*` tools reject it with "This tool needs a Decodo API key; Basic authentication tokens cannot use the Web Data API." So "8/8 tools present" on a basic token means half of them fail on first use, and the status command - the one whose job is reporting what works - was the only file not documenting that split. - mcp-setup.md: the file now covers two endpoints with different tool surfaces. Only the Cursor paragraph said so, leaving a Claude Desktop or Windsurf reader unaware that Cursor's surface is narrower. Adds a short "Two endpoints, two surfaces" note; /mcp with its five toolsets stays correct for other clients and is unchanged. - Restores "eCommerce" in marketplace.json metadata.description and plugin.json description. Both were fixed on main in 242ca11 and 10799d7, and the merge resolution in cc680e1 took the pre-sweep side, so merging this branch would have silently reverted them. Also finishes the sweep on the three that were never done: marketplace.json plugins[].description and both occurrences in the root README. No version change - 0.4.2 is already set in both manifests and unreleased.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SKILL.mdwas written when the MCP server exposed five toolsets and could reach SERP tools. Since #12 moved the plugin tohttps://mcp.decodo.com/ai, the server serves 8 tools and nothing widens it — so the skill was routing agents toward tools that no longer exist.The actual problem
google_searchandgoogle_travel_hotelswere MCP tools before #12 and are not any more. Nothing in the skill said so, so an agent reading it would reach for a SERP tool over MCP, find nothing, and have no guidance about where to go next. "Enable another toolset" was the old answer and is no longer available.What changed
Routing step 1 now names all 8 tools instead of
scrape_as_markdown, search, map, …, and states the rule directly: if it is not on that list it is not on MCP at all — don't probe for it, don't ask the user to enable it.New "What the MCP lane cannot do" table. Seven rows, each naming the CLI command that does the job instead:
organic,people_also_ask,top_stories)decodo google-search "q" --parsedecodo bing-search "q" --parsedecodo targets, then the target commanddecodo screenshot <url> -o shot.pngdecodo crawl ... -o pages.ndjson+jq--max-duration/--content-formatjqIt also says outright that
google_searchandgoogle_travel_hotelsused to be MCP tools — that is what a model is most likely to misremember, so it's worth stating rather than merely omitting.The MCP reference section is rebuilt from the live schemas, not from memory. Full parameter list for all 8 tools, including
jsRenderandtokenLimitonscrape_as_markdown, which were never documented.MCP
searchis now described as ranked results, not a parsed SERP. That distinction is the practical consequence of losinggoogle_search.Verification
Every claim here came from a live call against
/ai, not from the repo or memory:tools/list→ the 8 tools and their complete input schemas.searchandmapwith a basic auth token →This tool needs a Decodo API key; Basic authentication tokens cannot use the Web Data API.Confirms the API-key requirement the section asserts.scrape_as_markdownwith the same basic token → succeeds. So the credential split is real and is now documented per-tool.One thing deliberately not asserted
The old text said
crawl_start"returnscrawl_id", while every input schema usescrawlId. Crawl needs an API key and only a basic token was available here, so the response shape could not be checked. It now reads "returns the crawl id at once. Pass it back ascrawlId" — true, and it stops asserting a key name nobody has verified. Worth a quick confirm by anyone with an API key.Versioning
0.4.1 → 0.4.2 in both manifests.
Test plan
node scripts/validate-template.mjs(hooks.json warning expected)node scripts/check-version.mjs origin/maintools/listandtools/callagainst/aifor every claim abovecrawl_start's response key with an API key