Skip to main content
Glama

upgrade_plan

⛔ RETIRED PLAN SYSTEM — do not offer this as Dock's pricing. Moves the caller's org between the retired org plans, which buy resource CAPS only and are not what Dock sells: Pro (10 agents, 20 members, 200 workspaces, 5k rows per workspace) or Scale (30 agents, 60 members, 1,000 workspaces, 50k rows per workspace). The prices are retired and deliberately not stated here. Dock's live product is Dock Tokens, per user — see get_billing's currentPlans — and it CANNOT be bought through this tool. Note "scale" means different things in the two systems. The bill doesn't change as you add agents. If the org has no card on file, returns a Stripe Checkout URL for the human. If a card exists, a live plan switch (Pro ↔ Scale) is consent-gated. Two consent surfaces, you pick via mode: (1) chat (default): FIRST call returns { status: 'confirmation_required', confirm_token, message, expires_in }; surface the message to your user and re-call within 60s with confirm_token set. (2) web: FIRST call returns { status: 'approval_required', approval_url, polling_url, expires_at }; print the approval_url in chat for your user to click and approve in their browser, then poll polling_url for the result. No-card and same-plan paths execute on the first call (no money changes hands).

Input Schema

TableJSON 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. Use 'web' if you're headless or your user prefers a click-to-approve flow.
planNoTarget plan. Defaults to 'pro'.
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 plan flip. Single-use, 60s TTL, bound to {org, caller, operation, params}.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations present, this description carries the full behavioral burden, and it delivers: it discloses the consent-gated flows, the two surfaces (chat/web) with their exact first-call responses and follow-up steps, expiration times, polling behavior, and the no-card/same-plan immediate-execution paths. It also flags the 'scale' name collision across the two systems and that adding agents doesn't change the bill.

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 description is dense but every sentence earns its place given the tool's complexity; the retired-plan warning is front-loaded, and the flow details are logically ordered. It could be broken into sections for readability, but it remains appropriately sized.

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?

Given there is no output schema, the description fully compensates by specifying the exact response shapes for each branch (confirmation_required, approval_required, and the immediate-execution cases) and the consent token requirements. It also covers the key edge cases (no card, same plan, expiry) and the warning about the retired system, so an agent has everything needed to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the input schema already comprehensively describes each parameter, including `confirm_token` semantics (single-use, 60s TTL, binding). While the description weaves these into the flow narrative, it adds little beyond what the schema's parameter descriptions already state, so a baseline 3 is appropriate.

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 ('Moves') and resource ('the caller's org') and precisely defines the target plans (Pro and Scale) with their caps. Explicitly distinguishes itself from Dock's live product (Dock Tokens) and from get_billing's currentPlans, making its purpose unmistakable.

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?

Provides an explicit warning that this is a retired system and should not be offered as current pricing, and points to get_billing's currentPlans as the alternative for live pricing. Also gives concrete direction on selecting `mode`: chat for interactive round-trip, web for headless or click-to-approve flows.

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.