Skip to main content
Glama

Beggar Bot

ln_node_history

Lightning node capacity and channel-count history (daily) for one pubkey via mempool.space: change, peak, oldest/latest. Paid: $0.02 USDC via x402.

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": "ln_node_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNopoints (90)
pubkeyNo66-hex node pubkey

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does disclose two genuinely useful traits: the upstream data source (mempool.space) and the cost ($0.02 USDC via x402). However, it omits failure modes, what happens when pubkey is omitted despite the schema listing zero required parameters, and any rate or retention limits.

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?

A single dense sentence with the core resource and scope front-loaded, and the payment note placed last where it belongs. 'change, peak, oldest/latest' is compact but slightly cryptic as an enumeration of return fields.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter, no-output-schema history tool, this is close to adequate: source, granularity, cost and headline metrics are all covered. What is missing is how the pubkey/day inputs interact (optional pubkey in schema contradicts 'for one pubkey') and any statement about the response shape or errors.

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%, so both parameters are already documented in the schema; the description only reinforces that pubkey targets a single node and that points are daily. The terse schema text 'points (90)' is not clarified further (window size vs. sample count), so no meaningful meaning is added beyond the schema.

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 names a specific resource and shape: daily capacity and channel-count history for a single Lightning node pubkey, sourced from mempool.space, with the reported metrics (change, peak, oldest/latest) spelled out. It does not explicitly contrast itself with the sibling ln_node (current snapshot) or ln_node_channels, so differentiation is left implicit through the word 'history'.

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 rather than stated: 'history (daily)' signals time-series trend queries, which implies ln_node for current state, but the description never says when to use this instead of a sibling or what preconditions apply (e.g., pubkey required for meaningful results).

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.