Skip to main content
Glama

stellar_ledger_fetch

Fetch Stellar ledger data by sequence number to inspect ledger details, transactions, or metadata. Supports limit, output format, network, RPC URL, and XDR options.

Instructions

Fetch specific ledger information by sequence number

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of ledgers to fetch (default: 1)
outputNoFormat of the output
rpcUrlNoRPC server endpoint
networkNoName of network to use from config
sequenceYesLedger sequence to start fetch (inclusive)
xdrFormatNoFormat of the XDR in the output
rpcHeadersNoRPC Header(s) to include in requests to the RPC provider
networkPassphraseNoNetwork passphrase

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral burden. It states a fetch operation, which implies read-only access, but does not explicitly disclose side-effect profile, required permissions, rate limits, or how network/rpcUrl configuration affects the call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single, front-loaded sentence with no redundant or filler text. Every word contributes to the core purpose.

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?

The schema is rich enough to document parameters, but there is no output schema and no annotations. The description does not explain what ledger information is returned or how network/rpcUrl selections affect behavior, leaving gaps for an agent invoking a multi-parameter fetch tool.

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?

Schema description coverage is 100%, so the schema already documents all eight parameters, including sequence, limit, output, and network. The description adds no syntax or format details beyond the schema, so the baseline of 3 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?

Names a specific verb (fetch) and resource (ledger information) and states the lookup key (sequence number). It distinguishes itself implicitly from stellar_ledger_latest by requiring a sequence, but does not explicitly name the sibling alternative.

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

Usage Guidelines3/5

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

The phrase 'by sequence number' implies the tool is for known ledger numbers, but there is no explicit guidance on when to use it versus stellar_ledger_latest or other fetch tools. No when-not-to-use or alternatives are provided.

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

Deploy Server

Other Tools