Skip to main content
Glama

Beggar Bot

ln_channel

Lightning channel detail by id or short id (mempool.space): status, capacity, age, funding/closing tx, both sides' fee policies (ppm, base, CLTV, HTLC limits). 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_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNochannel id or short id e.g. 811984x2037x0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose two useful behaviors beyond the schema: the data source (mempool.space) and the fact that calls cost $0.02 USDC via x402, which is meaningful for an agent. However, it omits what happens when id is omitted (id is not required per schema) and what an invalid or unknown channel id returns, leaving gaps for a pay-per-call tool.

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?

One dense sentence, front-loaded with the core action and identifier, then the returned data, then the payment note. Nothing is redundant.

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 single-parameter read tool with no output schema, listing the returned fields is good, and the price disclosure is valuable. It is still incomplete because the optional id parameter can be omitted and the description gives no idea what the tool does then, nor any error behavior.

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?

Schema coverage is 100% and the sole parameter is fully documented, including the format example 811984x2037x0. The description reinforces that either a full channel id or a short id is accepted, adding a small amount of usable meaning, so it slightly exceeds the baseline 3.

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 verb and resource ('channel detail by id or short id') and enumerates the returned fields: status, capacity, age, funding/closing tx, and both sides' fee policies. It does not name a sibling such as ln_node_channels or ln_node_fees, so the boundary between 'one channel' and 'channels of a node' is left implicit.

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 only implied by the phrase 'by id or short id'; there is no explicit 'use this when you have a channel id, use X instead when you have a node pubkey'. No exclusions or prerequisites (beyond the price) are stated.

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.