Skip to main content
Glama

Check work and get a signed stamp

countersign_stamp

Use when you need a signed check, by code that did not make the work, of work you or another agent produced (an invoice or purchase order total, a report, calculation, summary, filing draft or code) before relying on it or handing it on. Countersign re-computes arithmetic, looks up quotes and values in the cited sources, opens links and parses code, then returns a signed stamp (pass, fail or inconclusive) saying exactly what is wrong, with time and method. The stamp is kept in a public log. No AI model decides the result. It never checks work it produced. Free daily quota; credit keys from $1 at llpro.ai/pay/credit; x402 accepted. Send the key as Authorization: Bearer <llk_ key>. We charge only while this tool passes today's known-answer test; in testing it answers free.

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": {
      "output": "<output>",
      "producer": "<producer>"
    },
    "name": "countersign_stamp"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
claimsNoOptional explicit items: {type:'arithmetic', expression, claimed} or {type:'quote', source_url, quote} or {type:'value', source_url, value}
outputYesThe work to check, as text (max 100000 chars). Equations written as '12 * 4 = 48' are re-computed.
contextNoOptional, self-declared and shown on the stamp as such (never changes the verdict): within_scope (true/false), approval_required (true/false), approved_by (who approved), model_version.
privateNoDefault true: the public log shows only a salted hash of each finding's detail (only you get the salt, so you can reveal a finding to an auditor) (your producer agent_id and the pass/fail counts stay visible) and you still get the full detail. Send false to publish the findings in the public log.
sourcesNoOptional cited sources: {url, quote?}
languageNoFor code: python or json get a syntax check
producerYesWho made the work: {agent_id, model}. Required; used for the independence rule.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "Optional, self-declared and shown on the stamp as such (never changes the verdict): within_scope (true/false), approval_required (true/false), approved_by (who approved), model_version.",
      +  "properties": {
      +    "approval_required": {
      +      "type": "boolean"
      +    },
      +    "approved_by": {
      +      "maxLength": 80,
      +      "type": "string"
      +    },
      +    "model_version": {
      +      "maxLength": 80,
      +      "type": "string"
      +    },
      +    "within_scope": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / private / description
      Previous value: -"Default true: the public log shows only a hash of each finding's detail (your producer agent_id and the pass/fail counts stay visible) and you still get the full detail. Send false to publish the findings in the public log."New value: +"Default true: the public log shows only a salted hash of each finding's detail (only you get the salt, so you can reveal a finding to an auditor) (your producer agent_id and the pass/fail counts stay visible) and you still get the full detail. Send false to publish the findings in the public log."
  3. Changed1 schema field changed
    • changedInput schema / properties / private / description
      Previous value: -"Default true: the public log shows only a hash of each finding's detail and you still get the full detail. Send false to publish the findings in the public log."New value: +"Default true: the public log shows only a hash of each finding's detail (your producer agent_id and the pass/fail counts stay visible) and you still get the full detail. Send false to publish the findings in the public log."
  4. Changed1 schema field changed
    • changedInput schema / properties / private / description
      Previous value: -"If true the public log shows only a hash of each finding's detail; you still get the full detail"New value: +"Default true: the public log shows only a hash of each finding's detail and you still get the full detail. Send false to publish the findings in the public log."
  5. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations declare a non-read-only, open-world, non-idempotent but non-destructive operation; the description corroborates and enriches this with the public-log side effect, the default private=true hashing behavior (producer agent_id and pass/fail counts still visible), the no-AI-model decision rule, and the independence constraint. It also discloses auth (Authorization: Bearer llk_), quota and billing mechanics, which no annotation or schema field carries.

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 primary use case and the escalation of what is checked come first, followed by output shape and then commercial/auth details, which is a sensible ordering. It is longer than most definitions and the pricing sentence ('We charge only while this tool passes today's known-answer test') is dense, but each clause carries operational information.

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 no output schema, the description does the needed work by stating the return is a pass/fail/inconclusive signed stamp with the specific defect and time/method. It also covers auth, quota, privacy defaults and the independence precondition for an 8-parameter, nested-object tool; only the absence of explicit sibling routing keeps it short of complete.

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 88%, so nearly every parameter is already documented in the schema, including `private`'s salting behavior, `context` being self-declared and verdict-neutral, and the `claims` shapes. The description adds only the independence rule around `producer` and the 'equations re-computed' note, so it sits at the baseline rather than adding substantial meaning.

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 names a specific verb and resource — independently re-check work and return a signed stamp — and enumerates what gets checked (arithmetic, quotes, cited values, links, code). It also bounds the scope with 'It never checks work it produced', which separates it from any self-verification flow and, by implication, from the verify/log 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?

The opening 'Use when you need a signed check ... before relying on it or handing it on' gives a clear trigger condition plus a list of artifact types (invoice total, report, calculation, summary, filing draft, code). It does not name the sibling tools (e.g. countersign_verify for checking an existing stamp, countersign_log for retrieval), so the agent must infer the boundary rather than being routed explicitly.

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