Skip to main content
Glama

ims__GlanceAddImageMember

Adds a target user's project ID as a member to a shared IMS image, enabling image sharing with that user. Use it when sharing a private image with another project.

Instructions

[IMS] 用户共享镜像给其他用户时,使用该接口向该镜像成员中添加接受镜像用户的项目ID。

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

Input Schema

NameRequiredDescriptionDefault
memberYes镜像成员。取值为目标用户的项目ID。
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 burden for a write operation. It does not say what happens if the member already exists, whether the new member starts in a pending state, what permissions the caller needs, or what the call returns, leaving the mutation's side effects and idempotency undisclosed.

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?

It is a single front-loaded sentence: it names the scenario first and then the action. There is no wasted wording, though it packs the scenario and the operation into one long clause rather than separating them.

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 simple two-parameter tool with no output schema or annotations, the description covers the intent and the key field meaning. It still omits the outcome (whether the member must accept, what is returned, or how errors such as duplicate membership are reported), which an agent would need to use 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 coverage is 100% and both parameters are documented in the schema, so the description only needs to add meaning beyond that. It restates that the member is the target user's project ID and frames it in the sharing workflow, which is consistent with the schema but adds no format or constraint detail beyond it.

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 combination ('add a member to an image member list') and clarifies the domain meaning of the operation: sharing an image with another user. An agent can tell it creates a membership record, but the text does not distinguish it from siblings like GlanceUpdateImageMember or BatchAddMembers.

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?

It gives a usage context ('when a user shares an image with another user'), which implies when to call it. However, it never states when not to use it or which sibling handles the related cases (for example, batch adding multiple members or changing an existing member's status), so the routing guidance is implied rather than explicit.

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