Skip to main content
Glama

mrs__AddComponent

Adds components to a Huawei Cloud MRS cluster by specifying install mode, node groups, assigned roles, and component passwords.

Instructions

[MRS] 集群添加组件

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

Input Schema

NameRequiredDescriptionDefault
cluster_idYes集群ID。获取方法,请参见[获取集群ID](https://support.huaweicloud.com/api-mrs/mrs_02_9001.html)。
project_idYes项目编号。获取方法,请参见[获取项目ID](https://support.huaweicloud.com/api-mrs/mrs_02_0011.html)。
components_install_modeYes组件模型详情

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 behavioral burden and it discloses essentially nothing: no statement that this is a mutating, potentially long-running operation, no permission or IAM requirements, no note that ClickHouse components need the password fields populated, and no indication of what happens on partial failure.

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?

It is a single short phrase with zero padding, so nothing is wasted. However, this is under-specification rather than conciseness — a four-character payload is too thin to structure meaning for a tool with a deeply nested request body.

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 mutation tool whose body contains nested component/node-group/role structures and two password fields, and with no annotations and no output schema, the definition says almost nothing about effects, sequencing, or results. Only the unusually complete input schema keeps this from being a 1.

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%, including per-field descriptions for cluster_id, project_id, the components_install_mode array, node group roles, and the two ClickHouse password fields, so the baseline of 3 applies. The description itself adds no meaning beyond the schema, which is acceptable here but not additive.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

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

"[MRS] 集群添加组件" names a resource (集群) and a direction of change (添加组件), so the agent can tell it mutates cluster composition. But it is a bare phrase that never says what adding a component actually entails (install mode with per-component node-group role assignments), and it does not distinguish itself from nearby members such as cloudtable__EnableComponent or cloudtable__ExpandClusterComponent.

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 guidance on when to call this versus alternatives, no prerequisites (for example that the cluster must exist and be in a state that permits component installation), and no mention of whether the operation is synchronous or must be polled. The agent has to infer everything from the name.

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