Skip to main content
Glama
anythink-cloud

Anythink-MCP

Official

Pay: plans update

pay_plans_update
Destructive

Update a subscription plan, keeping omitted fields unchanged. Toggle active or inactive to show or hide it in the plan picker; price changes apply to new sign-ups. Confirm before applying.

Instructions

Update a subscription plan (any --flag overrides; unset = keep). Changes a subscription plan; omitted fields keep their current values, and active or inactive shows or hides it from the plan picker. Changing the amount, currency or interval points the plan at a new Stripe price for new sign-ups; existing subscriptions keep their old price. Prefer inactive over pay_plans_delete. It changes or deletes existing data, so check with the user before running it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesPlan id to update. Find it with pay_plans_list.
nameNoDisplay name shown to subscribers
typeNoPlan type (create default: web; update keeps the current value)
activeNoMark the plan active
amountNoRecurring amount (decimal, in the plan's currency)
currencyNoCurrency code (create default: gbp; update keeps the current value)
inactiveNoMark the plan inactive (hidden from picker)
intervalNoBilling interval: day, week, month, year (create default: month; update keeps the current value)
plan_nameNoInternal plan identifier (e.g. "trial", "monthly", "annual")
referenceNoInternal reference / external id (optional)
tier_rankNoPlan tier rank (update keeps the current value)
trial_daysNoTrial period length in days (optional)
descriptionNoDescription
product_nameNoStripe product display name (optional, defaults to Name)
interval_countNoNumber of intervals per billing cycle (create default: 1; update keeps the current value)
apple_product_idNoApple App Store product id for this plan (optional)
product_descriptionNoStripe product description (optional)
apple_subscription_group_idNoApple subscription group id (optional; auto-filled on first verify)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.37

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds real substance on top: omitted fields keep current values, active/inactive controls plan-picker visibility, and changing amount/currency/interval repoints the plan to a new Stripe price for new sign-ups while existing subscriptions keep the old price. It does not say whether the change is reversible or what the response returns, but for an update tool the mutation consequences are well disclosed.

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 opening two clauses are near-duplicates — 'any --flag overrides; unset = keep' and 'omitted fields keep their current values' say the same thing — which is wasted space in an otherwise dense paragraph. The destructive warning is correctly placed at the end where it is likely to be read.

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 an 18-parameter destructive mutation with no output schema, the description covers the update-vs-create semantics, the picker visibility effect, the Stripe price side effect, and the delete alternative. Nothing an agent needs before calling it 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 description coverage is 100% across 18 params, so the baseline is 3 and each field is already documented. The description still adds a cross-cutting rule the schema only states per-field ('any --flag overrides; unset = keep'), clarifying the patch semantics for all 18 parameters at once.

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+resource ('Update a subscription plan') and immediately scopes it to the update semantics (any --flag overrides; unset = keep), which cleanly separates it from pay_plans_create and pay_plans_delete in the sibling list. The Stripe-price side effect is also named, so the agent knows this is not a plain field patch.

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 routes the agent away from a sibling: 'Prefer inactive over `pay_plans_delete`.' It also states a precondition for invoking it at all ('check with the user before running it'), so both when-to-use and when-to-prefer-an-alternative are covered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools