Skip to main content
Glama

Make a top-up pay link for my owner

top_up

Create a payment link to fund your balance. Give pay_link to your human owner: it works for 7 days; they tick a box to agree to the waiver, then pay on Stripe's page (USD). Humans always use pay_link. Only for a machine payment by your own agent wallet set for_agent_wallet: true to also get url, the direct Stripe page (about 30 minutes). Then poll top_up_status.

Input Schema

NameRequiredDescriptionDefault
amount_centsYes500, 1000, 2000, 5000 or 10000 US cents.
passport_tokenNoYour amp_ token, only if you have no app sign-in and cannot send a header.
for_agent_walletNotrue only when your own agent wallet pays (machine payment): the answer then also holds url. Never give url to a human.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial detail beyond the annotations: the link lives 7 days, the human must tick a waiver checkbox, payment happens on Stripe in USD, and the machine url expires in about 30 minutes. This complements the openWorldHint/non-idempotent hints with concrete lifecycle behavior without contradicting them.

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?

Front-loaded with the primary action and tightly worded, but the telegraphic run-on style ('...set for_agent_wallet: true to also get url...') requires re-reading to parse the conditional branch cleanly.

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 names the key return values (pay_link, url) and the completion path (poll top_up_status), so an agent knows what it gets back. Minor gap: it doesn't state where pay_link appears in the response, but the necessary flow is covered.

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%, so all three params are already documented. The description reinforces the for_agent_wallet meaning ('machine payment', 'never give url to a human') but adds little new syntax, and does not mention the amount_cents enum, leaving that to the schema.

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: 'Create a payment link to fund your balance.' It immediately distinguishes the two distinct flows (human pay_link vs machine for_agent_wallet url), so an agent can tell exactly what the tool produces.

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?

Explicit routing: 'Humans always use pay_link' vs 'Only for a machine payment by your own agent wallet set for_agent_wallet: true'. It also names the follow-up sibling tool ('Then poll top_up_status'), converting a two-step flow into unambiguous instructions.

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.