Skip to main content
Glama

Agent Rest Stop

ReceiptArchive

Append one receipt line for an agent id.

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>",
      "receipt": "<receipt>"
    },
    "name": "ReceiptArchive"
  }
}

Input Schema

NameRequiredDescriptionDefault
receiptYes
agent_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it falls well short. 'Append' implies a mutation, but nothing is said about whether appends are idempotent, whether order matters, whether duplicates are rejected, or what the caller gets back. For a write tool with zero annotation coverage this is a meaningful gap.

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?

A single front-loaded sentence with no filler or repetition. It is efficient, though the brevity reflects under-specification rather than disciplined compression.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and 0% parameter coverage, the description is the only source of behavioral detail, and it provides almost none. For a mutation tool whose receipt format is undefined, an agent cannot reliably construct a correct call from this definition alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so both parameters are documented only by name and type. The description mentions 'receipt line' and 'agent id' but adds no format, length, encoding, or expected content guidance for the receipt string, leaving the caller to invent a value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a verb ('Append') and a resource ('one receipt line'), scoped to an agent id, so the basic action is inferable. However, 'receipt line' is domain jargon with no explanation of what a receipt represents here, and nothing distinguishes this write path from the sibling ReceiptAudit. Purpose is recognizable but not sharply defined.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to append versus when to read or audit, no preconditions (does the agent id need to exist first?), and no mention of alternatives such as ReceiptAudit. The agent must guess at the invocation context.

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