Skip to main content
Glama

Bitcoin Mempool Entropy

get_mempool_entropy
Read-onlyIdempotent

Read-only, side-effect-free query that fetches live Bitcoin mainnet mempool statistics (unconfirmed transaction count, virtual size, total fee pool) from Bitcoin Core RPC. Use this to gauge network-wide congestion before broadcasting; use get_bitcoin_smart_fees for target sat/vB fee rates or get_next_block_xray for candidate block template inclusion.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_mempool_entropy"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
txCountNoCurrent unconfirmed transaction count in mempool
vsizeBytesNoTotal mempool virtual size in vbytes
totalFeeSatsNoTotal fees waiting in mempool in satoshis

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, openWorld, and non-destructive, and the description's "read-only, side-effect-free" restates them. It does add real context beyond the annotations: the data originates from Bitcoin Core RPC and is "live," signaling freshness rather than cached values. It stops short of stating staleness windows or polling limits.

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 with zero waste: capability plus returned fields first, then the routing decision to alternatives. Every clause carries information an agent needs.

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?

For a zero-parameter, read-only query with a full output schema and complete annotations, the description supplies purpose, data source, expected fields, and sibling routing. Nothing an agent needs to call it correctly is missing.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline for a no-param tool applies. The description's field enumeration is a bonus rather than a substitute for parameter documentation.

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?

Names a specific verb and resource ("fetches live Bitcoin mainnet mempool statistics") and enumerates exactly what is returned (unconfirmed transaction count, virtual size, total fee pool). It is clearly distinguishable from sibling tools like get_bitcoin_smart_fees and get_next_block_xray.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States the when explicitly ("gauge network-wide congestion before broadcasting") and routes to two named alternatives with their own selection conditions (fee rates vs. block template inclusion). No inference is required.

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