Skip to main content
Glama

Verify a stamp

countersign_verify
Read-onlyIdempotent

Confirm that a Countersign stamp someone shows you is real before you trust it. Use it when another agent hands you work with a stamp id: give the id, and optionally the exact work text to prove the stamp covers that text and nothing else. Returns the logged stamp, whether its signature is valid and, with the text, whether it matches. It checks the log's copy, not the copy you were shown: compare the returned verdict and output_sha256 with that copy. Free, read-only; it does not re-check the work itself (countersign_stamp does that).

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": {
      "id": "<id>"
    },
    "name": "countersign_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesStamp id: the id field returned by countersign_stamp
outputNoOptional: the exact work text the stamp should cover; its sha256 is compared with the stamp

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / id / description
      Added value: +"Stamp id: the id field returned by countersign_stamp"
    • addedInput schema / properties / output / description
      Added value: +"Optional: the exact work text the stamp should cover; its sha256 is compared with the stamp"
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses the crucial caveat that it verifies the log's copy rather than the copy shown, and tells the caller to compare the verdict and output_sha256 against the shown copy. It also notes the call is free, which is behavior an agent may need for budgeting.

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?

Purpose and trigger are front-loaded and the caveat about which copy is checked lands before the return-value sentence. It is a dense single block with minor redundancy ('free, read-only' repeats the readOnly annotation) but no filler.

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?

With no output schema, the description still enumerates what comes back (logged stamp, signature validity, text-match verdict) and names output_sha256 for comparison. For a two-parameter verification tool the description leaves no operational gap.

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 is 3; the description adds a little meaning by framing the optional text as proof that the stamp covers that text 'and nothing else', implying exactness rather than partial overlap. It does not add format or normalization details beyond the 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 first sentence states a specific verb and resource (confirm a Countersign stamp is real) plus the decision it informs (before you trust it). It also explicitly separates itself from countersign_stamp, which re-checks the work itself.

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?

It gives a concrete trigger ('when another agent hands you work with a stamp id') and names the excluded case: it does not re-check the work itself, countersign_stamp does that. The agent knows both when to call it and when not to.

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