Skip to main content
Glama
Bitcoin Data Labs MCP

Bitcoin Data Labs MCP

Official

get_ln_force_close_costs

Read-onlyIdempotent

Query Lightning Network forced channel close costs, anchor outputs, and HTLC outcomes by summary, breach wave, pre-anchor, or all sections.

Instructions

Query 973,581 Lightning channel closes, anchor outputs, and HTLC outcomes (arXiv:2611.16311). Section: summary | breach_wave | pre_anchor | all.

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": "get_ln_force_close_costs"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectionNosummary

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is fully covered without the description. The description contributes extra context the annotations do not: the corpus size (973,581 records, implying a potentially large result set) and the canonical paper source. It adds nothing about pagination, rate limits, or freshness, which is why it sits at a solid middle score rather than higher.

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 tight sentences with the dataset scope front-loaded and the section options trailing, with no filler. The telegraphic pipe-separated section list is efficient, though the terse phrasing costs some 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?

With an output schema present, the description need not explain return values, and the single parameter's valid values are covered. What is missing is the semantic distinction among sections and any note on result size or sibling scope, which matters for correct invocation of a large open-world dataset.

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 description coverage is 0% and the schema declares no enum, so the description carries the full burden — and it does list the four valid section values (summary | breach_wave | pre_anchor | all), which is exactly the information the schema omits. It falls short of 5 because it never explains what each section contains or how they differ, leaving the agent to guess which to select.

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: querying a concrete dataset of 973,581 Lightning channel closes, anchor outputs, and HTLC outcomes, backed by an arXiv citation. That is far more specific than a restated name. It stops short of a 5 because it does no explicit sibling differentiation — a reader cannot tell from the text how this differs from get_ln_network_snapshot or get_ln_upgrade_dynamics.

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 when-not-to-use, no named alternative, and no prerequisites or caveats. The section value list is effectively a parameter enumeration rather than usage routing, and it never explains which analytical question each section answers.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.