Skip to main content
Glama

ims__BatchAddMembers

Shares multiple IMS images with multiple projects in one request by accepting image ID and project ID lists, simplifying multi-target image sharing.

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": {
      "images": "<images>",
      "projects": "<projects>"
    },
    "name": "ims__BatchAddMembers"
  }
}

Input Schema

NameRequiredDescriptionDefault
imagesYes镜像ID列表
projectsYes项目ID列表

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?

With no annotations, the description carries full behavioral burden yet discloses almost nothing: it does not say whether the call is idempotent, what happens on partial failure (some images or projects invalid), whether all images are shared to every project (cartesian) or paired, or what is returned. Only the vague '扩展接口' label hints at non-standard semantics, without explaining them.

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?

A single front-loaded sentence with no filler; the purpose arrives first and the scope qualifier follows. It is short to the point of under-specification rather than verbose.

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 batch mutation with no annotations and no output schema, the definition leaves out too much: response shape, partial-success behavior, and permission requirements are all unaddressed. What is present is accurate but insufficient for an agent to call it confidently on the first attempt.

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%, so both arrays (image IDs, project IDs) are already documented, and the baseline of 3 applies. The phrase 'share multiple images to multiple users' loosely implies a many-to-many mapping but stops short of stating the actual pairing rule, which is exactly the ambiguity an agent would need resolved.

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 concrete operation: share multiple images with multiple users/projects in one call, and labels it an extension API for image sharing. The verb+resource is identifiable and the 'multiple-to-multiple' scope previews a meaningful distinction from a single-image member add, though no sibling is named explicitly.

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 an implied context ('used when sharing images') but never says when to use this batch form versus the single-member or list-member variants, nor any prerequisite such as owning the image or target project permissions. Usage is inferable but not guided.

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