Skip to main content
Glama

ohmyho.st

Enable or disable auto-recharge

billing_recharge_configure
DestructiveIdempotent

Owner-only: enable or disable automatic off-session payments. Enabling requires active Paid access. Enabling records the Owner's consent to off-session charges of USD 9 plus tax per 1000 top-up credits, which never expire, when credits fall below 100, up to the chosen gross USD monthly limit. Send consent off_session_v1 when enabling; null when disabling. The revision guard is the current auto-recharge configuration revision. Preserve the original idempotency key and payload after uncertainty. A saved Stripe card may require setup_url. Disabling prevents new payment initiation; in-progress payments may finish. This does not create a subscription or Paid access.

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": {
      "idempotency_key": "<idempotency_key>",
      "organization_id": "<organization_id>",
      "enabled": "<enabled>",
      "monthly_limit_minor": "<monthly_limit_minor>",
      "consent": "<consent>",
      "revision": "<revision>"
    },
    "name": "billing_recharge_configure"
  }
}

Input Schema

NameRequiredDescriptionDefault
consentYesExplicit Owner consent when enabling; null when disabling.
enabledYes
revisionYes
idempotency_keyYesIdentifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.
organization_idYes
monthly_limit_minorYesGross USD cents per UTC calendar month including tax.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes far beyond the annotations: it discloses that off-session charges are USD 9 plus tax per 1000 non-expiring credits, trigger below 100 credits up to the gross monthly limit, records Owner consent, and that a saved Stripe card may require a setup_url step. It also explains asymmetry between enabling and disabling ('Disabling prevents new payment initiation; in-progress payments may finish') and instructs preserving the idempotency key and payload after uncertainty, which reinforces the idempotentHint.

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?

Dense but front-loaded: ownership and the enable/disable action come first, pricing and consent terms next, then edge-case behaviour. Nearly every sentence adds operational information, but it reads as one long paragraph without separation of eligibility, parameter guidance, and side effects.

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

Completeness4/5

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

Covers eligibility, consent, revision guard, idempotency recovery, failure edge cases, and what the tool does not do, which is substantial for a money-moving mutation with no output schema. The main residual gap is success behaviour: it never says what a successful call returns or whether the revision changes.

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

Parameters4/5

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

With only 50% schema coverage, the description carries real weight: it clarifies consent values per mode, explains revision as the current auto-recharge configuration revision guard, and stresses idempotency-key/payload preservation. Monthly limit is described as a gross USD monthly cap, though organization_id is left unexplained and setup_url is mentioned despite not being an input parameter.

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 pair (enable/disable) and resource (automatic off-session payments / auto-recharge), with scope constraints (Owner-only, requires active Paid access). It also pre-empts confusion with adjacent billing tools via 'This does not create a subscription or Paid access', which distinguishes it from checkout/subscription flows.

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 conditions: only Owners may call, enabling requires active Paid access, send consent off_session_v1 when enabling and null when disabling, and the revision must be the current configuration revision. It does not explicitly point to a read tool (e.g. the recharge get sibling) for retrieving the current revision, so the agent must infer where that value comes from.

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.