Skip to main content
Glama

downgrade_addon

Destructive

Schedule a tier downgrade for a non-stackable add-on (RPM tier). The current tier stays active until nextRenewalAt; at that point the lower tier is charged and activated. No mid-cycle charge. Use list_addons to find available keys. Returns {addonKey, targetAddonKey, project, effectiveAt}. Owner-only. Requires the manage:billing scope.

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": {
      "addonKey": "<addonKey>",
      "targetAddonKey": "<targetAddonKey>"
    },
    "name": "downgrade_addon"
  }
}

Input Schema

NameRequiredDescriptionDefault
addonKeyYesCurrent active add-on key to downgrade from.
targetAddonKeyYesTarget (lower) add-on key to downgrade to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well past the annotations by disclosing billing timing (current tier active until nextRenewalAt, no mid-cycle charge), the authorization model (owner-only, manage:billing scope), and the exact return shape. This meaningfully de-risks a destructiveHint=true mutation that the annotations alone would only flag as dangerous.

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

Conciseness5/5

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

Five short sentences, front-loaded with the operation and consequence, then prerequisites, then return shape. No filler, no restatement of the name, and each sentence carries distinct information.

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?

Though there is no output schema, the description inlines the return object fields, and it covers timing, cost impact, permissions, and prerequisites for a two-parameter destructive billing mutation. Nothing an agent needs to call this 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%, so the baseline is 3; the description earns above that by clarifying that addonKey is the currently active key and targetAddonKey must be a lower tier, plus pointing at list_addons for valid keys. It could still note whether keys are RPM-specific strings or whether project is inferred, but the added meaning is real.

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 and resource ('Schedule a tier downgrade for a non-stackable add-on (RPM tier)') and constrains it to the non-stackable case, which distinguishes it from subscribe_addon/resume_addon/unsubscribe_addon in the sibling list. An agent can identify the operation and its scope without reading the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete routing guidance by naming list_addons as the way to discover valid keys, and the word 'downgrade' plus the 'target (lower)' framing implicitly separates it from subscribe/add flows. It does not state explicit when-not conditions (e.g., what to do if the add-on is stackable or the target is higher), so it stops short of full routing coverage.

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