Skip to main content
Glama

Beggar Bot

ln_node_fees

Lightning node channel fee-rate distribution (ppm): min/p25/median/p75/max, mean, capacity-weighted, zero-fee count, per-channel list. 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_fees"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNorows (25)
pagesNo10-channel pages (5)
pubkeyNo66-hex node pubkey

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the one non-obvious trait: the call is paid ($0.02 USDC via x402), which is critical for an agent to know before invoking. It says nothing about wallet/auth requirements, failure modes, or whether the payment is per-call or per-page, leaving real gaps for a paid tool.

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?

Two tight sentences with the metric list front-loaded and the payment notice last, where it belongs. Terseness slightly hurts comprehension—'capacity-weighted' and 'Paid: $0.02 USDC via x402' are compressed to the point of ambiguity—but nothing is wasted.

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?

With no output schema, the description usefully enumerates the returned statistics. However, all three parameters are optional and the description never explains what happens when pubkey is omitted or how limit/pages interact, so an agent cannot fully predict the response shape.

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 limit, pages, and pubkey are already documented. The description adds only the implicit notion of per-channel rows and pagination through '10-channel pages' being schema-side; it contributes nothing about how pubkey scoping changes the result set, so baseline 3 applies.

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?

Names the resource and the exact metrics returned (min/p25/median/p75/max, mean, capacity-weighted, zero-fee count, per-channel list), which is far more specific than a restatement of the name. It stops short of saying how it differs from nearby tools such as ln_node_channels, but the metric list itself is distinctive.

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

Usage Guidelines2/5

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

There is no when-to-use statement, no exclusion, and no named alternative. An agent must infer from the phrase 'channel fee-rate distribution' when this is preferable to ln_node_channels or ln_channel.

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.