Skip to main content
Glama

Mempool Space Get Transaction

mempool_space_get_transaction
Read-onlyIdempotent

Fetch full transaction detail (inputs, outputs, fee, size, confirmation status) for a given txid on mainnet/testnet/signet/liquid.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "txid": "1da1f48e9e20a6be6fa7d4df5c5e9e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e0e",
      "network": "mainnet"
    },
    "name": "mempool_space_get_transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
txidYes
networkNoWhich Bitcoin network. Defaults to mainnet, the real Bitcoin network, which is what "Bitcoin" means in an ordinary question. "bitcoin" and "btc" are accepted as aliases for mainnet.mainnet

Output Schema

NameRequiredDescriptionDefault
feeNoTransaction fee in satoshis
vinNoInput array
sizeNoTransaction size in bytes
txidNoTransaction ID
voutNoOutput array
statusNoConfirmation status
weightNoTransaction weight in WU
versionNoTransaction version
locktimeNoLocktime

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / network / description
      Previous value: -"Which Bitcoin network. Defaults to mainnet — the real Bitcoin network, which is what \"Bitcoin\" means in an ordinary question. \"bitcoin\" and \"btc\" are accepted as aliases for mainnet."New value: +"Which Bitcoin network. Defaults to mainnet, the real Bitcoin network, which is what \"Bitcoin\" means in an ordinary question. \"bitcoin\" and \"btc\" are accepted as aliases for mainnet."
  2. Added

TDQS

A3.6/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 and repeatability profile is fully covered and the description correctly does not contradict it. Beyond that it adds only the network scope (mainnet/testnet/signet/liquid); it says nothing about behavior for unknown or unconfirmed txids, rate limits, or pagination, which is the sort of context that would add real value here.

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 sentence, front-loaded with the verb and resource, with the field list in a compact parenthetical and the network scope at the end. Nothing is padded and nothing needs re-reading.

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 simple two-parameter read tool with an output schema present and annotations covering safety, this is essentially sufficient; the return-value enumeration is even redundant with the output schema. The remaining gap is edge-case behavior for a nonexistent or still-unconfirmed txid, which matters for a mempool lookup but is not addressed.

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 50%: the network parameter carries a thorough enum description with alias handling, while txid is a bare string. The description partially compensates by framing txid as "a given txid" and listing the supported networks, but it adds no format, length, or validation detail for txid beyond what the schema already implies.

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 specific verb ("Fetch") and resource ("full transaction detail") and enumerates exactly what comes back (inputs, outputs, fee, size, confirmation status) for a given txid across four named networks. That enumeration implicitly separates it from lighter siblings like get_tx_status, but the description never names an alternative, so the differentiation is inferred rather than stated.

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?

Usage is only implied: the phrase "full transaction detail" suggests reaching for this when the complete transaction is needed rather than just a status. There is no explicit when-to-use, when-not-to-use, or pointer to get_tx_status or mempool_space_get_address for related lookups, leaving routing to inference.

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.