Skip to main content
Glama
CryptoAPIs-io

@cryptoapis-io/mcp-utils

Official

utxo_utils

Validate UTXO addresses, decode raw transaction hex, and convert Bitcoin Cash legacy/cash addresses across supported mainnet and testnet blockchains.

Instructions

UTXO utils (Utils product): validate address, decode raw transaction hex, convert Bitcoin Cash address.

Actions: • validate-address: Check if a UTXO address is valid • decode-raw-transaction: Decode a raw transaction hex • convert-bitcoin-cash-address: Convert Bitcoin Cash address (legacy ↔ cash format); Bitcoin Cash only, no blockchain parameter (network + address)

Blockchain → Networks: • bitcoin: mainnet, testnet • bitcoin-cash: mainnet, testnet • litecoin: mainnet, testnet • dogecoin: mainnet, testnet • dash: mainnet, testnet • zcash: mainnet, testnet

Credits by action (source: OpenAPI): • convert-bitcoin-cash-address: bitcoin-cash 12 • decode-raw-transaction: bitcoin 10, bitcoin-cash 12, dash 11, dogecoin 11, litecoin 11, zcash 13 • validate-address: bitcoin 10, bitcoin-cash 12, dash 11, dogecoin 11, litecoin 11, zcash 13

Credits are indicative only and may change at any time. The actual credits spent for each API request are returned in the response headers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform
addressNoAddress (required for validate-address and convert-bitcoin-cash-address)
contextNoOptional context for the request - echoed back in response
networkYesNetwork name
blockchainNoBlockchain protocol (required for validate-address and decode-raw-transaction)
rawTransactionHexNoRaw transaction hex (required for decode-raw-transaction)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose a non-obvious behavioral trait: per-action credit costs, plus the note that credits are indicative and the actual spend is returned in response headers. It does not describe error behavior, rate limits, or failure modes, so it is strong but not exhaustive.

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?

Front-loaded one-line summary followed by tight bulleted actions, then supporting tables. The credit tables add length, but given the absence of annotations that cost detail earns its place. Structure is scannable with no filler prose.

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?

There is no output schema, so the description should ideally sketch return shapes — particularly for decode-raw-transaction, whose usefulness depends on what decoded fields come back. It also says nothing about pagination or response envelope. The operational details it does provide are solid, making this adequate but incomplete for an output-heavy utility.

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 coverage is 100%, so the baseline is 3; the description adds value beyond the schema by pairing each blockchain with its supported networks and by restating which parameters each action requires (address, rawTransactionHex, and the convert action's lack of a blockchain parameter). The enum pairings are genuinely new information not encoded in the flat schema.

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 names the resource (UTXO utilities) and enumerates three specific actions — validate-address, decode-raw-transaction, convert-bitcoin-cash-address — so the agent knows exactly what the tool does. It does not explicitly contrast itself with the sibling chain-family tools (evm_utils, xrp_utils), leaving sibling differentiation to inference from the name.

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?

Each action gets a one-line conditional, including the exception that convert-bitcoin-cash-address is Bitcoin Cash only and takes network + address rather than a blockchain parameter. The blockchain→networks matrix further tells the agent which combinations are legal. There is no explicit statement of when to prefer this tool over evm_utils/xrp_utils, so it stops short of a 5.

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