Skip to main content
Glama

vibedgames

Buy credits

credits_buy

Starts a card payment for amountUsd of generation credit and returns a hosted checkout URL for a person to open. The credit lands once the payment clears, usually within seconds of paying. 412 while card purchases aren't open (purchasesEnabled is false on credits.me).

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": {
      "amountUsd": "<amountUsd>"
    },
    "name": "credits_buy"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountUsdYesWhole dollars of credit to buy, 5–500. One dollar paid is one dollar of credit.

Output Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The annotations only declare this is not read-only and is open-world; the description adds real substance on top: the call blocks on an external human action, the credit is not granted immediately but 'lands once the payment clears,' and there is a specific 412 failure mode tied to a named flag. What it does not cover is what happens to an abandoned or expired checkout URL, which matters for an open-world purchase tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the action and return value, then the settlement timing, then the error condition. Every sentence carries distinct information and nothing is padded.

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?

Return values need little explanation given an output schema exists, and the description still characterizes the most important return element (the hosted checkout URL). Together with settlement timing and the 412 condition, the agent has what it needs to call this correctly; only edge cases like URL expiry or auth requirements are unstated.

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%: the single parameter already documents whole dollars, the 5–500 bound, and that one dollar equals one dollar of credit. The description's phrase '`amountUsd` of generation credit' restates that equivalence rather than adding new meaning, so the schema is doing the work and the 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?

The definition names a specific verb and resource ('Starts a card payment for `amountUsd` of generation credit') and states the concrete outcome ('returns a hosted checkout URL for a person to open'). That immediately separates it from a redemption flow, since the agent knows this initiates an external, human-completed payment rather than an internal credit grant.

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 description conveys the operative precondition — card purchases require `purchasesEnabled` to be true, otherwise the call returns 412 — which tells the agent when the tool is usable. It also signals that a person must open the URL to complete the flow, shaping when this is appropriate. It stops short of explicitly stating an alternative path for obtaining credits without a card payment.

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.