Skip to main content
Glama

Change plan

change_plan
Destructive

Switch a VPS to another plan by converting remaining service value to the new price; upgrades shorten the service period. Calculate the conversion first and confirm the new expiry.

Instructions

Change VPS plan. No payment is taken; the remaining value is converted at the new price, so an upgrade shortens the service period. Always call calculate_plan_change first and confirm the new expiry with the customer. Use get_plan_resources to get resource IDs for the target plan. Requires services:manage and a full-access API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
planYesPlan ID from get_plan_options
orderNoYesTenant-owned service order number: 1-64 ASCII letters, digits or hyphens, e.g. VP12345 or VP12345-1
resourcesYesArray of numeric resource value IDs — one per resource type (RAM, SSD, IP, etc.). Get IDs from get_plan_resources response: each resource type has 'values' array, pick one value's 'id' per type. A type left out keeps its current value; an id the target plan does not offer is refused with 422 invalidResources.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial behavioral context beyond the annotations: no payment is taken on plan change, remaining value is converted at the new price, and an upgrade shortens the service period. It also discloses required permissions (services:manage) and a full-access API key, which the structured fields do not convey.

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-loads the core action and then adds prioritised behavioral and prerequisite information in tight, imperative sentences. Every sentence carries useful weight, though it is slightly longer than a minimal ideal.

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 a destructive mutation with no output schema and annotations that only flag destructiveness, the description covers the essential billing semantics, prerequisites, and authentication requirements an agent needs to invoke it correctly. Nothing critical is missing.

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 description coverage is 100%, so the schema already fully documents each parameter. The description references get_plan_resources for resource IDs, adding procedural guidance, but does not expand on parameter formats or meanings beyond what the schema provides, keeping it at the baseline.

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 ('Change VPS plan') that unambiguously identifies the operation. The scope is narrowed to VPS plans, and related tools (calculate_plan_change, get_plan_resources) are named, so an agent can place it precisely in the plan-change workflow.

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?

Provides explicit prerequisites: always call calculate_plan_change first, confirm new expiry with the customer, and use get_plan_resources for resource IDs. These are clear usage conditions, though it does not state when to use this tool versus alternatives like renew_service or order_service, so it falls short of a full 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools