Skip to main content
Glama

walletmcppass: Apple Wallet passes

Buy Apple Wallet pass credits by card

buy_pass_credits

Start a card payment for prepaid pass credits, for users without an x402 crypto wallet.

Packs: "100" (100 passes for $1), "500" (500 for $5), "2000" (2000 for $20). Nothing is charged
by this call: it returns a checkout_url that the user opens and pays themselves. Only call it
when the user asked to pay by card or agreed to buy a pack.

Args:
    pack: "100", "500" or "2000".
    contact_email: the user's email; the checkout and receipt use it. Ask the user for it.
    credit_key: to top up an existing credit_key; leave out to get a new one.

Returns {credit_key (new keys only: shown once, give it to the user to keep), checkout_url,
pack, credits_left, next_steps}. Credits are added within a minute of payment; then pass
credit_key to create_wallet_pass or update_wallet_pass.

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": {
      "pack": "<pack>",
      "contact_email": "<contact_email>"
    },
    "name": "buy_pass_credits"
  }
}

Input Schema

NameRequiredDescriptionDefault
packYes
credit_keyNo
contact_emailYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations, it discloses that no charge occurs in this call, that a checkout_url is returned for the user to pay, when credits are applied, and that new credit keys are shown once. These details materially affect how an agent should instruct the user.

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?

The description is front-loaded and organized with Args/Returns sections. It is a bit dense but every line conveys operational detail needed to invoke and interpret the result correctly.

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?

There is no output schema, so the return-value summary is important and included. The description covers the payment flow, key lifecycle, timing, and next steps well enough for an agent to use the tool safely.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must carry parameter meaning. It does so for all three parameters: pack values with prices, contact_email purpose and need to ask the user, and credit_key used only for topping up an existing key.

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 action (start a card payment for prepaid pass credits) and a precise audience/scope (users without an x402 crypto wallet). It is immediately distinguishable from the sibling wallet-pass tools.

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?

It gives explicit call conditions: only when the user asked to pay by card or agreed to buy a pack. It also distinguishes the crypto-wallet path from this card-payment path.

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