Skip to main content
Glama

LLPRO Trust

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.

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 of a 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. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent and non-destructive, so the bar is low, yet the description adds real behavioral content: it is free, it verifies the logged copy rather than the presented copy, and it returns a signature verdict plus output_sha256 that the caller must reconcile themselves. That caveat is exactly the kind of subtlety an agent would otherwise miss.

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?

The purpose and trigger are front-loaded, and the sentences are dense with actionable detail. "Free, read-only" is partly redundant with the annotations, but the rest of the text earns its space by carrying the copy-mismatch warning.

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?

There is no output schema, and the description compensates by stating what comes back: the logged stamp, a signature validity flag, and a text-match result. Combined with the warning about which copy is checked, an agent has everything needed to call and interpret it correctly.

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, but the description adds meaning the schema does not: it explains that the id comes from a stamp the other agent supplied, and that the optional text must be the *exact* work text, since it is hashed and compared to prove the stamp covers that text and nothing else.

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 opens with a specific verb and resource: confirm that a Countersign stamp is real. It also scopes the check precisely ("checks the log's copy, not the copy you were shown") and explicitly disclaims what it does not do ("does not re-check the work itself"), which separates it from stamping and log-inspection siblings.

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?

It gives a concrete trigger ("Use it when another agent hands you work with a stamp id") and a clear follow-up action (compare the verdict and output_sha256 with the copy you were shown). It stops short of naming a specific alternative tool or stating when verification should be skipped, so it is strong but not exhaustive.

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