Skip to main content
Glama

Turn automatic top-ups on or off

set_auto_topup
Idempotent

COSTS MONEY: Turn automatic top-ups on or off

When the minutes or conversations already paid for run low, the amount set here is bought again automatically: from your prepaid euro balance, and when the balance is not enough your stored card is charged (at least 5 euro). Not during a trial. Turning it on needs a default card (see list_payment_methods): without one it is refused with 400 and details.reason NO_CARD; turning it off or changing the amounts always works.

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": {
      "body": "<body>"
    },
    "name": "set_auto_topup"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe request fields as one JSON object.
confirmNoLeave out on the first call. EchoCall then answers with a confirmation value. Ask the user for a clear yes, then repeat the call with the same arguments and this value.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false) by disclosing the financial consequence: charges hit the prepaid euro balance first, then the stored card with a minimum of 5 euro. It also documents the failure mode precisely (400 with details.reason NO_CARD when no default card exists) and the asymmetry that disabling or changing amounts always succeeds — exactly the operational knowledge an agent needs before spending money.

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?

The 'COSTS MONEY:' lead is front-loaded and immediately flags the highest-risk property, followed by mechanism, preconditions, and error behavior in a logical order. The single dense paragraph is slightly heavy but every sentence carries distinct information; nothing is decorative.

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 mutating billing tool with no output schema, the description covers the money flow, trial exclusion, prerequisite, error contract, and enable/disable asymmetry — everything an agent must know to call it safely. Nothing material is left to inference.

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 the schema already documents body fields, amountChat/amountVoice, and the confirm echo flow. The description adds semantic meaning to the amounts ('the amount set here is bought again automatically'), but says nothing about the chat/voice booleans or the confirm protocol beyond what the schema states. Baseline 3 is appropriate.

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 ('Turn automatic top-ups on or off') and immediately explains the mechanism: re-buying the configured amount of minutes/conversations when the paid allowance runs low. An agent can distinguish this from billing siblings like set_default_payment_method because the description frames it as a recurring auto-purchase toggle tied to a prepaid balance and stored card.

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

Usage Guidelines4/5

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

Gives clear context for when the feature activates (allowance running low, not during trial) and points to `list_payment_methods` as the prerequisite for enabling. There is no explicit 'use X instead' routing, but the operational conditions and the asymmetry between enabling and disabling are spelled out.

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.