Skip to main content
Glama

css__RetryUpgradeTask

Retries a failed CSS cluster upgrade task or aborts its impact when long-running upgrades are interrupted by network or other issues.

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

Input Schema

NameRequiredDescriptionDefault
action_idYes待重试的任务ID。
cluster_idYes待重试的集群ID。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。
retry_modeNo当该参数不为空时,终止该任务的影响。当前仅支持abort。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It usefully reveals that the operation has two distinct outcomes (retry vs. abort the task's impact) and why it exists, but it says nothing about what abort actually does to in-flight work, whether retry is idempotent or safe to call repeatedly, permission requirements, or what the call returns. For a state-mutating action on a cluster upgrade, that is a meaningful gap.

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 compact sentence with no filler, and the failure rationale leads into the available action. It is not front-loaded with the operation name itself, which sits only in the tool name, but nothing is wasted.

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?

For a 4-parameter, three-required mutation tool with no annotations and no output schema, the description covers motivation and the two operating modes, which is the essential core. It still leaves the agent guessing about side effects, safety of repeated invocation, and post-call state, which the absent annotations would otherwise have supplied.

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 all four parameters — including the retry_mode='abort' switch — are already documented in the schema, which sets the baseline at 3. The description adds no syntax, defaulting, or interaction detail beyond what the schema provides (e.g. it never mentions that an empty retry_mode means retry rather than abort).

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 states a specific action pair on a specific resource: retry a failed upgrade task, or abort its impact (重试该任务或终止该任务的影响). The referent '该任务' is only recoverable from the tool name (RetryUpgradeTask), since the title is null, but the verb+resource pairing is otherwise unambiguous and the rationale (long-running upgrades failing on network issues) sharpens it.

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?

It gives an implicit trigger condition — use this when an upgrade failed due to network or other transient causes — which is genuine when-to-use guidance. It does not name any alternative (e.g. the sibling UpgradeDetail for inspecting status first), nor does it say when retrying is inappropriate versus aborting; the abort path is only discoverable from the schema's retry_mode parameter.

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