Skip to main content
Glama
junxit

mcp-bitcoin

by junxit

decode_psbt

Read-only

Decode a PSBT to see every destination, fee, and signing status before approving it in your wallet. Works offline for secure verification.

Instructions

Decode a PSBT, showing every destination, the fee and signing status.

Works offline. Use this to check where funds are going before signing in your wallet. This server cannot sign or broadcast.

Args: psbt: The base64-encoded PSBT. network: Override the server's network for address rendering.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
psbtYes
networkNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnlyHint and destructiveHint annotations, the description adds meaningful behavioral context: it works offline, cannot sign or broadcast, and shows signing status. This helps the agent set expectations without overstepping.

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 compact and front-loaded, leading with the core action and outputs, then adding usage context, offline/capability constraints, and parameter explanations. Every line earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simple schema, annotations, and presence of an output schema, the description covers everything needed: what the tool does, its safety guarantees, its limitations, and its parameters. No critical gap remains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries full responsibility for parameter meaning. It clearly explains that 'psbt' is base64-encoded and that 'network' only affects address rendering, which is genuinely useful beyond the raw schema.

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 states a specific verb ('Decode') and resource ('PSBT') and clarifies the key outputs: destinations, fee, and signing status. This clearly distinguishes it from sibling tools like decode_raw_transaction and decode_wif.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly frames the use case: 'check where funds are going before signing in your wallet.' It does not name alternatives or exclusions, but the context is specific enough for an agent to select this tool correctly among the decode/derive siblings.

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