Skip to main content
Glama

ims__AddImageTag

Add or update a single tag on a specified Huawei Cloud IMS image using the project ID, image ID, and tag key-value pair.

Instructions

[IMS] 该接口用于为指定镜像添加或更新指定的单个标签

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": {
      "image_id": "<image_id>",
      "project_id": "<project_id>",
      "tag": "<tag>"
    },
    "name": "ims__AddImageTag"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagYes
image_idYes镜像ID。
project_idYes项目ID。

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?

With no annotations, the description carries full disclosure burden. It usefully reveals upsert semantics (the tag is added or updated, so an existing key's value is overwritten), but says nothing about required permissions, idempotency across projects, failure modes, or what the call returns.

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?

One front-loaded sentence with no filler; the '[IMS]' prefix is noise but harmless. It is effectively sized for the amount of information provided.

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 three-parameter mutation tool with no annotations and no output schema, the definition covers the core action and the single-vs-batch scope but leaves permissions, overwrite consequences, and response behavior unaddressed. It is minimally adequate rather than complete.

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 coverage is 67%, with image_id, project_id, and the nested tag key/value all documented in the schema, so the baseline applies. The description only restates that the tag belongs to a specified image and does not clarify the path-vs-body distinction or the key/value pairing beyond what the schema already says.

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 pair ('add or update') and the resource ('a single tag for a specified image'), which is enough to separate it from DeleteImageTag, ListImageTags, and BatchAddOrDeleteTags. It stops short of naming any sibling explicitly.

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 explicit guidance on when to choose this over BatchAddOrDeleteTags or GlanceCreateTag. The phrase '单个标签' (single tag) hints that the batch tool is for multiple tags, but the agent must infer that routing decision itself.

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