Skip to main content
Glama

Remove payments

remove_payments
DestructiveIdempotent

Take payments away from a project: the app can start no new checkout and restarts without its six Stripe variables, its queued Stripe events are dropped, and its webhook path needs sign-in again. A buyer already on a Stripe checkout page can still pay for up to 24 hours, and that order's event no longer reaches the app, so the owner sees it only in their Stripe Dashboard. Payments, customers, and products stay in the owner's Stripe account, and the owner's Stripe connection stays for their other apps. Even when the user asked for it, first reply saying the app stops taking payments, ask them to confirm, and stop; call with confirm: true only after they answer yes. On a team, only a team admin can remove payments. A protected project refuses it: relay the refusal.

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_id": "<project_id>"
    },
    "name": "remove_payments"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNotrue only after the user agreed: the app stops taking payments
project_idYesthe id of the project

Output Schema

NameRequiredDescriptionDefault
envNo
modeNo
noteYes
statusYes
project_idYes
connect_urlNo
webhook_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true, and openWorld=true, so the description's job is to say what is destroyed and what survives — and it does: the six Stripe variables are removed, queued Stripe events are dropped, the webhook path requires sign-in again, while payments/customers/products and the Stripe connection for other apps remain. It even discloses the 24-hour window in which a buyer mid-checkout can still pay and that the resulting order event will not reach the app. This is well beyond the annotation baseline; only the absence of any note on the output shape keeps it from the top.

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?

Information is front-loaded — consequences first, then the confirmation protocol, then the permission and protection caveats — and every sentence carries operational weight. It is dense and the first sentence is a long run-on of comma-linked clauses, so it is slightly harder to parse than it needs to be.

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?

For a destructive, permission-gated mutation this covers the outcome, retained side effects, downstream consequences for in-flight buyers, confirmation protocol, authorization, and refusal handling; an output schema exists so return values need not be explained. Nothing material an agent needs before calling 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%, so baseline is 3, but the description adds procedural meaning to confirm (it is the gate that may only be set after an explicit yes from the user) and clarifies that project_id refers to a project that can be admin-restricted or protected. That is real added semantics rather than a restatement of the schema text.

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?

Names a specific verb and resource ("Take payments away from a project") and implicitly distinguishes itself from the sibling add_payments by framing removal rather than addition. The opening clause plus the enumerated consequences make the operation unambiguous before any schema is opened.

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?

Gives explicit when-to-use sequencing: never call immediately, first reply that the app stops taking payments, ask the user to confirm, and stop; only then call with confirm: true. It also states two gating conditions — team admin required on a team, and protected projects refuse with the refusal to be relayed — which are exactly the conditions an agent needs before invoking.

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.