Skip to content

docs: align the plugin with the narrow /ai tool surface - #14

Merged
sakanamk merged 3 commits into
mainfrom
fix/skill-md-ai-endpoint-surface
Nov 30, 2026
Merged

sakanamk merged 3 commits into
mainfrom
fix/skill-md-ai-endpoint-surface

Conversation

@pauliusminialga-dc

Copy link
Copy Markdown
Contributor

Stacked on #13. Base is pauliusminialga-dc-patch-1, so this already contains the eCommerce capitalization fix and the 0.4.1 version work. Merge #13 first, then this rebases cleanly. Review only the docs: rewrite SKILL.md... commit.

SKILL.md was written when the MCP server exposed five toolsets and could reach SERP tools. Since #12 moved the plugin to https://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_search and google_travel_hotels were 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:

Need Use instead
Parsed SERP (organic, people_also_ask, top_stories) decodo google-search "q" --parse
Bing results decodo bing-search "q" --parse
Amazon, Walmart, Target, TikTok, YouTube, every dedicated target decodo targets, then the target command
Screenshot written to a file decodo screenshot <url> -o shot.png
A crawl bigger than context decodo crawl ... -o pages.ndjson + jq
--max-duration / --content-format CLI crawl flags; not in the MCP schema
Batching URLs, piping to jq any CLI command

It also says outright that google_search and google_travel_hotels used 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 jsRender and tokenLimit on scrape_as_markdown, which were never documented.

MCP search is now described as ranked results, not a parsed SERP. That distinction is the practical consequence of losing google_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.
  • search and map with 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_markdown with 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 "returns crawl_id", while every input schema uses crawlId. 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 as crawlId" — 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/main
  • Live tools/list and tools/call against /ai for every claim above
  • No dangling section cross-references after the rename
  • Confirm crawl_start's response key with an API key

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.
@pauliusminialga-dc pauliusminialga-dc changed the title docs: rewrite SKILL.md around the narrow /ai tool surface docs: align the plugin with the narrow /ai tool surface Nov 30, 2026

@sakanamk sakanamk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@sakanamk
sakanamk merged commit 58a79a2 into main Nov 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants