Skip to main content
Glama

LLPRO Records

Send a signed receipt

agentrecord_submit_receipt

Record that a tool or agent did, or failed to do, a piece of work, so its public delivery record shows it. Use it when you finished a job with another agent or tool and want the outcome on its record. Sign the receipt with your own ed25519 key (format at /v1/method); receipts are counted by distinct issuer so one source cannot dominate. Or attach a pass or fail Countersign stamp that the producer requested itself (producer_verified true); other stamps are refused. Free; receipts that do not verify are refused.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "agentrecord_submit_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
receiptNoSigned receipt (v=1)
subject_idNoOptional with a Countersign stamp: the agent id you expect as the stamp producer; refused if it differs
countersign_stampNoA full pass or fail Countersign stamp, requested by its producer (producer_verified true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behavior: the receipt must be signed with the caller's own ed25519 key, the format is at /v1/method, receipts are counted by distinct issuer to prevent dominance by one source, only producer_verified Countersign stamps are accepted, and non-verifying receipts are refused. It also notes the operation is free. This is rich context for a mutation tool and does not contradict the annotations.

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 description is front-loaded with the primary purpose and then covers use case, signing, alternative stamp, and validation/cost. It is efficient but somewhat dense, with multiple constraints packed into the final two sentences. No major waste, though slight redundancy between "Record..." and "Use it when..." keeps it from a 5.

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 medium-complexity mutation tool with three parameters and nested objects, the description covers the essential mechanics: what to submit, how to sign or stamp it, and what will be refused. It does not describe the response or repeat behavior, but no output schema exists and the annotations already indicate non-idempotency. It is nearly complete for invocation guidance.

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 schema already documents all three parameters. The description adds meaningful semantics beyond the schema by explaining the signing requirement and format path for the receipt, and the producer_verified requirement for the Countersign stamp. It does not elaborate on subject_id, but the schema covers that parameter.

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 uses a specific verb and resource: "Record that a tool or agent did, or failed to do, a piece of work" and ties it to a "public delivery record." It is clear what the tool does, but it does not explicitly distinguish itself from a nearby sibling such as receipt_verify, so it falls short of a 5.

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 clear use case: "Use it when you finished a job with another agent or tool and want the outcome on its record." It also states the two valid paths: signing the receipt with an ed25519 key, or attaching a producer-requested Countersign stamp. It does not explicitly say when not to use it or name alternative tools.

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