Skip to main content
Glama
ocbenji

@bitcoinbenji/mcp

fee_quote

Get an exact fee quote for a Bitcoin transaction by specifying inputs, outputs, target blocks, and input type.

Instructions

Exact fee quote for a planned tx: {inputs, outputs, target_blocks, input_type}. [15 sats per call]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputsYes
outputsYes
target_blocksYes
input_typeNop2pkh | p2wpkh | p2trp2wpkh
preimageNo(L402 mode) Preimage from paid Lightning invoice — only needed if no API key is set
macaroonNo(L402 mode) Macaroon from the previous 402 challenge
Behavior3/5

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

With no annotations, the description carries full burden. It discloses the cost and required parameters, but does not detail other behaviors such as rate limits, idempotency, or error handling.

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?

The description is extremely concise: a single sentence with the core purpose and a cost note. No wasted words.

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 tool has 6 parameters (3 required), no output schema, and no annotations, the description covers the essential aspects for a fee quote, though it could include more on the return format or failure modes.

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 50%. The description lists parameter names (inputs, outputs, target_blocks, input_type) but adds no meaningful detail beyond the schema. The optional preimage and macaroon parameters are not highlighted in the description.

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?

The description clearly states 'Exact fee quote for a planned tx' and enumerates key parameters (inputs, outputs, target_blocks, input_type), distinguishing it from sibling tools like 'get_fees' or 'predict_fees' which offer different fee calculations.

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?

The description implies usage for exact fee quotes and notes a cost ('15 sats per call'), but does not explicitly state when to use this tool versus alternatives or provide when-not conditions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ocbenji/bitcoinbenji-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server