Skip to main content
Glama

css__UpdateInstance

Replaces a failed node in a Huawei Cloud CSS cluster using the specified cluster ID, node ID, and project ID.

Instructions

[CSS] 该接口用于替换失败节点。

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": {
      "cluster_id": "<cluster_id>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "css__UpdateInstance"
  }
}

Input Schema

NameRequiredDescriptionDefault
cluster_idYes指定替换集群ID。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。
instance_idYes指定替换节点ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, and it says almost nothing about behavior: no word on whether replacement is asynchronous, whether the cluster is degraded during the operation, whether data is migrated, or what permissions are required. For a disruptive node-replacement mutation this is a substantial gap.

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

Conciseness3/5

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

A single short sentence with no filler and the outcome front-loaded, but it is terse to the point of under-specification rather than genuinely efficient. One additional sentence on effects would have been worth the space.

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

Completeness4/5

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

For a three-parameter path-only mutation with full schema coverage, the definition is largely sufficient to select the tool and invoke it correctly, given there is no output schema to explain. What is missing is the operational context around a disruptive replace, which pushes it below the top score.

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 description coverage is 100% and all three required path parameters (cluster_id, instance_id, project_id) are documented in the schema itself, so the baseline applies and the description need not repeat them. It adds nothing beyond the schema, but nothing is missing either.

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?

The description names a specific action and target: 替换 (replace) a 失败节点 (failed node), which usefully disambiguates the generic name UpdateInstance. It does not differentiate itself from look-alike siblings such as css__UpdateShrinkNodes or css__UpdateFlavor, but the verb+resource pairing is concrete.

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 condition 'failed node' – an agent can infer this should be called when a node has failed, but there is no explicit when-not guidance, no prerequisites, and no pointer to alternative siblings for non-failure scenarios.

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