Skip to main content
Glama

Payment methods create

payment_methods_create

Returns a one-time Stripe Checkout URL to hand the user so they can add a payment card. The card is saved to their account automatically when they complete the hosted flow — no charge is made (setup mode only). Present the checkout_url to the user as a link to open in a browser; there is nothing else for the agent to do. Buyer principals only. Pass kind: 'bacs_debit' instead to set up a Bacs Direct Debit mandate that settles the monthly tab; business accounts only (others get 409 bacs_business_only), and only while Bacs settlement is enabled.

Input Schema

NameRequiredDescriptionDefault
kindYesWhat to set up: a payment card (the default), or a Bacs Direct Debit mandate. Direct Debit is for business accounts only and settles the monthly tab.card

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / kind
      Added value: +{
      +  "default": "card",
      +  "description": "What to set up: a payment card (the default), or a Bacs Direct Debit mandate. Direct Debit is for business accounts only and settles the monthly tab.",
      +  "enum": [
      +    "card",
      +    "bacs_debit"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "kind"
      +]
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses setup-mode-only (no charge), automatic card saving on completion, a one-time URL that must be opened in a browser, and the 409 bacs_business_only failure mode. These are side effects and constraints an agent could not infer from readOnlyHint/destructiveHint alone.

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 return value and the required agent action, and every sentence carries information. The density of parentheticals in the final sentence is the only minor readability cost.

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?

No output schema exists, and the description still names the return field (checkout_url) and explains the agent's next step. It also covers eligibility and error behavior, so nothing an agent needs to call it correctly is missing.

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 coverage is 100% and the enum is already documented, but the description adds real meaning: 'card' is the default and 'bacs_debit' sets up a mandate that settles the monthly tab, business accounts only. It doesn't add format or syntax details, but none are needed for a single enum.

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 concrete verb and resource: returns a one-time Stripe Checkout URL so the user can add a card, and also covers the Bacs mandate variant. It is clearly distinguishable from the sibling payment_methods_list and from purchase_* intent 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?

Explicitly instructs the agent to hand the checkout_url to the user and says 'there is nothing else for the agent to do', with clear eligibility rules (buyer principals only; business accounts only for Bacs, and only while Bacs settlement is enabled).

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.