Skip to main content
Glama

parcelapi.net

buy_credits

Create a Stripe Checkout link to buy a credit pack (see list_credit_packs). A human must open the link and pay; this tool charges nothing. With an API key, the credits go to that key. Without a key, a new key is created after payment: call claim_api_key with the returned session_id to receive it (once).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

No annotations exist, so the description carries the full burden and does so well: it discloses that the tool itself charges nothing, that a human must complete payment out-of-band, how credits are routed (to the API key, or to a newly created key), and that key claiming happens only once. These are non-obvious side effects an agent could not infer from the schema.

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?

Four tight sentences, each front-loaded with the decision-relevant fact (link creation, who pays, key routing, follow-up call). Nothing is filler and the workflow order matches how an agent would execute it.

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 no output schema, the description still covers the essential return artifacts (the link and the session_id) and the post-payment claim step. It stops short of describing failure modes such as an invalid pack or an already-claimed session, which would help a fully autonomous agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single 'pack' parameter, so the description must compensate. It does so partially by directing the agent to list_credit_packs for valid pack values, which is the key semantic an agent needs, though the exact pack identifier format is not stated.

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+resource ('Create a Stripe Checkout link to buy a credit pack') and immediately differentiates from siblings by pointing at list_credit_packs for pack selection and claim_api_key for the follow-up. An agent can distinguish this from get_credit_balance and list_credit_packs without opening any schema.

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

Usage Guidelines5/5

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

Explicitly tells the agent the workflow: consult list_credit_packs to choose a pack, a human must open the link to pay, and if no API key exists the agent must call claim_api_key with the returned session_id (once). It names both alternative tools and the exact conditions that select them.

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