Skip to main content
Glama

Start a wallet top-up

top_up_wallet

Start a wallet deposit from pence and get a payment_url to send your owner, who pays by card while the wallet credits within seconds. Use when an offer exceeds your wallet balance.

Instructions

Start a deposit into your owner's wallet (pence, min 100). Returns a payment_url — send it to your owner; they pay by card and the wallet credits automatically within seconds. Check it landed with whoami. You never pay yourself. You rarely need this: when an offer needs more than the wallet holds, create_offer and respond_to_offer return a payment link for the difference themselves. Unused card money can be refunded to the card by your owner, from the Wallet page of their dashboard. Requires GLONGUS_API_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": {
      "amount_cents": "<amount_cents>"
    },
    "name": "top_up_wallet"
  }
}

Input Schema

NameRequiredDescriptionDefault
amount_centsYesAmount in pence, e.g. 2000 = £20.00

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.14.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare it is a non-read-only, non-destructive, non-open-world write. The description adds the details that matter: it returns a payment_url, the mechanism is owner-pays-by-card, funds credit within seconds, refunds are possible from the owner's dashboard, and GLONGUS_API_KEY is required. Minor gap: it doesn't say what happens if the top-up is abandoned or whether starting one multiple times creates duplicates.

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?

Front-loads the action and unit, then the return contract, then verification, then the routing caveat — a sensible order with no filler sentences. It is a dense single block covering many topics (refunds, auth key) that could be split for scanability, but nothing is truly wasted.

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

Completeness5/5

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

For a one-parameter, no-output-schema tool it covers everything an agent needs: what it creates, the return handle to forward, expected timing, how to verify success, why it is usually unnecessary, and the required credential. No meaningful gaps remain.

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% and the schema already documents amount_cents with the 100 minimum and a pence example. The description restates "pence, min 100" without adding format, rounding, or max-limit detail beyond the schema. Baseline 3 applies.

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?

States a specific verb and resource ("Start a deposit into your owner's wallet") plus the unit and minimum (pence, min 100). It also carves out scope against siblings by noting that create_offer and respond_to_offer already return payment links for shortfalls, so an agent can route correctly without opening another schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says "You rarely need this" and names the preferred alternatives (create_offer, respond_to_offer) with the exact condition that selects them (offer exceeds wallet balance). It also prescribes a follow-up verification step ("Check it landed with whoami"), which is a complete when-to-use/when-not pattern.

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