Skip to main content
Glama

stellar_ledger_latest

Retrieve the current ledger sequence and information from a Stellar network to verify network state or confirm transactions.

Instructions

Get the latest ledger sequence and information from the network

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
outputNoFormat of the output
rpcUrlNoRPC server endpoint
networkNoName of network to use from config
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

C2.9/5.0
Behavior2/5

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

No annotations provided, so the description carries full behavioral burden. It never states whether this is a read-only operation, whether it hits the network, what happens if no network is configured, or what the return shape looks like. 'Information' is left undefined.

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 efficient sentence with the resource front-loaded. No waste, no ambiguity in structure.

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?

For a network query tool with no annotations, no output schema, and five parameters, the description is too thin. It doesn't disclose read-only nature, network prerequisites, or what 'information' is returned, leaving critical gaps for an agent.

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 all five parameters including network selection, rpcUrl, and output format are already documented. The description adds nothing beyond the schema, making baseline 3 correct.

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?

States a clear verb+resource: 'Get the latest ledger sequence and information.' It distinguishes itself implicitly from stellar_ledger_fetch by emphasizing 'latest,' though it never names that sibling or clarifies the distinction.

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?

No when-to-use guidance and no mention of alternatives. The only sibling-differentiating cue is the word 'latest,' which the agent must infer against stellar_ledger_fetch.

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