Skip to main content
Glama

keysend

Destructive

Send a payment directly to a node without an invoice (keysend/spontaneous payment). Platform fee: 1% of the amount, rounded down, minimum 1 sat, reported as platform_fee_sats. 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": {
      "destination": "<destination>",
      "amount_sats": "<amount_sats>"
    },
    "name": "keysend"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageNoOptional TLV message
amount_satsYesAmount in satoshis
destinationYesDestination node public key

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructive, non-idempotent, open-world behavior, so the description is not obligated to restate risk. It usefully adds the cost model (1% fee, rounded down, minimum 1 sat) and the agent-key auth requirement, both of which materially affect the decision to call it. It stops short of saying the payment is irreversible or what happens if the destination is offline.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the core action, followed by cost and then the auth prerequisite. No filler or repetition.

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 destructive, irreversible money-moving tool with no output schema, the description covers cost and auth well but omits the balance/sufficient-funds precondition, the irreversibility of a sent payment, and what the response contains beyond platform_fee_sats (e.g., preimage/payment hash).

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%, so the schema already documents destination, amount_sats, and message. The description adds only indirect meaning by tying amount_sats to a percentage fee. Baseline 3 is appropriate since the schema carries the parameter documentation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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 ('Send a payment directly to a node without an invoice') and disambiguates the mechanism with 'keysend/spontaneous payment', distinguishing it from invoice-based siblings like create_invoice or decode_invoice. An agent can tell immediately what this does.

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?

The phrase 'without an invoice' implicitly signals that this is the route to take when no invoice exists, and 'REQUIRES AGENT KEY' states a precondition. However, no sibling is named as the alternative, and there is no guidance on balance requirements, minimum channel capacity, or failure handling.

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.