Skip to main content
Glama

qm_attest

Mints a portable sanity attestation: a signed token binding an agent_id to a statement's sanity-check results. Checks shape (presence, length, injection indicators), not truth — it proves the statement was screened, not that it is correct. The token is HMAC-signed upstream with a production secret; verification is via qm_attest_verify, and the token itself is not proof. Free, anonymous. Example: agent_id="agent-7", statement="I will proceed after verifying the source" returns agent_id, at, token, and checks; all four fields go to qm_attest_verify to confirm the signature.

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": {
      "agent_id": "<agent_id>",
      "statement": "<statement>"
    },
    "name": "qm_attest"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesIdentifier of the attesting agent.
statementYesStatement being attested (max 20000 chars).

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?

With no annotations supplied, the description carries the full burden and does so: it discloses the signing mechanism (HMAC-signed upstream with a production secret), the security caveat that 'the token itself is not proof', the semantic limits of the result, and the absence of auth/cost friction. Those are exactly the behavioral facts an agent needs before relying on the output.

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 core definition is front-loaded, followed by the accuracy caveat, the signing/verification note, and a tightly scoped example — a sensible order with no filler sentences. The 'not truth' limitation is stated twice in near-identical form ('not that it is correct' / 'the token itself is not proof'), a minor redundancy.

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?

For a two-parameter tool with no output schema and no annotations, the description covers everything needed: what is produced (agent_id, at, token, checks), how it is signed, how to verify it, and what it does and does not guarantee. Nothing an agent needs in order to invoke or interpret it is missing.

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 lifts above it with a concrete worked example ('agent_id="agent-7", statement="I will proceed after verifying the source"') that shows the statement is typically a natural-language agent intent claim. It adds illustrative meaning without restating the schema's type or maxLength constraints.

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 opening sentence states a specific verb and resource — 'Mints a portable sanity attestation: a signed token binding an agent_id to a statement's sanity-check results' — and immediately delimits scope ('Checks shape ... not truth'), which separates it from qm_attest_verify (verification) without the agent needing to open either schema.

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 names the correct follow-up tool explicitly ('verification is via qm_attest_verify') and states access conditions ('Free, anonymous'), giving clear context for when to reach for it. It stops short of explicit when-not-to-use guidance, e.g. that this is inappropriate when truth/evaluation rather than screening is needed, though the 'not truth' caveat heavily implies that boundary.

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.