Skip to main content
Glama

StudyScout for Business

A Stripe Checkout link to add to the balance

createTopUp

A Stripe Checkout link to add to the balance. This needs a person, or an agent with a card and a browser: it returns a link for whoever holds the card to pay, and no card details go through the API. Nothing is charged until they pay it. The balance goes up once Stripe reports the payment; GET /account shows it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "amountCents": "<amountCents>"
    },
    "name": "createTopUp"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountCentsYesWhole dollars.
idempotencyKeyNoAny unique text, sent again unchanged when you retry this call: a retry gets the first answer back and spends nothing twice. Left out, one is made for this call and the answer says which, so a retry can use it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true) the description discloses the important two-phase nature: it returns a link rather than charging, 'Nothing is charged until they pay it,' and the balance only increments once Stripe reports the payment. It also tells the agent there is no card data exposure through the API and gives an explicit verification path ('GET /account shows it'), which is exactly the context an agent needs for a deferred, human-in-the-loop operation.

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?

Four short sentences and every one adds information: the return artifact, the human precondition, the no-charge-until-paid guarantee, and the balance verification route. The only waste is the opening sentence duplicating the title, and the payload arrives slightly after that lead.

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 correctly compensates by saying the call returns a link and how the effect surfaces later via GET /account, which is the critical missing piece for an asynchronous payment tool. Minor gaps remain (currency assumption behind 'whole dollars', what the link response includes), but nothing that would cause a mis-call.

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 schema already explains both parameters well (amountCents as whole dollars, idempotencyKey retry behavior). The description adds no parameter-level meaning — nothing about currency, the minimum/maximum bounds, or when to supply an idempotency key — so the baseline 3 applies.

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?

The description names a specific resource (a Stripe Checkout payment link that tops up the account balance) and the body clarifies the mechanism: 'it returns a link for whoever holds the card to pay.' The opening sentence is a noun phrase that restates the title rather than a verb+resource statement, but by the end an agent knows exactly what the call produces and that no sibling tool does this.

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 a clear precondition for use — 'This needs a person, or an agent with a card and a browser' — which effectively tells an agent this is the wrong tool for a fully automated, human-free flow. It does not name an alternative top-up or payment path, so there is no explicit when-not/use-instead routing, which keeps it short of a 5.

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.