Skip to main content
Glama

downgrade_plan

⛔ RETIRED PLAN SYSTEM — not Dock's pricing, and it does not change your human's per-person plan or credits. Schedules the caller's ORG to drop from a retired org plan (Pro or Scale, which only set resource caps) to Free at the end of the current billing period; the org keeps those caps until then. No-op when already on Free. Consent-gated. Two consent surfaces, you pick via mode: (1) chat (default): FIRST call returns { status: 'confirmation_required', confirm_token, message, expires_in }; surface to your user and re-call within 60s with confirm_token set. (2) web: FIRST call returns { status: 'approval_required', approval_url, polling_url }; print approval_url in chat, user clicks + approves, then poll polling_url for the result. If you are a Dock agent, the downgrade returns the web approval for the org owner to approve; mode and confirm_token are ignored.

Input Schema

NameRequiredDescriptionDefault
modeNoConsent surface. 'chat' (default) uses the in-chat confirm_token round-trip. 'web' returns an approval_url the user clicks in a browser.
confirm_tokenNoChat-mode only. The token returned by the first call as `confirm_token`. Omit on the first call; include on the second call to execute the scheduled downgrade. Single-use, 60s TTL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: consent-gating, non-destructive scheduling semantics (caps retained until period end), no-op behavior, 60s token TTL, two distinct return shapes, and the Dock-agent override where mode/confirm_token are ignored. This is materially more than the schema provides.

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?

Long, but front-loaded with the most important warning and organized into numbered consent surfaces, so density is justified by the two-step protocol. Slightly heavy for a two-parameter tool, but nearly every clause carries operational 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?

No output schema exists, yet the description spells out both possible first-call response shapes (confirmation_required with confirm_token, approval_required with approval_url/polling_url) and the completion path, leaving nothing an agent needs unknown before calling.

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; however the description adds real meaning by explaining the interaction between `mode` and `confirm_token` (first call omits token and receives one, second call includes it within 60s) and that both are ignored for Dock agents — semantics the schema alone does not convey.

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: schedules the caller's org to drop from a retired org plan (Pro/Scale) to Free at end of the current billing period. Immediately scopes what it does NOT touch (Dock pricing, per-person plans, credits), which lets an agent distinguish it from siblings like upgrade_plan or get_billing.

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 covers when it applies (Pro/Scale org), when it is a no-op (already Free), and the two alternative invocation paths selected by `mode`, including the exact first-call/second-call sequence for chat mode and the click-then-poll sequence for web mode. The Dock-agent special case is also called out.

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.