Skip to main content
Glama

ringkit_top_up

DestructiveIdempotent

Step 6: Fund the wallet. Add funds (min $10). Returns a checkoutUrl that the human must open and pay (you can't pay), or null when credited immediately (dev). A retried identical call returns the same checkout URL; pass a new idempotencyKey to start a second top-up of the same amount. Identical requests are deduplicated for 24 hours; use a new idempotencyKey only to deliberately repeat the action.

Input Schema

NameRequiredDescriptionDefault
returnToNowallet
businessIdNoDefaults to the business of the API key in the Authorization header.
amountCentsYes
idempotencyKeyNoOptional. Retries of the same call should reuse it (the stored result comes back); a new value deliberately repeats an identical call. The MCP POST's Idempotency-Key header takes precedence.

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?

Beyond the supplied annotations it discloses the asynchronous human-in-the-loop payment flow, the two possible return states (checkoutUrl vs. immediate credit in dev), and a 24-hour dedup window. The money-moving, open-world nature implied by destructiveHint/openWorldHint is made concrete rather than merely restated.

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?

Three dense sentences, front-loaded with purpose and return behaviour before the idempotency detail. The dedup/timestamp sentence partly restates the preceding retry sentence, costing some tightness.

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?

For a payment-initiation tool with no output schema, the description covers return values, human hand-off, and retry/dedup semantics well. It leaves the returnTo routing parameter and currency assumptions unaddressed, which keeps it short of fully complete.

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 50% schema coverage the description meaningfully compensates: it states the $10 minimum for amountCents and explains the deliberate-repeat semantics of idempotencyKey across retries. The returnTo enum (wallet/onboard) is never mentioned in the description and only partially documented in the schema.

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?

Specific verb and resource ('Fund the wallet. Add funds'), with a concrete constraint (min $10) and the exact return shape (checkoutUrl or null). It is clearly distinguishable from read-oriented siblings such as ringkit_get_wallet or ringkit_get_auto_refill.

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?

The 'Step 6' framing and the note that the human must open the URL and pay (the agent can't) give clear situational guidance, plus when to reuse vs. mint a new idempotencyKey. It stops short of naming sibling alternatives like ringkit_get_wallet for balance checks, so it lacks explicit when-not guidance.

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