Skip to main content
Glama

ims__GlanceCreateTag

Add a custom tag to an IMS image to classify and organize images by category. Provide the image ID and tag value to label resources for clearer management.

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

Input Schema

NameRequiredDescriptionDefault
tagYes新增的tag。字符串中不能包含“=”和“.”。
image_idYes镜像id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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, yet it says nothing beyond the bare action. It does not disclose whether the call is idempotent, what happens if the tag already exists, whether permissions are required, or whether the change is reversible; the tag-string constraint lives only in the schema.

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 with the action front-loaded; the second sentence about classification is mildly redundant but provides motive, and nothing is bloated.

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 two-parameter mutation with no annotations and no output schema, the definition is minimally adequate but leaves out the outcome (does it return the tag, the image, or nothing) and duplicate-tag behavior, which an agent would need to call it confidently.

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% and the schema already explains both image_id and tag, including the forbidden '=' and '.' characters. The description adds no meaning beyond the schema, so the baseline 3 applies.

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 and resource: add a custom tag to an image, with the stated goal of classifying images. It is clear what the tool does, but it does not differentiate itself from close siblings such as ims__AddImageTag or ims__CreateOrUpdateTags, so an agent cannot tell from the text which tagging entry point to pick.

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 via the rationale that tags let users classify images. There is no explicit when-to-use, no precondition (e.g. image must exist), and no statement about when to prefer DeleteTag/AddImageTag/CreateOrUpdateTags instead.

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