Skip to main content
Glama

get_deposit_invoice

Create a Lightning invoice to fund your operator account. Pay this invoice to add sats to your balance.

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": {
      "amount_sats": "<amount_sats>"
    },
    "name": "get_deposit_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
amount_satsYesAmount in satoshis to deposit (minimum 10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / amount_sats / description
      Previous value: -"Amount in satoshis to deposit"New value: +"Amount in satoshis to deposit (minimum 10)"
    • changedInput schema / properties / amount_sats / minimum
      Previous value: -100New value: +10
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false, so the safety profile is covered. The description adds useful workflow context (the invoice must be paid before funds arrive), but omits expiry, one-time-use, and whether calling it repeatedly produces distinct invoices.

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, front-loaded with the action and followed by the payoff condition. There is mild redundancy between 'fund your operator account' and 'add sats to your balance,' but no wasted text.

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?

The tool is simple and its single parameter is fully documented, but there is no output schema, so the description should say what comes back (invoice string, payment hash, expiry) and how to confirm payment. That gap leaves the agent unable to handle the response without trial and error.

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?

Only one parameter exists and the schema documents it at 100% coverage, including the minimum of 10 sats. The description adds nothing about the amount beyond the schema, 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?

The description names a concrete action and resource: creating a Lightning invoice that funds the operator account. The 'deposit' framing distinguishes it conceptually from the generic create_invoice sibling, though the description never explicitly contrasts the two.

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 implied rather than stated: 'Pay this invoice to add sats to your balance' tells the agent what to do with the result, which effectively signals when to call it. There is no explicit guidance on when not to use it, no mention of checking payment via get_invoice_status, and no note about invoice expiry or single-use behavior.

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.