Skip to main content
Glama

Create a payment link for extra requests

buy_bonus_requests

Creates a Stripe-backed payment link for buying N extra API requests (multiples of 1000). The link must be opened and approved by the account owner in a browser - this tool never charges a card by itself.

Input Schema

NameRequiredDescriptionDefault
requestsYesNumber of requests, multiple of 1000

Output Schema

NameRequiredDescriptionDefault
requestsNo
payment_urlYes
amount_centsYes
human_approval_requiredYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only declare the generic mutation profile (readOnlyHint=false, idempotentHint=false). The description adds genuinely new behavioral facts: the charge is handled by Stripe, the tool never charges a card itself, and purchase requires an out-of-band browser approval by the account owner. That is exactly the context an agent needs before calling a payment 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?

Two compact sentences with zero filler; the core action is front-loaded and the clarifying constraint about browser approval follows immediately. Every clause carries information.

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?

With an output schema present, return-value details are unnecessary, and the description covers the mechanics of the purchase well. It is slightly thin on idempotency behavior (calling twice to create multiple links) given idempotentHint=false, but nothing critical to correct invocation is missing.

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 description coverage is 100% and the single parameter already documents 'Number of requests, multiple of 1000' with matching min/max bounds. The description restates the multiple-of-1000 constraint but adds no semantics beyond what the schema provides, so the baseline of 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?

States a specific verb and resource ('Creates a Stripe-backed payment link') plus the scope of what is being bought ('N extra API requests, multiples of 1000'). This is clearly distinguishable from siblings like create_renewal_payment and subscribe_to_plan, which handle different billing flows.

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?

The description implies usage by explaining the flow (link must be opened and approved by the account owner in a browser), but it never states when to choose this over subscribe_to_plan or create_renewal_payment, nor any preconditions such as having usage overages. Guidance is inferable but not explicit.

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