Skip to main content
Glama

crypto_btc_utxo

Read-only

Bitcoin UTXO / payment output check — Is this Bitcoin output still unspent? Checks one txid + vout against the live UTXO set (mempool included) on a Bitcoin Core node: UNSPENT / UNCONFIRMED / IMMATURE_COINBASE, value in BTC and sats, confirmations, the block height that created it, coinbase maturity, script type (P2PKH/P2SH/P2WPKH/P2WSH/P2TR...), address and descriptor. Use it to confirm a received payment is real and not yet spent. Pass txid= and vout= (txid:vout also works). Spent or unknown outputs return 404 (not charged). Price: $0.002 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "txid": "<txid>",
      "vout": "<vout>"
    },
    "name": "crypto_btc_utxo"
  }
}

Input Schema

NameRequiredDescriptionDefault
txidYes0e3e2357e806b6cdb1f70b54c3a3a17b6714ee1f0e68bebb44a74b1efd512098
voutYes0

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the description is not burdened with the safety profile. It nonetheless adds real behavioral facts the annotations cannot: mempool outputs are included, spent or unknown outputs return 404 and are not charged, and calls cost $0.002 USDC via x402 on Base. That billing and error-path context is exactly the kind of thing an agent needs before invoking a metered endpoint.

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 definition is front-loaded with the purpose and question it answers, then moves through return fields, usage, input convention, and pricing in a logical order. It is dense with useful detail rather than padded, though the single long paragraph could be split so the pricing/404 caveat is easier to scan.

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?

There is no output schema, so the description carries the full burden of describing return values, and it does so thoroughly: status values, value in BTC and sats, confirmations, creating block height, coinbase maturity, script type, address and descriptor. Combined with the 404 behavior and payment cost, an agent has everything needed to call and interpret this tool.

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 description coverage is 100%, so the baseline is 3. The description adds one useful convention beyond the schema — that txid:vout also works as a combined form — but otherwise restates the two parameter names without clarifying formats, casing, or whether vout is accepted as a string index vs integer beyond what the schema 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?

The description states a specific verb and resource: check whether one Bitcoin output (txid + vout) is unspent against a Bitcoin Core node's live UTXO set. The enumeration of returnable states (UNSPENT / UNCONFIRMED / IMMATURE_COINBASE) makes the scope concrete. It does not, however, name or differentiate itself from plausible siblings such as crypto_btc_payment_check or crypto_btc_tx, so an agent must infer that boundary.

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?

"Use it to confirm a received payment is real and not yet spent" gives an explicit usage context with a clear real-world trigger. It stops short of exclusions or naming an alternative tool for related questions (e.g. full transaction history or address-level balances), which is the main gap.

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.

Resources