Skip to main content
Glama

ecs__ResizeServer

Change an ECS cloud server's flavor to scale compute resources. Specify the new flavor ID and optionally resize a running server without stopping it.

Instructions

[ECS] 变更云服务器规格。

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": {
      "project_id": "<project_id>",
      "resize": "<resize>",
      "server_id": "<server_id>"
    },
    "name": "ecs__ResizeServer"
  }
}

Input Schema

NameRequiredDescriptionDefault
resizeYes标记为云服务器变更规格操作。
dry_runNo是否只预检此次请求。
server_idYes云服务器ID。
project_idYes项目ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full disclosure burden and provides almost none. It never states that this is a state-changing, potentially disruptive operation, whether a restart/downtime is involved, whether pre-check via dry_run is advisable, or whether charges are incurred.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is brief but essentially restates the tool name, so nothing is front-loaded beyond the title. There is no wasted wording, but there is also no substantive content; brevity here reflects under-specification rather than disciplined concision.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a complex mutation with nested objects, an optional dry-run precheck, and auto-pay behavior, yet the description covers none of it. With no annotations and no output schema, the missing behavioral and safety context leaves the definition substantially incomplete relative to its complexity.

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 nested resize object, flavorRef, mode, cpu_options, extendparam and dry_run are all documented in the schema. The description adds no meaning beyond that, which is the expected baseline when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('变更云服务器规格' — change cloud server flavor), which is clearer than the bare name alone. However, it offers no differentiation from the closely named sibling ecs__ResizePostPaidServer or from ecs__ListResizeFlavors, so an agent cannot tell which resize entry point applies from the text alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus the pay-per-use resize sibling, no prerequisites (server must be stopped unless mode=withStopServer), and no exclusions. The agent must infer all context-selection logic from the schema.

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