Skip to main content
Glama

Add images to collections

add_images

Sort images you sent to a space (upload_file with space_id) into its collections, as a drop in the app: each lands in the collection and group it fits, and images that fit none start a new collection. The answer says where each landed, with app links, and gives a drop_id: undo_drop takes the whole drop back within a day. Sorting looks at every image, so a big drop takes up to a minute.

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": {
      "space_id": "<space_id>",
      "image_ids": "<image_ids>"
    },
    "name": "add_images"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoWhat to call a new collection for images that fit none, such as the folder they came from.
space_idYesThe space the images were sent to.
image_idsYesimage_id values from upload_file's answers.
collection_idNoOne of this space's own collections from list_space (no from_space_id): sort into its groups only, as a drop on its page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare the generic write/not-destructive/openWorld profile; the description adds the substantive behavior: images are auto-classified into fitting collections and groups, unfitting images spawn a brand-new collection, the response reports each landing with app links plus a drop_id, and that drop_id is undoable for one day. It also discloses the cost profile – a large drop can take up to a minute because every image is inspected.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with the action, then the return/undo contract, then the latency caveat. Every clause carries information an agent needs; nothing is padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description still covers the return shape (per-image landing, app links, drop_id), reversibility and its time limit, and the worst-case runtime. Combined with a fully documented schema, an agent has everything needed to call this correctly and set expectations.

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 defines all four parameters, including the new-collection name and the collection_id group-only mode. The description reinforces provenance (space_id from upload_file, image_ids from its answers) but adds little syntax or constraint detail beyond what the schema states, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource – sorting images already sent to a space into its collections – and mirrors the in-app 'drop' concept. It also explicitly roots the input in a sibling operation ("upload_file with space_id"), so an agent can distinguish it from upload_file and from the other collection tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the precondition (images must already have been sent to the space via upload_file) and names undo_drop as the reversal path with its one-day window. What is missing is any explicit statement of when not to use it, e.g. a case where a caller should use list_space or a plain update instead of a drop.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources