Skip to main content
Glama

AgentLogic MCP Server

btc_balance

Read a Bitcoin address balance: confirmed balance in sats and BTC, unconfirmed (mempool) balance, funded and spent totals, and transaction count. Legacy, P2SH, SegWit and Taproot addresses are accepted and checksum-validated. 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": {
      "address": "<address>"
    },
    "name": "btc_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesBitcoin address: legacy (1...), P2SH (3...), SegWit (bc1q...) or Taproot (bc1p...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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 behavioral burden and does well on the parts an agent needs: read-only semantics are stated, address checksum validation is disclosed, and the paid-call cost ($0.002 USDC on Base via x402) surfaces an auth/payment requirement that would otherwise be a surprise. It does not cover failure modes (invalid checksum response) or indexing latency, so it is strong rather than complete.

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?

Three sentences, front-loaded with purpose and return shape, then constraints, then cost — a sensible priority order with no filler. The address-type enumeration duplicates the schema slightly, a minor redundancy rather than a flaw.

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 one-parameter read tool with no output schema, the description compensates by naming the returned fields, so an agent knows what it is buying. The payment/pricing detail closes the main remaining gap; only error and freshness behavior are left implicit.

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 single parameter already documents all four address formats it accepts, so the description's address-type sentence largely restates structured data. The one added signal is that inputs are checksum-validated, which tells the agent malformed addresses will be rejected rather than silently accepted.

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?

Opens with a specific verb+resource ('Read a Bitcoin address balance') and immediately enumerates what comes back: confirmed sats/BTC, mempool balance, funded/spent totals, tx count. The repeated 'Bitcoin'/'address' framing separates it from sol_balance, chain_balance, and token_balance without needing their schemas.

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?

The Bitcoin-address scope plus the accepted address-type list (legacy, P2SH, SegWit, Taproot) makes the applicable context clear and implicitly excludes other chains. It stops short of naming an alternative for non-Bitcoin balances or for fee/mempool questions, so there is no explicit when-not-to-use routing.

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.