Skip to main content
Glama

Beggar Bot

ln_node

Lightning node profile by pubkey: alias, active channels, capacity, avg channel size, open/close churn, last update staleness, country, ISP/ASN, tor/clearnet sockets 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"
  }
}

Input Schema

NameRequiredDescriptionDefault
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 a genuinely important behavior: the call is paid, $0.02 USDC via x402. That is real context an agent needs before invoking. However, it does not explain how the x402 payment flow behaves (e.g., a 402 challenge, retry requirement), nor whether a missing pubkey errors or returns a sample profile.

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?

One dense sentence with the resource and key front-loaded, followed by the payload inventory and the price. Every clause carries information, though the comma-run field list and the missing separator before 'Paid:' make it slightly harder to parse than it needs to be.

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?

There is no output schema, so the field enumeration is doing necessary work and covers the return shape reasonably well. The gap is behavioral: the schema marks pubkey as not required while the description implies a pubkey lookup, and the description never resolves what happens without one or how the paid call is completed.

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% and the single pubkey property is documented as '66-hex node pubkey'; the description only restates 'by pubkey'. Baseline 3 applies since the schema already does the semantic work and the description adds nothing on format or validation.

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?

States a specific verb-less but unambiguous resource (Lightning node profile) and the lookup key (pubkey), then enumerates the returned dimensions (alias, channels, capacity, churn, geography, sockets). An agent can tell this is the aggregate profile rather than a narrow sibling, though it never names ln_node_channels or ln_node_geography as the narrower alternatives.

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?

No when-to-use or when-not-to-use guidance is given, and no sibling is named as an alternative even though ln_node_channels, ln_node_fees, and ln_node_geography clearly overlap. The agent must infer from the field list that this is the one-shot profile versus the specialized tools.

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.