Skip to main content
Glama

set_rig_control_value

DestructiveIdempotent

Sets a Control Rig control's pose value for Initial and Current states, type-correct by its ERigControlType and clamped to enabled limits. Returns verified read-back data.

Instructions

Set a Control Rig control's pose value (Initial + Current), type-correct per the control's ERigControlType. add_rig_control only seeds the identity value. SetControlValue applies the control's limits, so a value outside an enabled min/max is clamped (set limits first with set_rig_control_limits). Verified read-back.

Returns: { asset_path: string, control_name: string, control_type: string, value: any, saved: bool, save_error?: string }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNoOptional. This command is REFUSED while a Play-in-Editor session is running: it either compiles a Blueprint (the reinstancer can retain a world, and CheckForWorldGCLeaks is Fatal -- it KILLS the editor) or writes to disk (Editor.AllowSavingAssetsDuringPIE=0 makes the engine refuse the write, so it would report success without writing a byte). Stop PIE and retry instead; force=true runs it anyway, at your own risk.
valueNoThe value: bool (Bool), number (Float/ScaleFloat/Integer), or [x,y(,z)] (Vector2D/Position/Scale/Rotator).
control_nameYesName of an existing control element.
control_rig_pathYesPath to the UControlRigBlueprint asset.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.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 destructive=true and idempotent=true, but the description adds genuinely non-obvious behavior: values are clamped against enabled limits via SetControlValue, and the result is verified by read-back. It stops short of explaining what 'destructive' means here (e.g., overwrites prior Initial/Current pose values), which is the one trait an agent would want flagged.

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?

Front-loaded with the core action, then constraints, then the return shape; each sentence carries weight and the inline Returns block is compact. The opening sentence is dense, packing scope, both pose targets, and type-correctness into one line, which slightly taxes readability.

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 supplies a full return-shape block (asset_path, control_name, control_type, value, saved, save_error). Combined with the clamping, limit-ordering, and PIE caveats carried in the schema, an agent has everything needed to call this mutation correctly.

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 documents all four parameters, including the per-type value mapping and the detailed PIE/force behavior. The description only restates the type-correctness framing for 'value' and adds no syntax or format detail beyond the schema, so the baseline of 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?

States a specific verb and resource ('Set a Control Rig control's pose value (Initial + Current)') and pins down the write semantics (type-correct per ERigControlType). It explicitly distinguishes itself from the look-alike sibling by noting 'add_rig_control only seeds the identity value', so an agent can pick correctly without opening schemas.

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

Usage Guidelines5/5

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

Routes the agent to two alternatives with explicit conditions: use add_rig_control only for seeding the identity value, and 'set limits first with set_rig_control_limits' before relying on min/max clamping. This is exactly the when/when-not/alternative guidance needed in a rig with several set_rig_control_* siblings.

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

Deploy Server

Other Tools