Skip to main content
Glama
junxit

mcp-bitcoin

by junxit

get_mempool_entry

Read-only

Retrieve mempool details for an unconfirmed transaction using its txid, revealing fee, size, and confirmation status to troubleshoot pending transactions.

Instructions

Get mempool details for an unconfirmed transaction. Needs a backend.

Args: txid: The 64-hex-character transaction ID. network: Override the server's network for this call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
txidYes
networkNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds the backend requirement and the unconfirmed-transaction scope, which is useful, but does not explain behavior for missing entries or error cases. No contradiction with annotations.

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?

The description is short and front-loaded with the main purpose, followed by a clean args list. The phrase 'Needs a backend' is slightly cryptic but does not bloat the text.

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?

Given the low complexity, output schema presence, and annotations, the description covers the essential semantics of both parameters and the tool's role. The only mild gap is the unclear 'Needs a backend' phrase, which is not fully elaborated.

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 description coverage is 0%, but the description compensates well: txid is specified as a 64-hex-character transaction ID, and network is explained as an override for the server's network. This adds meaningful meaning beyond the bare schema types.

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?

The description states a clear verb and resource: 'Get mempool details' for 'an unconfirmed transaction'. This distinguishes it from aggregate mempool tools like get_mempool_info by focusing on a specific transaction entry, though it does not explicitly name alternatives.

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?

It gives context clues: the tool is for unconfirmed transactions and 'needs a backend'. However, it does not say when to choose this over siblings like get_transaction or get_raw_transaction, nor does it mention any exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.