Skip to main content
Glama

mechacut

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

NameRequiredDescriptionDefault
toolsYesthe pasted tools/list array, in the order the server returned it
baselineNothe previous tools/list array to diff against; omit for a pure fingerprint to pin

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations supplied, the description carries the full burden and does so well: it explains the SHA-256 canonicalization, hint normalization to public spec defaults, deliberate order-sensitivity, by-name exclusion of icons/_meta, hashing of unknown pasted keys, refusal of duplicate/missing names, and the 5000-tool ceiling. The remaining gap is non-behavioral flourish — the "524 flips on 189 servers in three weeks" stat and the spec-version citation add motivation rather than callable behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action, and most sentences earn their place by adding a concrete rule or constraint. It is unusually dense — semicolon-chained clauses and a parenthetical statistics aside — which costs some readability but wastes little.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, yet the description specifies the return shape exactly: verdict CLEAN/REORDERED/DRIFT, per-tool kinds added/removed/changed, changed field names, and hint_flips old→new. Combined with the stated limits and refusal conditions, an agent has everything needed to call it and read the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline 3 is in play, but the description still adds real meaning: it explains why array order matters (order-sensitive digest), that omitted baseline yields a fingerprint-only pin, and that the input must be the pasted array as returned by the server. That goes beyond the schema's terse per-field descriptions, though it doesn't detail validation failure modes per parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource: "Pin and diff the tool SURFACE of an MCP server from pasted tools/list results." It explicitly separates itself from the sibling agent_mcpaudit ("which judges whether a client would REJECT the listing; this one says whether it CHANGED"), so an agent can choose between them without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States both operating modes precisely: pass a previous listing as baseline to diff, or omit it "for a pure fingerprint to pin." It also sets a hard boundary on the input source ("Static pasted listing only: never fetches, never launches the server") and names the alternative tool with the exact question each answers.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.