Skip to main content
Glama

Apply Game Server Plan Change

apply_gameserver_plan_change
Destructive

Execute a gameserver upgrade or downgrade after the user has explicitly confirmed a matching preview_gameserver_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_gameserver_plan_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetNo
confirmYes
serviceIdYesID of the Gameserver: the "id" field from list_account_services or list_gameservers (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.8/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and non-idempotency, and the description goes well beyond them: it discloses that the call triggers billing and infrastructure changes, that the nonce must match the preview, that a missing requestImmediateStart yields PLAN_CHANGE_EARLY_START_REQUIRED with nothing charged, and it spells out the 14-day withdrawal/compensation obligation.

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 action and the hard blocking rule, then ordered from preconditions to legal disclosure to error recovery. It is a single dense paragraph with several stacked conditional clauses, so readability suffers slightly, but essentially every sentence carries operational or compliance 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?

For a destructive, billing-triggering tool with no output schema, the description supplies everything an agent needs: preconditions, nonce coupling, coupon coupling, the immediate-start decision rule, and recovery guidance for a refusal. The error-code contract is described inline, compensating for the absent output schema.

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 only 43% across 7 parameters, and the description compensates for the critical ones: couponCode must equal the previewed code (or be omitted), requestImmediateStart is only valid with express user agreement and is ignored for downgrades, and the target must match the preview. It does not explain the individual nested target subfields (ramMb, slots, targetPackageKey, etc.), leaving part of the 43% gap uncovered.

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?

Starts with a specific verb and resource ("Execute a gameserver upgrade or downgrade") and immediately scopes it with "after the user has explicitly confirmed a matching preview_gameserver_plan_change result." The gameserver naming plus the reference to the preview_gameserver_plan_change sibling makes it distinguishable from the parallel apply_dedicated/vserver/teamspeak tools without opening any 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?

Explicitly names the when-not condition ("NEVER call in the same turn as preview_*") and the enabling alternative (the matching preview result with its nonce). It also specifies the confirmation precondition, the coupon-matching rule, and the error-recovery path for PREVIEW_CONFIRMATION_TOO_EARLY with the exact field to wait on.

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