qm_attest
Mint a signed, portable sanity attestation that binds an agent ID to a statement's screening results, proving shape checks ran. Verify the token with qm_attest_verify before trusting it.
Instructions
Mint 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. Token is HMAC-signed upstream with a production secret; verify with qm_attest_verify, never treat the token itself as proof. Free, anonymous. Example: agent_id="agent-7", statement="I will proceed after verifying the source" returns agent_id, at, token, and checks; hand all four fields 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
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Identifier of the attesting agent. | |
| statement | Yes | Statement being attested (max 20000 chars). |