Skip to main content
Glama

All output spend statuses

get_tx_outspends
Read-onlyIdempotent

Spend statuses in output-index order.

Mempool.space docs

REST operation: GET /api/tx/{txid}/outspends.

Input Schema

NameRequiredDescriptionDefault
txidYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / $defs / Txid / description
      Previous value: -"Transaction ID (hash)"New value: +"A transaction ID: its hash."
    • addedInput schema / $defs / Txid / pattern
      Added value: +"^[0-9a-f]{64}$"
    • addedOutput schema / $defs / BlockHash / pattern
      Added value: +"^[0-9a-f]{64}$"
    • removedOutput schema / $defs / Height / format
      Removed value: -"uint32"
    • removedOutput schema / $defs / Timestamp / format
      Removed value: -"uint32"
    • addedOutput schema / $defs / Txid / pattern
      Added value: +"^[0-9a-f]{64}$"
    • removedOutput schema / $defs / Vin / format
      Removed value: -"uint16"
  2. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered. The description adds only the ordering guarantee (output-index order), which is a genuine but minor behavioral detail; it says nothing about cost, rate limits, or behavior for spent/unspent outputs.

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?

Very short and front-loaded: the ordering semantics come first, followed by a docs link and the REST operation. Nothing is padded, though the doc-link and REST-path lines add little for an agent that already has the schema.

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?

An output schema exists, so return values need not be explained, and annotations cover safety. The remaining material gap is disambiguation from get_tx_outspend and any hint about the txid input, which the description omits.

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% per the context signals, and the description never mentions the single `txid` parameter, its required status, or its format. The only parameter meaning lives in the schema's $defs (`Txid`), so the description does not compensate for the coverage gap.

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

Purpose3/5

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

The phrase "Spend statuses in output-index order" plus the REST path `GET /api/tx/{txid}/outspends` implies it returns the spend status of every output of a transaction, but the verb and object are only inferable from the URL. It never states explicitly that this is the plural/all-outputs variant, so it is not cleanly distinguishable from the sibling get_tx_outspend.

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 at all. The most important routing decision — all outputs (this tool) vs. a single output (get_tx_outspend) — is left entirely to the agent, even though that sibling is present in the tool list.

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.