Buy question credits (Stripe)
buy_creditsReturns a Stripe Checkout URL for a credit pack. The operator pays; credits land on the api_key automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pack | No | pack_5 | |
| api_key | Yes |
buy_creditsReturns a Stripe Checkout URL for a credit pack. The operator pays; credits land on the api_key automatically.
| Name | Required | Description | Default |
|---|---|---|---|
| pack | No | pack_5 | |
| api_key | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare a non-read-only, non-destructive, open-world, idempotent operation. The description adds genuinely useful behavior the annotations do not convey: the tool returns a checkout URL rather than charging directly, the operator is the payer, and credits are applied to the api_key automatically. It omits what happens if the URL is unused or whether URL expiry/rate limits exist.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two tight sentences with no waste; the core outcome (returns a Checkout URL) is front-loaded and the follow-on effect (credits on api_key) is second.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema exists, and the description does cover the return value (a Stripe Checkout URL) and the post-payment effect. For a two-parameter purchase tool with annotations covering the safety profile, the main remaining gap is the meaning of the pack tiers and any failure/expiry behavior.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must carry the load. It clarifies api_key's role (the key credited after payment), which the schema only shows as a bare string. The pack parameter is never explained beyond the self-describing enum values pack_5/pack_20/pack_100 — no statement of what a pack contains or that the default is pack_5.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource: returns a Stripe Checkout URL for a credit pack, plus the payment flow (operator pays, credits land on the api_key). This clearly separates it from sibling tools like subscribe or request_refund, though it never names those alternatives explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains the mechanics but gives no when-to-use guidance: nothing about when an agent should buy credits versus calling subscribe, request_refund, or check_human_status for balance. Usage is only implied by the tool name and the word 'credit pack'.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.