Skip to main content
Glama

Export your whole merge ledger

ledger_export
Read-onlyIdempotent

The whole chain, its state and a signed head, to keep or check offline with ledger_verify.py. One call, no reason asked.

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": {
      "request": "<request>"
    },
    "name": "ledger_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesThe owner-signed request (under 4 KB): v=1, type=ledger-export, owner_id, owner_key, at, sig, plus the fields the tool needs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already establish that this is a read-only, idempotent, non-destructive, closed-world operation. The description adds that the export includes a signed head and is meant for offline verification, but it does not describe output format, size behavior, or permission requirements beyond the schema.

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 short and front-loads the exported content before the use case. The phrase 'One call, no reason asked' is concise but slightly cryptic, which keeps it from being maximally clear.

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 one-parameter read-only export with full schema documentation and annotations, the description covers the main content and offline-verification purpose. It could say more about the output artifact or size constraints, but the core information is present.

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

Parameters3/5

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

The single request object is fully documented in the schema, including its owner-signed envelope structure. The description does not add parameter-level meaning beyond what the schema already provides, so the baseline score applies.

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 clearly identifies the exported material: the whole chain, its state, and a signed head. The scope ('whole chain') distinguishes it from narrower ledger reads, although it does not explicitly name any sibling tool.

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 usage context: keep or check the export offline with ledger_verify.py. It lacks explicit when-not guidance or named alternatives such as ledger_read, so it stops short of full routing guidance.

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