Skip to main content
Glama

Apply TeamSpeak Plan Change

apply_teamspeak_plan_change
Destructive

Execute a TeamSpeak upgrade or downgrade after the user has explicitly confirmed a matching preview_teamspeak_plan_change result. NEVER call in the same turn as preview_*. Requires confirm=true, userExplicitlyConfirmed=true, and previewConfirmationNonce from the matching preview_* result, plus the same target and the same couponCode as that preview (omit couponCode if the preview had none). Only call after the user explicitly confirmed the exact pricing summary you showed. When the preview has requiresImmediateStartRequest: true (paid upgrade), also tell the user they ask ZAP-Hosting to start the upgrade right away and owe compensation for the days used if they withdraw the upgrade within 14 days; pass requestImmediateStart=true only if they expressly agreed to that. If apply returns PREVIEW_CONFIRMATION_TOO_EARLY, wait until details.earliestApplyAt (or confirmation.earliestApplyAt from preview) and call apply again; this short safety delay needs no explanation to the user. Triggers billing and infrastructure changes.

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": {
      "serviceId": "<serviceId>",
      "confirm": "<confirm>",
      "userExplicitlyConfirmed": "<userExplicitlyConfirmed>",
      "previewConfirmationNonce": "<previewConfirmationNonce>"
    },
    "name": "apply_teamspeak_plan_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetNo
confirmYes
serviceIdYesID of the TeamSpeak server: the "id" field from list_account_services or list_teamspeak_servers (e.g. "cmabc123..."). The numericId shown in the panel (e.g. "180") is accepted too. IDs of other service types do not work here.
couponCodeNoOptional shop coupon code the user typed for this upgrade. Only pass a code the user explicitly gave you in this conversation; never guess, invent, reuse from elsewhere or try codes. It only reduces the amount charged now for an upgrade (pricing.couponDiscountCents, coupon.error when refused). Apply must send exactly the same couponCode as the preview whose nonce it uses.
requestImmediateStartNoExpress request of the user to start the upgraded service right away (§ 357a (2) BGB): they owe compensation for the days used if they later withdraw the upgrade. Set true ONLY when the user expressly agreed to exactly that in this conversation after you told them; never set it on your own. Required for a paid upgrade when the preview says requiresImmediateStartRequest: true, otherwise apply is refused with PLAN_CHANGE_EARLY_START_REQUIRED and nothing is charged. Ignored for downgrades and free changes.
userExplicitlyConfirmedYes
previewConfirmationNonceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / requestImmediateStart
      Added value: +{
      +  "description": "Express request of the user to start the upgraded service right away (§ 357a (2) BGB): they owe compensation for the days used if they later withdraw the upgrade. Set true ONLY when the user expressly agreed to exactly that in this conversation after you told them; never set it on your own. Required for a paid upgrade when the preview says requiresImmediateStartRequest: true, otherwise apply is refused with PLAN_CHANGE_EARLY_START_REQUIRED and nothing is charged. Ignored for downgrades and free changes.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already flag destructive=true, idempotent=false, and readOnly=false, but the description adds materially more: it triggers billing and infrastructure changes, requires a nonce bound to a matching preview, discloses a deliberate safety delay that must not be explained to the user, and spells out the 14-day withdrawal/compensation legal consequence. That is exactly the context annotations cannot carry.

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?

Front-loaded with the core rule and then ordered by operational concern (preconditions, legal disclosure, error recovery, side effects), with no filler sentences. It is dense and long, and the confirmation requirement is restated twice, which costs a bit of tightness but each sentence still carries a distinct rule.

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 a destructive, billing-relevant mutation with a nested target object, no output schema, and partial schema coverage, the description covers preconditions, coupon/nonce coupling, legal disclosure text, error-code recovery, and side effects. Nothing an agent needs in order to call this safely is missing.

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

Parameters5/5

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

Despite 43% schema description coverage, the description supplies the missing cross-field invariants: the nonce must come from the matching preview, target and couponCode must be identical to that preview, couponCode must be omitted if the preview had none, and requestImmediateStart is only valid on express user agreement for paid upgrades. It also explains confirm/userExplicitlyConfirmed behavior and the PREVIEW_CONFIRMATION_TOO_EARLY/PLAN_CHANGE_EARLY_START_REQUIRED outcomes.

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 ("Execute a TeamSpeak upgrade or downgrade") and immediately scopes it to a confirmed preview, distinguishing it from the preview_teamspeak_plan_change sibling by name. An agent can tell exactly what this does versus previewing without opening either schema.

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?

Explicit when/when-not guidance: never in the same turn as preview_*, only after explicit user confirmation of the exact pricing summary, and named alternatives (preview_teamspeak_plan_change) implied for the prior step. It also routes conditional cases (requiresImmediateStartRequest, PREVIEW_CONFIRMATION_TOO_EARLY retry) so nothing is left to inference.

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