Skip to main content
Glama

Verify attestation

verify_attestation
Read-onlyIdempotent

Verify a previously issued attestation by recomputing its hash.

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": {
      "agent_id": "<agent_id>",
      "attestation_id": "<attestation_id>"
    },
    "name": "verify_attestation"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesId of the agent.
attestation_idYesThe attestation id returned by attest.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / agent_id / description
      Added value: +"Id of the agent."
    • addedInput schema / properties / attestation_id / description
      Added value: +"The attestation id returned by attest."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value by disclosing the verification mechanism (hash recomputation), implying a local deterministic check, but it does not say how a failed verification surfaces (error vs. negative result).

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

Conciseness5/5

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

A single front-loaded sentence with the action, object, and mechanism in order, and zero filler. Nothing is wasted or buried.

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?

With an output schema present, return values need not be explained, and rich annotations plus fully documented parameters cover most of the burden. Only the failure semantics of a failed verification are left unaddressed, a minor gap for this low-complexity two-parameter tool.

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 description coverage is 100%, including the useful provenance note that attestation_id comes from 'attest'. The description itself adds no further parameter meaning, so the baseline of 3 applies.

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?

States a specific verb (verify) and resource (attestation) plus the mechanism (recomputing its hash), which separates it in spirit from the issuing tool 'attest'. It does not explicitly name the sibling or contrast with it, but an agent can tell this is a read-side integrity check rather than an issuance call.

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?

The phrase 'a previously issued attestation' implies a prerequisite (an attestation must exist), but the guidance is only implied. There is no explicit when-to-use/when-not, no naming of 'attest' as the counterpart, and no statement of what to do on a mismatch.

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.