Skip to main content
Glama

ims__CopyImageInRegion

Copies an existing IMS image to a new image, optionally applying encryption settings and enterprise project metadata for use in different cloud scenarios.

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

Input Schema

NameRequiredDescriptionDefault
nameYes镜像名称
cmk_idNo加密密钥。默认为空。
image_idYes镜像ID
descriptionNo镜像描述信息。_description参数说明请参考镜像属性。支持字母、数字、中文等,不支持回车、<、 >,长度不能超过1024个字符。默认为空。
enterprise_project_idNo表示当前镜像所属的企业项目。0

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 behavioral burden. It discloses that the operation creates a new image and can alter encryption, but says nothing about whether the call is asynchronous, how long it takes, what permissions or quotas apply, or whether the source image is unaffected — all material for a mutating copy operation.

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 sentences, front-loaded with the purpose, with no redundant restatement of the name. The opening '[IMS] 该接口为扩展接口' is mild filler that does not carry operational meaning, but the rest is efficient.

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 with no annotations and no output schema, the description should explain at minimum what comes back (e.g., a new image ID), whether the operation is async, and how it differs from the cross-region sibling. None of these are covered, leaving meaningful gaps despite complete schema coverage.

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%, so the schema already documents all five parameters. The description adds a little meaning by linking the copy operation to encryption attributes (cmk_id), but gives no additional detail on name uniqueness, enterprise project inheritance, or description constraints.

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 — copying an existing image into a new image — and adds that encryption attributes can be changed during the copy. It does not distinguish this from the sibling ims__CopyImageCrossRegion, nor does it explain the 'InRegion' scope encoded in the name.

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?

The stated purpose ('主要用于用户将一个已有镜像复制为另一个镜像') implies when to use it, and the encryption-change scenario gives some context. There is no explicit guidance on when not to use it or which sibling to pick for cross-region copies, so the agent must infer the boundary.

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