Skip to main content
Glama

mrs__UpdateClusterScaling

Scales an existing Huawei Cloud MRS cluster by expanding or shrinking Core or Task nodes, letting you adjust capacity after cluster creation without changing Master nodes.

Instructions

[MRS] 创建集群后,扩容/缩容集群Core节点或者Task节点。MRS集群创建成功后不支持调整Master节点数量,即不支持扩缩容Master节点。该接口不兼容Sahara。

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

Input Schema

NameRequiredDescriptionDefault
plan_idNo套餐ID,为扩展接口,预留此参数。用户不需要配置。
cluster_idYes集群ID。获取方法,请参见[获取集群ID](https://support.huaweicloud.com/api-mrs/mrs_02_9001.html)。
parametersYes请求参数集合。
project_idYes项目编号。获取方法,请参见[获取项目ID](https://support.huaweicloud.com/api-mrs/mrs_02_0011.html)。
service_idNo服务ID,为扩展接口,预留此参数。用户不需要配置。
previous_valuesNo扩展接口,预留此参数。用户不需要配置。

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 supplied, the description must carry the behavioral burden. It discloses two important constraints: Master nodes cannot be scaled, and the API is incompatible with Sahara. However, it says nothing about async or order-based execution, which the presence of order_id in the schema suggests, nor whether the operation is irreversible, requires elevated permissions, or returns a job identifier.

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?

The text is three compact sentences that state the action first, then the key constraint, then a compatibility note; nothing is repeated or wasted. It is appropriately short for the amount of information it actually conveys.

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?

This is a mutating tool with nested parameters, no annotations, and no output schema, so the description should do more than state scope. It covers the key constraint about Master nodes and the Sahara incompatibility, but omits execution model, return behavior, and permission requirements, leaving gaps for an agent that needs to invoke it correctly and handle its result.

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 schema already documents nested fields such as task_node_info, scale_type, and server_ids in detail, so the baseline is 3. The description adds no parameter-level meaning beyond what the schema provides, leaving field-level interpretation entirely to the structured data.

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 verb and resource: scale Core nodes or Task nodes in or out after the cluster has been created. It also explicitly excludes what the tool cannot do, namely Master nodes, which scopes it clearly. However, it does not distinguish this tool from closely named siblings such as ExpandCluster, ShrinkCluster, or UpdateAutoScalingPolicy, leaving the agent to work out which one to use.

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?

Timing guidance is implied by 'after creating a cluster' and 'after MRS cluster creation succeeds', which tells the agent the cluster must already exist. The Master-node exclusion and the note that the API is incompatible with Sahara are useful boundaries. But it gives no explicit alternative for a single-direction scale, no mention of when to prefer autoscaling policies, and no call out to sibling 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