Skip to main content
Glama
cryptoapis-mcp-block-data

cryptoapis-mcp-block-data

Official

UTXO block data

utxo_block_data
Read-onlyIdempotent

Retrieve UTXO block details and transactions by block height or hash, or fetch latest mined blocks across Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, Dash, and Zcash networks.

Instructions

Get UTXO block details (Block Data product).

Actions: • get-block-by-height: Get block details by block height (number) • get-block-by-hash: Get block details by block hash • list-transactions-by-block-height: List transactions in a block by block height • list-transactions-by-block-hash: List transactions in a block by block hash • get-last-mined-block: Get the latest mined block details • list-latest-mined-blocks: List the latest mined blocks

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): • get-block-by-hash: bitcoin 20, bitcoin-cash 24, dash 22, dogecoin 22, litecoin 22, zcash 26 • get-block-by-height: bitcoin 20, bitcoin-cash 24, dash 22, dogecoin 22, litecoin 22, zcash 26 • get-last-mined-block: bitcoin 20, bitcoin-cash 24, dash 22, dogecoin 22, litecoin 22, zcash 26 • list-latest-mined-blocks: bitcoin 20, bitcoin-cash 24, dash 22, dogecoin 22, litecoin 22, zcash 26 • list-transactions-by-block-hash: bitcoin 20, bitcoin-cash 24, dash 22, dogecoin 22, litecoin 22, zcash 26 • list-transactions-by-block-height: bitcoin 20, bitcoin-cash 24, dash 22, dogecoin 22, litecoin 22, zcash 26

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

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": {
      "action": "<action>",
      "blockchain": "<blockchain>",
      "network": "<network>"
    },
    "name": "utxo_block_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoNumber of blocks to return (for list-latest-mined-blocks)
limitNoNumber of items to return (max 50)
actionYesAction to perform
offsetNoPagination offset
contextNoOptional context for the request - echoed back in response
networkYesNetwork name
blockHashNoBlock hash (required for get-block-by-hash, list-transactions-by-block-hash)
blockchainYesBlockchain protocol
blockHeightNoBlock height (required for get-block-by-height, list-transactions-by-block-height)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered by structured data. The description adds genuinely new behavior: per-action credit costs and the note that actual credits are returned in response headers. It does not disclose response shape, pagination behavior, or rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loading the purpose and action list is good structure, but the credit block repeats six identical line items with the same per-chain values, consuming substantial space for near-zero information gain. The caveat that credits are indicative is useful; the enumeration is not.

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?

For a 9-parameter, multi-action dispatcher with no output schema, the definition covers action semantics, supported chain/network matrix, and cost model adequately. The remaining gap is that no description of returned block/transaction fields exists anywhere, which an agent must discover empirically.

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 every parameter (count, limit, offset, blockHash, blockHeight, etc.) is already documented in the schema, establishing a baseline of 3. The description's action list loosely maps actions to required inputs but adds no format, constraint, or interaction detail beyond what the schema states.

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 opens with a specific verb and resource ("Get UTXO block details") and enumerates six concrete operations with one-line definitions. The supported blockchain list (bitcoin, bitcoin-cash, litecoin, dogecoin, dash, zcash) implicitly separates it from EVM/XRP siblings, but it never states that boundary explicitly.

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?

Listing each action with its argument ("get-block-by-height: Get block details by block height (number)") helps an agent pick the right action once the tool is chosen. However, there is no guidance on when to prefer this tool over evm_block_data or xrp_block_data, and no when-not conditions or prerequisites.

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