Skip to main content
Glama

mrs__CreateClusterTag

Adds a key-value tag to a specified MRS cluster by cluster ID and project ID, helping organize and identify cloud resources.

Instructions

[MRS] 为特定的集群添加一个tag。

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>",
      "tag": "<tag>"
    },
    "name": "mrs__CreateClusterTag"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYes集群标签
cluster_idYes集群ID。
project_idYes项目编号。获取方法,请参见[获取项目ID](https://support.huaweicloud.com/api-mrs/mrs_02_0011.html)。

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?

No annotations are supplied, so the description carries the full disclosure burden and does essentially nothing with it. It does not say whether adding a duplicate tag key overwrites, errors, or is idempotent, whether the tag quota (see sibling ShowTagQuota) constrains the call, or what permissions are needed; only the bare mutation verb is conveyed.

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, front-loaded with the service tag and the action. It is efficient with no filler, though the extreme brevity means there is no structure to speak of beyond the one clause.

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 three-parameter mutation tool with a nested object, no annotations, and no output schema, the description is too thin. Key facts an agent needs, such as behavior on an already-present tag key, quota limits, and whether the call is idempotent, are absent from both the description and the structured data.

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%, with cluster_id, project_id (including a link for obtaining it), and a nested tag object with key/value bounds all documented in the schema. The description adds no meaning beyond that, so the baseline 3 applies and no compensation is needed.

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 plus resource: adding a tag (添加一个tag) to a designated cluster, and the [MRS] prefix scopes it to this service. It is clear what the tool does but never distinguishes it from the sibling batch variant mrs__BatchCreateClusterTags, which performs the same operation at a different granularity.

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 verb: an agent can infer it should call this to attach a single tag to a cluster. There is no statement about when to prefer it over BatchCreateClusterTags, no prerequisite (cluster must exist, tag quota remaining), and no exclusions for tags that already exist.

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