Skip to main content
Glama

css__UpgradeCore

Upgrades a Cloud Search Service cluster's Elasticsearch nodes to a target image version, supporting same-version and cross-version upgrades with backup and load validation.

Instructions

[CSS] 该接口用于将低版本的ES升级到高版本或同版本ES。

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": {
      "agency": "<agency>",
      "cluster_id": "<cluster_id>",
      "indices_backup_check": "<indices_backup_check>",
      "inst_type": "<inst_type>",
      "project_id": "<project_id>",
      "target_image_id": "<target_image_id>",
      "upgrade_type": "<upgrade_type>"
    },
    "name": "css__UpgradeCore"
  }
}

Input Schema

NameRequiredDescriptionDefault
agencyYes委托名称,委托给CSS,允许CSS调用您的其他云服务。
inst_typeYes指定待升级的节点类型,当前仅支持all。
check_loadNo是否校验负载。默认为true。
cluster_idYes指定待升级的集群ID。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。
upgrade_typeYes升级类型。
target_image_idYes目标镜像版本ID。
indices_backup_checkYes是否进行备份校验。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It never says that this is an irreversible, potentially disruptive mutation, whether the upgrade runs asynchronously, whether a pre-check or backup must precede it, or what permissions the 'agency' delegation requires — despite parameters like indices_backup_check and check_load hinting at exactly those concerns.

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 short sentence with no padding, and the core purpose is front-loaded. Its brevity is efficient rather than wasteful, though it borders on under-specification given the tool's complexity.

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 an eight-parameter, seven-required mutation with no annotations and no output schema, so the description is the only place behavioral context can live. It leaves out the entire operational picture: sequencing relative to pre-checks and backups, expected duration or async behavior, and failure handling.

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 every one of the eight parameters is already documented in the schema, including the same/cross enum on upgrade_type. The description adds no syntax, format, or default information beyond that, so the baseline 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?

The description names a specific verb (upgrade) and resource (ES/Elasticsearch) and even states the scope of version transitions ('low version to high version or same version'). It does not distinguish this from close siblings like css__UpgradeDetail or css__RetryUpgradeTask, so an agent cannot tell from the text alone when this is the right entry point.

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 when-to-use guidance, no prerequisites, and no mention of alternatives. The sentence describes what the operation is, not the conditions under which an agent should call it versus the related upgrade/detail/retry tools.

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