Skip to main content
Glama

sdrs__ResizeProtectedInstance

Resize the ECS instances in a protected instance by changing flavor specifications across production and disaster recovery sites.

Instructions

[SDRS] 变更指定保护实例中弹性云服务器的规格,包括:同时变更生产站点云服务器和容灾站点云服务器的规格。

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>",
      "protected_instance_id": "<protected_instance_id>",
      "resize": "<resize>"
    },
    "name": "sdrs__ResizeProtectedInstance"
  }
}

Input Schema

NameRequiredDescriptionDefault
resizeYes表示保护实例变更规格的操作。
project_idYes项目ID。
protected_instance_idYes保护实例的ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description must disclose the behavioral consequences of this operation. It states which objects are affected (both production and DR-site ECS flavors), but it says nothing about downtime, whether the instance must be stopped first, whether the operation is asynchronous or returns a job ID, whether it can be reverted, or which permissions are required. These are significant gaps for a mutation tool with no annotations.

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?

A single front-loaded sentence with the [SDRS] service tag first and no filler. The '包括:' clause partially restates what the schema already encodes, which keeps it from being maximally efficient, but it remains compact.

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

Completeness3/5

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

The parameter layer is fully documented via the schema, but for a mutation tool with no annotations and no output schema, the description should say more about operational behavior: prerequisites, disruption, and result handling. It is adequate for identifying the operation but thin for safe invocation.

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%, and the nested resize object documents flavorRef, production_flavorRef, dr_flavorRef, and the dedicated-host IDs in detail, including precedence rules. The description adds nothing beyond what the schema already explains, so the baseline score of 3 applies.

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

Purpose4/5

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

States a specific verb and resource: resizing the ECS flavor inside a named protected instance ('变更指定保护实例中弹性云服务器的规格'), and clarifies the two-site scope (production and DR). That is enough to tell it apart from siblings like DeleteProtectedInstance or UpdateProtectedInstanceName, though the wording emphasizes simultaneous change even though the schema also permits production-only or DR-only changes.

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

Usage Guidelines3/5

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

Usage is only implied by the verb 'resize'; the description gives no explicit when-to-use, no prerequisites (for example, stop the server or check supported flavor lists), and it does not mention any alternative sizing tools. An agent can infer the intent from the name, but there is no real routing guidance.

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