Skip to main content
Glama

read_ledger

Read-only

Read the hash-chained ledger of every instrument-changing call and verify the chain is intact to audit changes and detect tampering.

Instructions

The record of every call that changed an instrument, with a check that the chain is intact.

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": "read_ledger"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
request_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuine value by disclosing what is returned (only state-changing calls, not reads) and that an integrity check is performed, which matters since there is no output schema. It says nothing about ordering, pagination behavior via limit, or what a failed integrity check looks like.

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 compact sentence with no wasted words, and the defining scope (only mutating calls) is front-loaded. The fragmentary grammar leaves the implied action unstated, but nothing is padded.

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

Completeness3/5

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

For a two-parameter read tool with no output schema, the description covers the essential return semantics and the integrity-check behavior, which is the main thing an agent could not otherwise know. It is still incomplete on parameter usage, result ordering/volume, and when this tool is the right choice among siblings.

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% for two parameters: limit (default 30) and request_id. The description mentions neither, so an agent gets no information about paging through the ledger or what request_id correlates to. With low coverage the description was required to compensate and does not.

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 names the resource (the ledger) and scopes it precisely: it records only calls that changed an instrument, and it verifies chain integrity. That distinguishes it from the measurement/instrument siblings. It is a noun fragment with no explicit verb, so it stops short of a clean verb+resource statement.

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 when-to-use guidance and no reference to any alternative, such as when to consult the ledger versus get_measurement for an audit trail. The reader must infer the audit/inspection use case entirely from the noun phrase.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.