Skip to main content
Glama

SovRoute

Next Block Template X-Ray

get_next_block_xray
Read-onlyIdempotent

Read-only, side-effect-free inspection of the live Bitcoin Core candidate block template (getblocktemplate) showing cutoff fee rates and optional txid queue rank. Use this to check whether a pending txid is likely to enter the very next block; use get_bitcoin_smart_fees for general fee estimation or check_rbf_fraud_shield for 0-conf double-spend risk.

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

Input Schema

NameRequiredDescriptionDefault
txidNoOptional 64-character hex Bitcoin transaction ID to inspect for inclusion rank

Output Schema

NameRequiredDescriptionDefault
txCountNoTransactions included in candidate block template
inTemplateNoWhether the queried txid is in the candidate block
blockHeightNoCandidate next block height
minFeeRateSatVbNoCutoff fee rate in sat/vB for next-block inclusion

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so "read-only, side-effect-free" largely restates structured data. The description does add genuine context beyond annotations: the data is drawn from the live candidate block template with cutoff fee-rate and queue-rank semantics, which tells the agent the output reflects current node state. It omits any caveat that the template is volatile point-in-time data, which is the main behavioral risk here.

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?

Two tight sentences that front-load the operation and its data source before the routing guidance; little wasted wording. The "read-only, side-effect-free" doubling is slightly redundant against the annotations, a minor slack but not bloat.

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?

With an output schema present and only one optional parameter, the description supplies what an agent needs: what is read, what the optional txid unlocks, and which siblings handle adjacent questions. The missing piece is a freshness caveat about the candidate block template changing between calls, which matters for interpretation but not for correct invocation.

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 coverage is 100% and the single optional txid parameter is already described as "Optional 64-character hex Bitcoin transaction ID to inspect for inclusion rank." The description's "optional txid queue rank" adds essentially the same meaning with no extra syntax, format, or omission-behavior detail; baseline 3 is appropriate when the schema carries the load.

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 verb and resource — "read-only, side-effect-free inspection of the live Bitcoin Core candidate block template (getblocktemplate)" — and names exactly what it surfaces: cutoff fee rates and optional txid queue rank. An agent can distinguish this from the fee-estimation and fraud-shield siblings without opening any 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?

Gives an explicit decision rule: use it "to check whether a pending txid is likely to enter the very next block," and routes two named alternatives (get_bitcoin_smart_fees for general fee estimation, check_rbf_fraud_shield for 0-conf double-spend risk) with the conditions that select them. Both when-to-use and when-not-to-use 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.