Skip to main content
Glama

Set Collection

set_collection
DestructiveIdempotent

Move objects into a collection to group parts; creates the collection if missing and returns each object's collections. Use it to organize scene parts before animating or exporting assets.

Instructions

Move objects into a collection. Returns: their collections. WHEN TO CALL: to group parts.

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": {
      "objects": "<objects>",
      "collection": "<collection>"
    },
    "name": "set_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
parentNoParent of a new one
objectsYesNames
collectionYesCreated if missing
keep_otherNoStay in others too

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this a non-readonly, destructive, idempotent write, so the safety profile is covered structurally. The description adds only the return shape ("their collections"), and says nothing about what happens to objects' existing collection memberships or about the destructive side effects the annotations flag.

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 and no filler. The return note is slightly awkwardly phrased ("their collections") but still earns its place given there is no output schema.

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?

Purpose, trigger, and a minimal return note are present for a small four-parameter tool whose schema is fully documented. However, for a destructive mutation, the description lacks any note on what existing collection state is overwritten or how keep_other changes the outcome.

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%, with every parameter including parent, keep_other, and the created-if-missing collection already documented inline. The description adds no meaning beyond what the schema provides, so the baseline of 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?

"Move objects into a collection" states a specific verb and resource, which separates it from siblings like set_parent or set_material that also assign relationships. It does not explicitly name the differentiating sibling, but the resource is unambiguous.

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?

"WHEN TO CALL: to group parts" gives a contextual cue for use, but offers no when-not guidance and no comparison to alternatives such as set_parent, which an agent could easily confuse with this grouping operation.

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