Skip to main content
Glama

Change appearance

style_set
Idempotent

Change figure, part, layer, or scene colors and opacity, and adjust part thickness, across keyframes or at the playhead.

Instructions

Change how something looks: the colour or opacity of a figure, the colour or thickness of one of its parts, the colour of a layer, or the colour behind the scene. A figure colour applies to every keyframe the figure appears in. A part colour changes the shared figure definition, so every instance of it changes too. Give a colour as "#rrggbb" or as three red, green and blue bytes.

Input Schema

NameRequiredDescriptionDefault
uidNoFor "figure" and "part": the figure instance.
colorNoThe new colour. For a figure, a part or the scene: "#rrggbb" or three RGB bytes. For a layer: a palette name (blue, violet, rose, orange, green, teal); a colour is matched to the nearest one.
frameNoThe place on the timeline to work on. Defaults to the playhead.
framesNoFor "figure": only these keyframes.
targetYesWhat to restyle.
layerIdNoFor "layer": the layer to restyle.
opacityNoThe new opacity, from 0 to 1.
projectNoThe id of an open project, from project_open. Defaults to the project used most recently.
handleIdNoFor "part": the joint whose segment to restyle.
thicknessNoFor "part": the new thickness of the segment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish idempotent, non-destructive, write behaviour, and the description adds genuinely new context: that a figure colour propagates to every keyframe containing the figure and that a part colour mutates the shared figure definition so all instances change. That cascading side effect is exactly the kind of hidden blast radius an agent needs. It stops short of saying whether changes are undoable via history_undo or what an invalid colour yields.

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?

Four sentences, front-loaded with the capability statement, then the two non-obvious propagation rules, then value formatting. The opening sentence is a long enumeration but every clause maps to a distinct target, so nothing is wasted.

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 10-parameter mutation tool with no output schema, the description covers what each target restyles, the indirect effects, and the value format, while the schema handles per-parameter applicability. It leaves the return value and error behaviour unexplained, but with 100% schema coverage and safety annotations those are modest omissions.

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 the schema already documents all ten parameters including per-target applicability (uid, layerId, handleId, frames). The description adds colour syntax ('#rrggbb' or three RGB bytes), but its blanket statement omits the layer special case where the schema requires a palette name — a small gap that the schema has to correct.

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 states a specific verb (change) plus the exact resources it applies to — figure colour/opacity, part colour/thickness, layer colour, and scene background — which maps cleanly onto the four `target` enum values. This differentiates it from nearby mutators such as figure_transform and layer_edit, which touch geometry and layer metadata rather than appearance.

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?

Usage is implied by the enumeration of targets, and the scope rules ('a figure colour applies to every keyframe the figure appears in', 'a part colour changes the shared figure definition') tell the agent the consequences of choosing one target over another. However, no sibling tool is named as an alternative, and there is no explicit when-not-to-use guidance (e.g. when to prefer layer_edit or figure_transform).

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