Skip to main content
Glama

Beggar Bot

ln_country_nodes

Lightning nodes in one country: count, capacity, channels, top nodes by capacity 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_country_nodes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo1-500
countryNoISO alpha-2, e.g. CH

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 add genuinely useful non-schema context: the output shape (count, capacity, channels, top nodes) and a known price of $0.02 USDC via x402. It omits other behavioral facts an agent needs, such as whether the country filter is mandatory despite the empty required list, default limit/pagination, and any rate or auth constraints.

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?

A single compact clause front-loads the resource and scope, then lists the outputs, with no filler. The appended payment note runs on without a separator and the whole thing is a fragment, but the information density is high.

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 two-parameter read tool with a fully documented schema, the description covers what is returned and what it costs, which is the main gap it needed to fill. It is still incomplete on the country-required ambiguity (required=[] yet the description says 'one country') and on how limit affects the 'top nodes' portion of the result.

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%, so the schema already documents both parameters, including the ISO alpha-2 format with an example (CH) and the 1-500 limit range — strictly more than the description says. The description adds no parameter-level meaning beyond 'in one country', so the baseline of 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 a specific resource and scope (Lightning nodes in one country) and previews the returned metrics (count, capacity, channels, top nodes by capacity), which distinguishes it from broader siblings like ln_countries or ln_top_nodes. It stops short of explicitly saying how it differs from ln_isp_nodes or ln_liquidity_nodes, so the differentiation is inferential rather than stated.

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 or when-not guidance and no named alternative for the adjacent cases (e.g. isp/li quidity/global rankings). The only signal is the phrase 'in one country', which implies the tool is for country-scoped aggregation but leaves the agent to infer it.

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.