Skip to main content
Glama
qaimos

StoreShots

Get a payment link for credits

buy_credits

Create a Stripe Payment Link for a selected credit pack, personalized to the API key; users pay in their browser and credits are added after payment.

Instructions

Return the Stripe Payment Link for a credit pack, personalised for this API key (client_reference_id + prefilled email). Nothing is charged by this tool — give the link to the user to pay in their browser; credits are added automatically after payment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packYesPack id from get_balance (starter = 10 sets for $3, pro = 20 sets for $5).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and openWorldHint=true, which alone would leave ambiguity about side effects. The description resolves this by stating the tool charges nothing itself and that fulfillment happens after payment in the browser. It doesn't cover link expiration or idempotency, but the key behavioral question is answered.

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?

Two sentences, front-loaded with what is returned, followed by the operational caveat and post-payment flow. Zero filler.

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

Completeness5/5

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

With no output schema, the description must convey the return value, and it does ('the Stripe Payment Link... personalised for this API key'). Combined with the schema's pointer to get_balance for valid pack ids and the explanation of what happens after payment, an agent has everything needed to call and use this tool.

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% and the single 'pack' parameter is fully documented with concrete pack ids and prices. The description adds nothing about the parameter itself (its personalization detail concerns the returned link), so this is the baseline 3.

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 description states a specific verb and resource ('Return the Stripe Payment Link for a credit pack') and adds the personalization scope (client_reference_id + prefilled email). No sibling tool produces payment links, so it is trivially distinguishable from list_styles, get_balance, etc.

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?

It gives clear operating context: nothing is charged by this tool, the link is meant to be handed to the user to pay in their browser, and credits land automatically afterward. There is no competing alternative to route against, so explicit exclusions are unnecessary; only error/retry guidance is absent.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.