Skip to main content
Glama

Verify or reject submitted evidence

verify_evidence

Sets the verification status of a submitted evidence record to verified or rejected. The caller must present an EIP-712 authority proof and hold an unrevoked, unexpired EVALUATOR authorization on the commitment (verified in-transaction). Idempotent per verdict: re-verifying with the same verdict replays the original outcome; changing a verified record to rejected (or vice versa) is rejected without a dispute path. Does NOT auto-transition the commitment state � the caller must perform the authorized lifecycle transition separately. Rejection requires a reason.

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": {
      "evidenceId": "<evidenceId>",
      "verdict": "<verdict>",
      "agentId": "<agentId>",
      "proof": "<proof>"
    },
    "name": "verify_evidence"
  }
}

Input Schema

NameRequiredDescriptionDefault
proofYesThe EIP-712 AuthorityProof
reasonNoRequired when verdict=rejected
agentIdYesThe caller's agent identity
verdictYesThe evaluator verdict
evidenceIdYesThe evidence record ID to verify
expectedVersionNoOptimistic-concurrency expected version
verificationRefNoNonempty source reference for an independent verdict; a reference is not verification of a third party by itself.
verificationSourceNoDurable R.5 attribution; seller self-certification cannot verify fulfillment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / verificationRef
      Added value: +{
      +  "description": "Nonempty source reference for an independent verdict; a reference is not verification of a third party by itself.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / verificationSource
      Added value: +{
      +  "description": "Durable R.5 attribution; seller self-certification cannot verify fulfillment.",
      +  "enum": [
      +    "seller_reported",
      +    "evaluator",
      +    "independent"
      +  ],
      +  "type": "string"
      +}
  2. Added

TDQS

A4.4/5.0
Behavior5/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 discloses authorization requirements, in-transaction verification, idempotency per verdict, replay behavior, and the rule that changing a verdict is rejected without a dispute path. It also states that rejection requires a reason and that commitment transition is a separate operation.

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?

The description is front-loaded with the core action and then layers in authorization, idempotency, state-transition boundary, and rejection constraints. Every sentence carries operational information, with no filler or repetition.

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?

For an eight-parameter mutation tool with no annotations and no output schema, the description is strong: it covers purpose, authorization, idempotency, verdict-change behavior, and lifecycle separation. It leaves some schema-adjacent details such as expectedVersion concurrency semantics and return-value expectations to the schema or caller assumptions.

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%, so the input schema already documents all eight parameters, including proof, reason, verdict, expectedVersion, verificationRef, and verificationSource. The description reinforces that rejection requires a reason and that proof is EIP-712 authority proof, but it adds little parameter-level meaning beyond the rich schema.

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?

The description states a specific verb and resource: it sets the verification status of a submitted evidence record to verified or rejected. It clearly distinguishes this mutation from query-style siblings such as get_evidence_verification and from submit_evidence.

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

Usage Guidelines4/5

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

The description gives clear operational context: the caller must present an EIP-712 authority proof and hold EVALUATOR authorization, and it explicitly says the tool does NOT auto-transition commitment state. It does not name a sibling alternative for lifecycle transitions, but the boundary is clear enough for an agent to know this tool should be used only for the verdict itself.

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.