Skip to main content
Glama

Set a pose

pose_set

Change a figure's pose in a keyframe by moving its root, scaling it, and setting joint angles, lengths, or world positions in one undoable call.

Instructions

Change a figure's pose in one keyframe: move its root, scale it, and set the angle, length or world position of any of its joints. A joint is named by its handle id (from figure_describe) or by its index in the segment list. An angle is absolute, measured from the parent joint, in radians or degrees. Give a world x and y to place a joint at a point instead; that respects inverse kinematics. Everything in one call is a single undo step.

Input Schema

NameRequiredDescriptionDefault
uidYesThe id of the figure instance.
rootNoThe new root position of the figure, in canvas pixels.
frameNoThe place on the timeline to work on. Defaults to the playhead.
scaleNoThe new size factor of the figure. 2 doubles it.
jointsNoThe joints to change.
projectNoThe id of an open project, from project_open. Defaults to the project used most recently.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false). The description adds genuinely non-obvious behavior: the whole call collapses into a single undo step, angles are absolute relative to the parent joint, and world placement respects inverse kinematics.

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?

Four tight sentences, front-loaded with the core action, then addressing/units, then the IK alternative, then the undo guarantee. No padding or restatement of the title.

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?

Covers action scope, joint addressing, angle convention, IK behavior, and undo semantics for a 6-param nested-schema tool with no output schema. It leaves open whether a keyframe must already exist at the target frame and does not route to pose_set_ik when the caller wants IK-solved posing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3; the description earns above that by explaining that handleId comes from figure_describe, that angle parameters are absolute and measured from the parent joint, and that x/y trigger IK rather than a raw overwrite. It does not clarify the relationship between index and handleId when both are supplied.

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?

States a specific verb and resource ('Change a figure's pose in one keyframe') and enumerates the three things it does: root move, scale, joint angle/length/position. An agent can tell this apart from pose_evaluate, pose_reset, and the IK siblings without opening a schema.

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?

Gives clear operating context: joints are addressed by handle id (explicitly sourced 'from figure_describe') or by segment index, angles are absolute from the parent joint, and world x/y is the IK-respecting alternative. It stops short of naming pose_set_ik/pose_ik_set as the explicit alternative for IK-driven posing.

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