Skip to main content
Glama

escrow_quote

Get an exact Lightning payout quote for escrow release or refund, including payout sats, recommended invoice amount, and accepted min/max invoice range.

Instructions

Payout quote: exact payout sats, recommendedInvoiceSats (create the BOLT11 for this) and the accepted min/maxInvoiceSats range

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": {
      "id": "<id>"
    },
    "name": "escrow_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
destNopayee lightning address or any BOLT11 from the payee wallet, for the exact route-specific amount
pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden, and it does partially discharge it by disclosing the three returned values even though there is no output schema. It does not state that this is a side-effect-free computation, whether it requires auth, or whether the quote expires — meaningful gaps for a quoting 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?

One tight, front-loaded sentence that labels itself as a payout quote before listing returns, with no filler. It is arguably over-compressed, reading like field names rather than explanatory prose.

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

Completeness2/5

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

With no annotations, no output schema, and two of three parameters undocumented, the description should do more than list return fields. It never clarifies the required 'id', the release/refund path semantics, or the relationship to escrow creation/funding, leaving key invocation details to inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%: only 'dest' is documented in the schema, while 'id' (required) and the release/refund 'path' enum are bare. The description mentions no parameters at all and never explains what 'id' identifies or what choosing path=release vs refund changes in the quote.

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 the resource concretely — a payout quote — and enumerates its outputs (exact payout sats, recommendedInvoiceSats, min/maxInvoiceSats range), so an agent knows what the call produces. It stops short of differentiating itself from siblings like escrow_refund_payout or swap_quote, and the verb is only implied by the noun 'quote'.

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 statement of when to call this versus alternatives (escrow_refund_payout, swap_quote) and no preconditions such as requiring an existing escrow. The only guidance is downstream ('create the BOLT11 for this'), which tells the agent what to do with a result rather than when to invoke the tool.

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