Skip to main content
Glama

claim_lnurl_withdraw

Destructive

Claim funds from an LNURL-withdraw link. REQUIRES AGENT KEY.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lnurl": "<lnurl>"
    },
    "name": "claim_lnurl_withdraw"
  }
}

Input Schema

NameRequiredDescriptionDefault
lnurlYesLNURL-withdraw string to claim from

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the safety profile is covered structurally. The description's one contribution beyond that is the auth prerequisite ("REQUIRES AGENT KEY"), which is genuinely useful. It still omits what is destroyed or consumed (the link itself), irreversibility of the fund transfer, and any failure behavior.

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 sentences, zero padding, with the core action front-loaded and the auth requirement immediately after. It is efficient, though the terseness pushes information the agent needs (irreversibility, single-use) out of the definition entirely.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter tool with no output schema, the definition covers the action and the key prerequisite. The remaining gap is a short note on what a successful claim returns and that the link is consumed, which matters more here because the annotations flag the call as destructive and non-idempotent.

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?

There is a single parameter with 100% schema description coverage, so the schema already explains that it is the LNURL-withdraw string. The description adds no format, encoding, or validation detail beyond that, which is the baseline expectation at full coverage.

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 uses a specific verb ("Claim") and a specific resource ("funds from an LNURL-withdraw link"), which is far more precise than a generic withdraw. It does not, however, differentiate itself from siblings such as withdraw, claim_promo, or lnurl_auth, so an agent cannot route between them from this text alone.

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: the agent must already hold an LNURL-withdraw string. There is no statement of when to pick this over withdraw or claim_promo, and no note that the link is typically single-use or that claiming the same link twice will fail.

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.