Skip to main content
Glama

Beggar Bot

ln_connected_nodes

Most-connected Lightning nodes: channels, capacity, avg channel size 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_connected_nodes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo1-100

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 must carry behavioral context, and it does disclose two useful things beyond the schema: a payment requirement ('$0.02 USDC via x402') and the metrics returned. It does not state whether the call is read-only, how results are ordered, what the default limit is, or any rate limits, leaving meaningful gaps for an unannotated 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 short fragments, purpose front-loaded and price clearly appended. It is efficient, though the missing punctuation between the metrics and the price sentence slightly reduces readability.

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 simple one-parameter query with no output schema, the description covers the returned metrics and the payment mechanism. It still omits the ordering definition of 'most-connected', default limit behavior, and any alternative-tool routing, so it is adequate rather than complete.

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% for the single 'limit' parameter, so the schema itself documents the 1-100 range. The description adds no meaning about limit semantics or default behavior, which is acceptable at this coverage level but earns no extra credit.

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 ranking criterion ('Most-connected Lightning nodes') and lists the metrics returned (channels, capacity, avg channel size). It does not distinguish itself from siblings like ln_top_nodes or ln_liquidity_nodes, which also rank Lightning nodes, so an agent cannot tell from the description alone which ranking tool to pick.

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 guidance, no mention of when to prefer ln_top_nodes, ln_liquidity_nodes, or ln_veteran_nodes, and no exclusions. The only contextual note is the price, which is not usage guidance.

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.