Learn
MCP server vs REST API, agent skills, WebMCP and A2A: let agents call tools instead of reading pages
Agents act through tools, not pages. MCP server, REST API, agent skills, WebMCP and A2A compared: what each is, how an agent finds it, and how each is checked.
8 min read 1977 words
Reviewed by a human editor before publication. How we write
- MCP
- agent skills
- WebMCP
- A2A
- APIs
An agent can use your site in 2 ways. It can read a page and guess which element does what. Or it can call a tool, which is a named operation with a typed input and a typed result.
A site with a working tool surface can reach L4, Usable by agents. A site that only offers pages tops out at L3. The scan tests the claim: when a site advertises an MCP server, it opens one session, lists the tools and never calls one.
Why call a tool instead of reading a page?
NLWeb is a different answer to the same problem: one natural-language endpoint over a site's structured data.
A page is a lossy encoding of an action. The visual affordance and the operation share the same bytes, so the agent infers intent from an anchor styled as a button or a form field named for humans. Each guess is a place where a refactor breaks a working integration. A tool moves that judgement to the server, once, at design time.
- Reliability. The operation has a name and an input schema. The server accepts the arguments or says why not.
- Cost. Reading takes a fetch, a parse and a model round trip to decide what to do. A call takes a fetch.
- Errors. A failed page is often a 200 with HTML. A failed call returns a typed error the caller can branch on.
The claim is narrow: when the agent's job is to do something, a callable tool is better engineering than a page that implies one.
How does the scanner check that an MCP server works?
The MCP server tester runs this check on your site, and the OpenAPI checker looks for the API description it publishes.
The mcp-server check looks for an endpoint in 5 places. In order, they are a server card, the ARD manifest at /.well-known/ard.json, the AI catalog at /.well-known/ai-catalog.json (the older path of the same manifest, covered below), a homepage Link header or <link> with the relation mcp, and /mcp. Then it sends at most 3 POST requests: initialize, the notifications/initialized notification, and tools/list. A server that refuses initialize the way a 2026-07-28 server does gets server/discover and tools/list instead.
- Pass.
tools/listnames at least 1 tool. The record keeps up to 25 names. - Partial. The server answers 401 with a
WWW-Authenticatechallenge, or initialises but lists no tool. - Fail. The endpoint is advertised and the handshake fails.
- Not measured. The server answers 403, 429 or a 5xx, redirects, or does not finish inside the session's 12 seconds.
A pass counts toward L4 and L5. A partial earns points and holds neither level. The check is scored in the web-standards part, with weight 3 in the essential tier.
In the scans of 2 November 2026, under rubric v0.9.1, cloudflare.com passed with 2 tools, as it did on 20 October. This site passed with 4: scan_site, get_score, list_checks and get_report. The server Resend lists on mcp.resend.com answered 401 with a challenge, a partial pass, found under the correction of 25 October to rubric v0.9.
A plain GET to /mcp answers 405 with Allow: POST. The check accepts that as the endpoint on a site with another agent signal, such as this site's server card. On its own, a 405 opens no session, because any POST-only route answers one:
$ curl -sS -D- -o /dev/null https://agenticwebscore.com/mcp | grep -iE '^(HTTP|allow)'
HTTP/2 405
allow: POST
The scan offers protocol version 2025-11-25 and accepts the version the server answers. The newer 2026-07-28 specification adds server/discover in place of that handshake. The scan sends it, and then tools/list, only after a server refuses initialize the way a 2026-07-28 server does.
What is an MCP server card, and where does the manifest live?
A server card is a pre-connection document. SEP-2127, now Final, defines it as a JSON description of one remote MCP server: a reverse-DNS name, a version, a description and the remotes an agent connects to. It answers whether the service exists and where to connect.
Cards leave out tools, resources and prompts on purpose. A server's tools can vary by user, session and deployment, so a static file would drift. The live tools/list is the authority, and a client should not trust a card for a security decision.
Domain-level discovery runs through a manifest, and the manifest has 2 names. ARD v0.91 of 26 August 2026 puts it at /.well-known/ard.json and calls /.well-known/ai-catalog.json its predecessor. The MCP extension's discovery notes still name only the old path. Lighthouse 13.6.0, released on 27 October 2026, reads ard.json before the old path, and so do the scanner's MCP checks. Serve the same manifest at both. MCP server cards has the dates, the fields and the sources.
The mcp-card check is unscored. In its records of 20 October and 2 November 2026, resend.com's card was Served with an error. It named its server resend, not a reverse-DNS name, and listed 0 remotes. A card for an endpoint that does not exist is worse, because nothing validates it before a connection.
What does a tool declaration contain?
Whether it comes from a tools/list response or from a registration call in a page, a declaration is small.
{
"name": "search_products",
"title": "Search products",
"description": "Search the public catalogue by free-text query and return matching products with prices.",
"inputSchema": {
"type": "object",
"properties": {
"query": { "type": "string", "description": "Free-text search query" },
"limit": { "type": "integer", "minimum": 1, "maximum": 50, "default": 10 }
},
"required": ["query"],
"additionalProperties": false
}
}
name is the identifier in every future call, so renaming it breaks callers. description is the text a model reads to decide relevance. inputSchema makes a call a call, and bounds and defaults turn a plausible call into a correct one.
What are agent skills?
A skill is a folder with a SKILL.md file: YAML frontmatter with a name and a description, then markdown instructions. The Agent Skills specification describes progressive disclosure. Names and descriptions load at startup, the full instructions load when a task matches, and bundled files load when referenced. A skill tells an agent how. A tool lets it act.
The specification defines the folder, not where remote skills are found. A discovery index with a sha256 digest for each artifact is a convention layered on top. Skill content is instructions the agent will follow, so the agent recomputes the hash to confirm it got what the index described.
The agent-skills check is unscored, and an entry without a digest is Served with an error. On 2 November 2026, as on 20 October, resend.com's index lacked the digest member. This site's index lists 59 skills.
What is WebMCP, and who runs it?
WebMCP registers tools inside the page, and it is the least mature option in this list. The draft is a Community Group Report dated 2 November 2026, and it says it is not a W3C Standard. A page calls document.modelContext.registerTool() with a name, a description, an input schema and an execute callback. The draft also defines annotation hints such as readOnlyHint and consequentialHint, and a permissions policy named tools.
WebMCP defines no manifest file. Tools exist only after the page loads and script registers them. Discovery costs a page load, and the tools belong to a document, not a site. WebMCP vs MCP shows how to add both kinds of tool to a page.
Two platforms have shipped it. Shopify's Checkout WebMCP registers get_checkout, update_checkout, complete_checkout and navigate_to_storefront on eligible checkouts. Its changelog of 28 September 2026 says merchants need no new API or configuration. The docs add that requests should carry Web Bot Auth signatures from a key registered with Shopify, or bot detection may deprioritise or block them.
On 21 October 2026, Cloudflare and Commerce.com turned WebMCP on for almost 100,000 storefront domains. A script injected at the edge registers tools such as search_products and add_to_cart, and a merchant can opt out. The post says an agent still needs Chrome flags, an origin trial or a browser that supports it.
The webmcp check is a scored agent convention, and it is experimental. It is asked only when the homepage has a form or calls registerTool(). It counts a tool as complete when it has a name, a description and an inputSchema. A missing piece is partial, and a homepage with forms and no tool reads Not used, as this site's did on 2 November 2026: 2 forms, no declared tool.
Is a card a contract?
No. A tool declaration tells an agent that a call exists. A contract describes its shape: paths, methods, parameters and schemas. OpenAPI is the established way to write that down.
You need both. A declaration without a contract leaves the agent guessing parameters. A contract without a declaration is detail the agent cannot find. An API catalog, which RFC 9727 defines at /.well-known/api-catalog, closes that gap with a stable pointer to the description. The openapi check passes an OpenAPI 3.x document with a non-empty paths object, because an empty document is a contract in name only.
MCP server, REST API, agent skills, WebMCP or A2A: how do they differ?
They differ in who runs the code and how an agent finds it.
| Option | What it is | Where it runs | How an agent finds it | Scanner check |
|---|---|---|---|---|
| MCP server | Tools called as JSON-RPC over Streamable HTTP | Your server | A server card, the manifest, or the endpoint | mcp-server, scored |
| REST API | Operations described by an OpenAPI document | Your server | An API catalog at /.well-known/api-catalog, or a docs link |
openapi and api-catalog, scored |
| Agent skills | A folder of instructions in SKILL.md, with optional scripts |
The agent's own runtime | An index file, which the specification does not define | agent-skills, unscored |
| WebMCP | Tools a page registers in script | The visitor's browser | Only after the page loads | webmcp, scored convention |
| A2A | Independent agents that collaborate on a task | The other agent's server | An Agent Card at /.well-known/agent-card.json (example) |
a2a-card, unscored |
Appendix B of the A2A specification draws the line between the last two protocols. MCP connects agents to tools, APIs and data sources. A2A lets independent agents work together as peers. A2A matters when you run an agent of your own that other agents should call.
How does a tool surface fail?
A lying surface gives an agent no error to reason about. It gets a plausible failure and retries.
A card for an endpoint that does not exist. The agent configures a transport, fails and retries. Generate cards from the running service in CI, and fail the build when they disagree.
A tool with no parameter schema. A name and a description and nothing else is a page in disguise. The agent infers argument types from prose, which is the inference the tool was meant to remove.
A stale contract. Renaming an operation breaks agents that cached it, and the error lands as a 404 or 400 far from the change. Add fields instead, and give removals a deprecation window.
What should you publish, in order?
- A tool for each safe operation, with a name, a description and an input schema. If you run an MCP server, serve it where the card says.
- A card that matches the server, listed in a manifest at
/.well-known/ard.jsonand/.well-known/ai-catalog.jsonso an agent finds it from the domain. - A contract an agent can find. Publish an OpenAPI document and an API catalog entry that points at it. Add oauth-discovery metadata if the API needs authorisation, and a status page.
- Digests for anything an agent fetches.
Keep the page for people. Do not advertise an endpoint you do not serve. Make the running service the source of truth, and generate the card and the contract from it. Scan your site to see which of these the scanner finds, or read what agent readiness means for the levels. The scanner is also an MCP server with 4 tools, described by its server card at /.well-known/mcp/server-card.json.