Skip to main content
Glama

Surveygent

verify_claim

Reads one stored receipt and GETs its public target_url. The verdict is verified, not_found, mismatch, or unverifiable, with source, as_of, ttl, version, and label tested or unknown. verified requires a full-body sha256, an exact text/plain body of 16 to 200 characters, or an exact JSON scalar at a dotted path. HTTP 404 and 410 are not_found. A finished comparison that fails is mismatch. Private, loopback, link-local, and metadata addresses, including after DNS and redirects, plus timeouts, oversized bodies, and any other uncertainty, are unverifiable.

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": {
      "receipt_id": "<receipt_id>"
    },
    "name": "verify_claim"
  }
}

Input Schema

NameRequiredDescriptionDefault
receipt_idYesId of a stored receipt.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so unusually well: it discloses an outbound network fetch, SSRF-style blocking of private, loopback, link-local and metadata addresses even after DNS resolution and redirects, timeout and oversized-body handling, and the mapping of 404/410 to not_found. It also clarifies that partial comparisons yield mismatch while any residual uncertainty yields unverifiable. The remaining gap is operational context — no mention of authentication, rate limits, or whether the verdict is persisted.

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 and dense: purpose first, then the verdict set, then success criteria, then error and uncertainty cases. Almost every sentence earns its place. The middle clause about sha256, exact text/plain body length, and JSON scalar at a dotted path is compressed to the point of jargon, but it is precise rather than padded.

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

Completeness4/5

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

There is no output schema, so the description must explain return values and it does: the four verdicts plus source, as_of, ttl, version, and label tested or unknown. Combined with the network and uncertainty rules, an agent can predict outcomes well. It stops short of stating permissions, cost, or side effects of the outbound fetch, which keeps it from being fully complete for a tool that reaches the public internet.

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

Parameters3/5

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

Schema coverage is 100% for the single receipt_id parameter, so the schema already establishes its meaning and the description adds no format, provenance, or sourcing detail (e.g., that ids come from get_receipts). Per the high-coverage baseline this sits at 3. The description's value is concentrated in return semantics, not the input.

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

Purpose4/5

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

The first sentence names a specific verb pair and resource: it reads one stored receipt and performs a GET against that receipt's public target_url, so the agent knows this is an active verification, not a lookup. It is distinguishable in spirit from get_receipts (plural, retrieval-only), though the description never names that sibling explicitly. The verdict vocabulary reinforces the purpose without ambiguity.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the agent can infer this is the tool to call when a stored receipt needs an independent check, and that get_receipts is the retrieval-only path. There is no explicit when-to-use/when-not-to-use statement and no mention of alternatives or prerequisites. Adequate for a single-purpose verifier, but guidance must be inferred.

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.

Resources