Skip to main content
Glama

Set auto-refill

ringkit_put_auto_refill
Destructive

Step 6: Fund the wallet. Turn auto-refill on or off and set its threshold and amount. It may be enabled before a card is saved; refills start once the human saves one in the dashboard. Reuse an idempotencyKey when retrying; without one, each call executes again.

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": {
      "enabled": "<enabled>",
      "thresholdCents": "<thresholdCents>",
      "amountCents": "<amountCents>"
    },
    "name": "ringkit_put_auto_refill"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYes
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.
thresholdCentsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: enabling before a card is saved is safe and defers refills, and omitting an idempotency key means each call executes again — actionable mitigation for idempotentHint=false. It does not address what destructiveHint=true means here (i.e., that existing threshold/amount values are overwritten).

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 short sentences, front-loaded with the step position and the core action, then prerequisites, then retry mechanics. No filler, though the 'Step 6' framing is contextual rather than strictly necessary.

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 five-parameter destructive write with no output schema, the description covers prerequisites, side effects (deferred refills), and retry behavior adequately. It leaves unstated what disabling does to stored threshold/amount values, which an agent might need when calling with enabled=false.

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?

With only 40% schema description coverage, the description must carry weight; it names threshold and amount and explains the idempotencyKey retry semantics, matching the schema's own note. It adds nothing about the enabled flag or businessId defaulting beyond what the schema already documents, and does not clarify unit/range expectations for the cents fields.

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?

'Turn auto-refill on or off and set its threshold and amount' is a specific verb-plus-resource statement that separates it from the read-only ringkit_get_auto_refill sibling by implication (it sets, the other gets). The 'Step 6: Fund the wallet' prefix adds onboarding position but no additional purpose detail.

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 timing context (step 6 of the setup flow) and an explicit edge case: it can be enabled before a card exists, with refills starting only after the human saves a card. It also instructs on retries. It stops short of naming an explicit alternative or stating when not to call it.

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