Skip to main content
Glama

purchase_credits

Create a 5€ / 500-credit pack (Mollie checkout, or x402 if PAYMENT-SIGNATURE is sent). Poll get_purchase for the API key.

Input Schema

NameRequiredDescriptionDefault
redirect_urlNoMollie redirect after payment

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the full load, and it does disclose price (5€), credit quantity (500), the two payment mechanisms, and that the operation is asynchronous requiring polling. It omits failure/repeat-call behavior — whether a second call charges again, whether the pack expires, or what the caller holds while waiting.

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?

Two tight sentences, front-loaded with the price and mechanism, then the follow-up action. No filler, though the parenthetical payment branch is dense enough to require a second read.

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

Completeness3/5

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

For a payment-creating, async tool with no output schema and no annotations, the description covers the flow but never states what the call returns (checkout URL, payment id, or nothing). An agent knows what to do next but not what it receives.

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% for the single redirect_url parameter, so the baseline is 3. The description could have added that redirect_url only applies to the Mollie branch and is irrelevant to the x402 flow, but it says nothing about the parameter.

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?

States a specific verb and resource: creating a 5€ / 500-credit pack, with the two payment rails named. An agent can tell it apart from get_free_key. The only fuzziness is the word 'pack', which is never defined as a purchasable unit.

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

Usage Guidelines3/5

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

It gives a clear follow-up path ('Poll get_purchase for the API key') and a conditional branch (x402 if PAYMENT-SIGNATURE is sent), which is real usage guidance. It never says when to prefer this over get_free_key, nor what to do if checkout is abandoned or payment fails.

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