Skip to main content
Glama

ims__UpdateImage

Update attributes and metadata of an active Huawei Cloud IMS image by image ID, enabling changes to image properties after creation.

Instructions

[IMS] 更新镜像信息接口,主要用于镜像属性的修改。当前仅支持可用(active)状态的镜像更新相关信息。

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

Input Schema

NameRequiredDescriptionDefault
image_idYes镜像ID

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, the description does carry the burden and does disclose the mutation nature plus the active-state restriction. It says nothing about permissions required, whether changes are reversible, or what the response contains, and it never explains how the new attribute values are supplied even though the schema exposes only image_id.

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?

Two short sentences, front-loaded with purpose followed immediately by the state constraint. No redundant or filler wording, though the phrase '更新相关信息' is slightly vague.

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?

No annotations and no output schema, so the description must convey behavior, and it covers the key state precondition. However, for a mutation tool whose schema contains only image_id and no attribute fields, the description leaves the actual update payload mechanism unexplained — a significant loose end.

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?

Single parameter (image_id) with 100% schema description coverage, so the schema already defines it fully and the description adds no format or semantics beyond that. Baseline 3 applies when structured fields do the work.

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?

States a specific verb+resource pair ('更新镜像信息接口' / update image information) and narrows scope to '镜像属性的修改' (modifying image attributes). Clear on its own, but gives no indication of how it differs from near-identical siblings such as ims__GlanceUpdateImage.

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?

Provides one real precondition: only images in 'active' state can be updated. That is useful routing information, but there is no explicit when-to-use guidance and no named alternative for images in other states or for the overlapping Glance update tool.

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