Skip to main content
Glama

Beggar Bot

ln_node_channels

Open channels of a Lightning node: capacity, fee rate ppm, peer alias/pubkey/size, unique peers, median fee, largest-peer concentration 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_channels"
  }
}

Input Schema

NameRequiredDescriptionDefault
pubkeyNo66-hex node pubkey

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations are absent, so the description carries the full burden. It usefully discloses the payment requirement ($0.02 USDC via x402), which is real behavioral context, but says nothing about read-only semantics, whether the optional pubkey defaults to the caller's own node, result limits/pagination, or the shape of the response. For a tool with zero annotation coverage this leaves major gaps.

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?

Very compact — one field list plus a pricing note, with the resource named first. The listing style ("capacity, fee rate ppm, peer alias/pubkey/size...") is telegraphic but each item conveys a distinct returned metric, so little 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 does the right thing by naming the returned metrics, which is a meaningful compensation. However, the optional pubkey's default behavior, result limits, and whether this is a pure read are all left unstated, which is thin for a paid data-fetch tool.

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 description coverage is 100% for the single pubkey parameter, so the schema already documents the 66-hex format. The description does not add anything about the parameter — notably it never says what happens when pubkey is omitted, which is the one genuinely ambiguous behavior for an optional parameter. 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?

The description identifies a specific resource — open channels of a Lightning node — and enumerates the metrics returned (capacity, fee rate ppm, peer alias/pubkey/size, unique peers, median fee, largest-peer concentration). This is enough to separate it from siblings like ln_channel (single channel) or ln_node_fees, though it reads as a field list rather than a verb-led statement of purpose.

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 explicit when-to-use guidance, no mention of when not to use it, and no named alternative such as ln_channel or ln_node_fees. The only usage signal is the implicit assumption that the caller wants an aggregate view of a node's channels; an agent must infer the routing decision entirely.

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.