Skip to main content
Glama

manage_subscription

Idempotent

Use this tool to check the user's subscription status, retrieve pricing and payment links for new subscriptions, or generate a secure Stripe portal link for the user to update their credit card or cancel an active subscription. This is the only way to pay, upgrade to Pro, buy or change a plan: the wa-mcp.com website has no account or login, and creating a new key there doesn't pay for the number already linked. Also use it when the user wants to remove the "Sent via wa-mcp.com" label from their messages or unlock paid features (sending files, posting to their WhatsApp status, opening received files, scheduling, and editing, reacting to and deleting messages): without a subscription they are on the free plan. If the user has a team plan code from their company, pass it as team_code to move this number onto the company's plan; the user's own subscription, if any, then stops renewing. Teams of 10+ people can ask wa-mcp support for a team plan.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "manage_subscription"
  }
}

Input Schema

NameRequiredDescriptionDefault
team_codeNoOptional. A team plan code the user got from their company's admin (e.g. "ACME-7Q2X"). Only pass it when the user gives one. Without it, the tool just shows the plan.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / team_code
      Added value: +{
      +  "description": "Optional. A team plan code the user got from their company's admin (e.g. \"ACME-7Q2X\"). Only pass it when the user gives one. Without it, the tool just shows the plan.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only mark this as non-read-only, idempotent, and non-destructive; the description adds the substantive behavior — directing the user into a Stripe portal, free-plan limits on specific features, and that passing a team code moves the number onto the company plan and stops the user's own subscription from renewing. It does not describe what the call actually returns (e.g. whether a payment link or portal URL is produced and when), which matters for a billing tool with no output schema.

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 core call to action (this is the only way to pay) is front-loaded, and the free-plan feature list and team-code instructions follow logically. It is dense and somewhat run-on, with mild redundancy between the 'only way to pay/upgrade' statement and the free-plan explanation, but no sentence is filler.

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?

For a one-optional-parameter tool with no output schema and sparse annotations, the description covers purpose, triggers, side effects, and team-plan semantics well. The remaining gap is transactional detail: whether the call itself charges anything or only returns links, and what the caller should expect back.

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 the baseline is 3, and the description genuinely adds meaning beyond the schema by explaining the consequence of `team_code`: the number joins the company plan and the user's personal subscription stops renewing. It also clarifies that omitting the code simply shows the current plan.

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 three concrete operations (check subscription status, fetch pricing/payment links, generate a Stripe portal link) and states it is the only path to pay or change plans. The only blur is that the same tool serves several modes without saying how a caller selects among them, since the single `team_code` parameter does not act as a mode switch.

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 triggers: use it for status checks, for paying/upgrading, for canceling or updating a card, for removing the 'Sent via wa-mcp.com' label, and for unlocking named paid features. It also pre-empts the obvious alternative by explaining that the website has no account and creating a new key does not pay for the existing number.

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.