Skip to main content
Glama

recent_orphans

Read-onlyIdempotent

Orphan blocks (blocks that lost a fork race) paired with the canonical block that won at the same height, newest first.

Use this to list losing blocks and which pool mined them; for whole reorg events (depth, fork point) use reorgs. The default window "all" returns the last N orphans however old.

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

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of orphans to return, 1 to 50. Example: 20
windowNoTime window, one of 24h, 48h, 7d, 30d, 90d, 180d, 1y, all. Example: 7dall

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"Number of orphans to return, 1 to 50. Example: 20"
    • addedInput schema / properties / window / description
      Added value: +"Time window, one of 24h, 48h, 7d, 30d, 90d, 180d, 1y, all. Example: 7d"
  2. Changed1 schema field changed
    • addedInput schema / properties / window
      Added value: +{
      +  "default": "all",
      +  "title": "Window",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds genuinely non-obvious behavior: results are newest-first and the default window 'all' returns the last N orphans regardless of age. It does not describe the exact response shape, but that is a modest gap given the annotation coverage.

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?

Two sentences with no filler: the definition/pairing and ordering come first, then the routing rule, then the default-window caveat. Every clause earns its place.

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 two-parameter read-only listing tool, the description covers what is returned (orphan plus winning canonical block), ordering, and the default behavior, which is enough to call it correctly. The only shortfall is that without an output schema the exact field structure of the pairing is left implicit.

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

Parameters4/5

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

Schema coverage is 100% with both parameters documented including valid window values, so the baseline would be 3. The description adds meaning beyond the schema by clarifying that window='all' is bounded by limit rather than truly unbounded — a subtlety the schema does not convey.

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

Purpose5/5

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

States a specific resource (orphan blocks, defined inline as blocks that lost a fork race) and what they are paired with (the canonical block that won at the same height), plus the sort order. An agent can distinguish this from get_block or reorgs without opening a schema.

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

Usage Guidelines5/5

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

Explicitly routes usage: 'Use this to list losing blocks and which pool mined them; for whole reorg events (depth, fork point) use reorgs.' Both the when-to-use condition and the named alternative with its distinguishing attributes are present.

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.