agent_mcpsurface
Pin and diff the tool SURFACE of an MCP server from pasted tools/list results. Each tool gets a SHA-256 over the canonical form of the contract fields (name, title, description, inputSchema, outputSchema, execution, and annotations normalized to the PUBLIC spec defaults readOnlyHint false / destructiveHint true / idempotentHint false / openWorldHint true — so a hint flip that changes no text is still visible: the AI-SDK fingerprint's blind class, counted at 524 flips on 189 servers in three weeks). The surface digest is ORDER-SENSITIVE on purpose (spec 2026-07-28 makes deterministic order contractual). Pass the previous listing as baseline and the answer carries verdict CLEAN/REORDERED/DRIFT with per-tool kinds added/removed/changed, the changed field names and hint_flips old→new. icons and _meta are excluded BY NAME; unknown pasted keys ARE hashed — a new 'instructions' key moves the digest (the tool-poisoning class). Duplicate or missing tool names are refused (spec: unique per server — shadowing). Ceiling 5000 tools per listing. Static pasted listing only: never fetches, never launches the server. Sister to /agent/mcp-audit (which judges whether a client would REJECT the listing; this one says whether it CHANGED). Free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tools": "<tools>"
},
"name": "agent_mcpsurface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tools | Yes | the pasted tools/list array, in the order the server returned it | |
| baseline | No | the previous tools/list array to diff against; omit for a pure fingerprint to pin |