Skip to main content
Glama

modo_set_channels

Destructive

Sets channel values on multiple scene items in a single batch, returning old and new values and applying one undo step; use atomic mode to abort on first failure.

Instructions

Set channel values on items in one batch, e.g. position, material colour or a light's radiance. Returns the old and new value of each write. Safer than hand-writing item.channel commands, and applied as a single undo step. Use atomic=true to abort the whole batch on the first failure. Writes that would not change the value are skipped (every write fires all scene listeners), and NaN or infinite values are refused.

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": {
      "writes": "<writes>"
    },
    "name": "modo_set_channels"
  }
}

Input Schema

NameRequiredDescriptionDefault
atomicNo
writesYes
instanceNoThis chat's Modo instance token (modo-xxxxxx) from modo_use_instance or modo_launch_instance. Pass it on every call once you have one; leave empty only while a single chat works with Modo.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true), the description discloses the return payload (old and new value of each write), the single-undo-step grouping, no-op writes being skipped because every write fires scene listeners, and refusal of NaN/infinite values. These are exactly the behavioral facts an agent needs before issuing a destructive batch mutation.

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?

Purpose is front-loaded in the first clause, followed by return value, safety framing, the atomic flag, and validation/skipping rules. Every sentence carries a distinct fact with no filler.

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

Completeness4/5

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

For a destructive batch-mutation tool with an output schema already present, the description covers undo semantics, atomicity, idempotent-write skipping, and input validation. The remaining gap is the structure of entries in 'writes', which neither the schema nor the description explains.

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 only 33%, and the critical 'writes' parameter is an untyped array of objects with additionalProperties=true and no documented item shape. The description partly compensates by explaining atomic's effect and naming example channels, but it never describes the fields of a single write object, leaving the most important parameter underspecified.

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 gives a specific verb and resource ('Set channel values on items in one batch') and concretizes channels with examples (position, material colour, a light's radiance). It implicitly positions itself against manual editing ('Safer than hand-writing item.channel commands'), which hints at the run_command/run_python siblings, but no alternative is named outright.

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?

The definition supplies clear operating context: it is the safe alternative to hand-writing item.channel commands, it is applied as one undo step, and atomic=true should be used when the batch must abort on first failure. It stops short of explicit exclusions (e.g., when to prefer run_command or a single-channel setter), so it is clear context without alternatives.

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