Skip to main content
Glama

AgentLogic MCP Server

btc_tx

Look up a Bitcoin transaction: confirmation status, block height, fee and fee rate, size, input and output counts, and total output value. An unknown txid returns found: false. Price: $0.002 USDC on 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>"
    },
    "name": "btc_tx"
  }
}

Input Schema

NameRequiredDescriptionDefault
txidYesBitcoin transaction id, 64 hex characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does reasonably well: it discloses the exact result shape, the not-found behavior, and the payment model ($0.002 USDC on Base via x402), which is genuinely important operational context an agent would otherwise not know. It still omits rate limits, whether the read is cached/realtime, and confirmation-count thresholds for 'confirmed', so it is not fully transparent.

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?

Two sentences, front-loaded with the resource and the returned fields, followed by the edge case and the cost. Every clause carries information an agent needs; nothing is redundant or padded.

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?

There is no output schema and no annotations, so the description must cover both return content and safety/payment context, and it does: it lists the returned fields and states the x402 price. Completeness is slightly reduced by the absence of any note on freshness, error conditions beyond not-found, or how payment is settled during the call.

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 coverage is 100% and the schema already documents txid as a 64-hex-character transaction id, so the schema does the heavy lifting. The description adds only marginal parameter meaning by noting that a non-existent txid yields found: false, which hints at validation behavior for that single input. Baseline 3 is appropriate.

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?

States a specific verb and resource ('Look up a Bitcoin transaction') and enumerates exactly what the lookup returns: confirmation status, block height, fee, fee rate, size, input/output counts, total output value. An agent can immediately tell this is a single-transaction detail lookup rather than a list or balance query. It stops short of naming siblings such as btc_txs or tx_lookup, so it earns a 4 rather than a 5.

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?

Usage is implied by the enumeration of returned fields and by the explicit edge-case rule that an unknown txid returns found: false, which tells the agent how to interpret a miss. However, there is no statement of when to prefer this over the sibling list tool btc_txs or the generic tx_lookup, and no prerequisite guidance beyond cost.

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.