Skip to main content
Glama

Payments

payments
DestructiveIdempotent

For reading use payments_read, which is read-only and needs no approval: "status" here is deprecated (still works). Connects the user's own Stripe account to their app (customers pay the user, never LazyFrog). action "connect" (env): a link for the user to paste a restricted key as STRIPE_SECRET_KEY, with what to tick at Stripe; the key never passes through you. "status" (env): checks the key with Stripe (test or live, restricted or full, the account's country and whether it can take payments) and the webhook; with no working key yet it says Stripe isn't connected and that connect is next. "webhook" (env, path, events, connected_accounts): makes the webhook endpoint on their Stripe account for the environment's address and keeps its signing secret as STRIPE_WEBHOOK_SECRET (replacing one LazyFrog made there before). A test key belongs on preview and a live key on production. Where Stripe isn't available, another provider's keys go in with secrets request (guide topic: payments).

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": {
      "project": "<project>",
      "action": "<action>"
    },
    "name": "payments"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNopreview
pathNowebhook: the app's route, default /api/stripe/webhook
actionYes
eventsNo
projectYesProject slug or id.
connected_accountsNowebhook: for a platform whose own customers are the sellers (Stripe Connect): the endpoint gets their accounts' events, and its signing secret is kept as STRIPE_CONNECT_WEBHOOK_SECRET

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the concrete destructive effect (the webhook action replaces a webhook LazyFrog previously created on the account) and the auth model (the user pastes a restricted key directly, and the key never passes through the agent). It also explains the environment/key pairing constraint, which is the kind of context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The length is defensible for a destructive, multi-action tool, and action names are used as scannable anchors. However, the block is one dense paragraph that front-loads sibling routing ahead of the tool's purpose, and parenthetical asides like '(still works)' and '(env, path, events, connected_accounts)' add bulk without adding meaning.

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 and six parameters, the description covers prerequisites, next steps, key/environment rules, secret handling, and the fallback provider path — enough for an agent to act correctly. The main gap is the events parameter's content and any notion of what a successful connect/status/webhook call leaves behind.

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 50%, so the description must compensate. It supplies real meaning for action (per-action behavior) and env (test vs live key placement), but never explains what events should contain, and its treatment of path and connected_accounts largely restates what the schema already documents. Partial compensation, hence mid-range.

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 the resource and its effect — connecting the user's own Stripe account to their app — and enumerates the three actions (connect, status, webhook) with what each produces. It also explicitly distinguishes itself from the sibling payments_read. It loses a point because the paragraph opens with routing advice rather than the tool's own purpose, so the core statement of intent is buried mid-paragraph.

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 when-to-use and when-not-to-use guidance: reading goes to payments_read, 'status' here is deprecated but functional, status with no working key indicates connect is the next step, test keys belong on preview and live keys on production, and non-Stripe providers are routed to 'secrets' with the payments guide topic. Alternatives and prerequisites are both named, leaving little to inference.

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