Skip to main content
Glama

deposit_lightning

Create a Bitcoin Lightning (bolt11) invoice ($0.005+ / ~5+ sats) to top up your Switch402 agent balance.

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

Input Schema

NameRequiredDescriptionDefault
apiKeyNoOptional ag_live_... key (if not passed in Authorization header)
amountUsdNoDeposit amount in USD (min 0.005, default 0.10)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden and mostly does not meet it. It reveals the minimum amount and rough sats equivalence, but says nothing about invoice expiry, idempotency of repeated calls, whether the apiKey is needed when no Authorization header is present, or what the response contains — and there is no output schema to cover that.

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?

A single front-loaded sentence with no filler; the cost and unit context are packed in efficiently. Slight density of parenthetical detail keeps it from being maximally clean.

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 two-parameter deposit tool with no annotations and no output schema, the definition is adequate to start the flow but incomplete: the agent cannot know what the returned invoice object looks like, how long it is valid, or how to proceed after payment.

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 description coverage is 100%, so both parameters are already documented, and the description largely restates the minimum (0.005) that the schema already states. It adds no new meaning about how amountUsd is rounded or how the apiKey interacts with header auth.

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?

States a specific verb and resource ('Create a Bitcoin Lightning (bolt11) invoice') plus the concrete outcome ('to top up your Switch402 agent balance'), which is enough to separate it from verify_lightning_deposit. It stops short of naming that sibling explicitly, so differentiation relies on the agent's inference.

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 top-up framing implies when to call it (funding an agent balance), but there is no explicit when-not guidance, no mention of the natural follow-on step (verification after payment), and no named alternative.

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.

Resources