Skip to main content
Glama

Verify countersignature

stack_verify_countersignature
Read-only

Check a countersignature STACK made over another company's passport, now, with revocation: STACK's signature and expiry, whether the key, the install, the agent or this passport has been revoked, and, when the passport is given, that it is the passport the countersignature covers and that the install signed it. Returns valid, reasons (short codes when not valid), install, owner, passport_digest, countersignature_expires_at and revoked. A valid answer means STACK saw this install's key proved by its holder and this passport's digest; it says nothing about what the agent will do. Needs no special rights.

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": {
      "countersignature": "<countersignature>"
    },
    "name": "stack_verify_countersignature"
  }
}

Input Schema

NameRequiredDescriptionDefault
passportNoThe passport the countersignature is about, a compact signed token
countersignatureYesThe countersignature, a compact signed token

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so safety is covered; the description goes further by listing the concrete checks performed, the optionality of the passport argument and the extra binding check it triggers, the exact fields returned, and the limits of what 'valid' implies. It also discloses the auth posture with 'Needs no special rights', which is not derivable from annotations.

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 verb and object are front-loaded ('Check a countersignature STACK made over another company's passport'), and the following clauses each carry distinct information: checks, return fields, interpretation caveat, and rights needed. The sentences are dense and clause-heavy but nothing is redundant.

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 a two-parameter read tool with no output schema, the description covers what is returned (valid, reasons, install, owner, passport_digest, countersignature_expires_at, revoked), what validity means, and the auth requirement. Only the meaning of the 'short codes' in reasons and any sibling alternative are left unaddressed.

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 real meaning: the passport parameter is optional and, when supplied, enables a coverage check that the countersignature is over that passport and that the install signed it. That conditional behavior is not expressed in the schema, and the returned passport_digest ties into it.

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?

The description states a specific verb and resource: check a countersignature STACK made over another company's passport, and it enumerates exactly what is verified (signature, expiry, revocation of key/install/agent/passport, passport binding, install signature). That is far more precise than a restated title. It stops short of naming the sibling tools (e.g. stack_verify_passport, stack_verify_connection) that an agent might confuse it with, so the differentiation is implied rather than explicit.

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?

'now, with revocation' signals this is a current-state verification including revocation, which implicitly tells the agent when to reach for it. It also sets a clear boundary on interpretation: a valid answer only means STACK saw the install's key proved and the passport's digest, not what the agent will do. There is no explicit when-not-to-use guidance or named alternative for verifying a bare passport versus a countersignature.

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.