Skip to main content
Glama

css__UpgradeDetail

Retrieves current upgrade phase details for a cluster during an AZ switchover, helping track progress through each stage of a long-running upgrade.

Instructions

[CSS] 由于升级过程时间较长,该接口可以展示当前升级(切换AZ)节点的各个阶段信息。

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>",
      "project_id": "<project_id>"
    },
    "name": "css__UpgradeDetail"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo查询返回终端节点服务的连接列表限制每页个数,即每页返回的个数。
startNo偏移量。 偏移量为一个大于0小于终端节点服务总个数的整数, 表示从偏移量后面的终端节点服务开始查询。
cluster_idYes待升级的集群的ID。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。
action_modeNo查询升级行为。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/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 behavioral burden, and it discloses only that this is a display/query of upgrade stages. It does not state that the operation is read-only, what happens if no upgrade is underway, whether results are paginated (though limit/start imply they are), or anything about the shape of the stage data returned.

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?

It is a single tight sentence with no filler, and the rationale for the tool is front-loaded before the resource it exposes. It could be improved slightly by spending fewer words on justification and more on what the stages contain.

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?

For a 5-parameter tool with no output schema and no annotations, the description is thin: it never explains how action_mode selects which upgrade behavior is reported, omits pagination semantics despite limit/start, and gives no sense of what stage information the caller receives. An agent could call it but would not know how to interpret or page the results.

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 documents cluster_id, project_id, limit, start, and action_mode in detail, including the AZ_MIGRATION example. The description adds no meaning beyond the schema, 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.

Purpose4/5

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

The description names a specific resource and verb: it displays the stage-by-stage information of the current upgrade (AZ switch) nodes for a cluster. An agent can tell this is a progress/detail inspection tool rather than an upgrade action, although it never explicitly contrasts itself with siblings such as css__UpgradeCore or css__RetryUpgradeTask.

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 rationale that the upgrade takes a long time, suggesting this is meant to be polled while an upgrade is in progress. There is no explicit statement of prerequisites (e.g., an upgrade must already be running), no when-not guidance, and no named alternative for related checks.

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