Skip to main content
Glama

set_rig_control_limits

DestructiveIdempotent

Set min/max limits on scalar Control Rig controls to enable clamping and keep Float, ScaleFloat, or Integer values within defined bounds.

Instructions

Set a scalar Control Rig control's min/max limits (Float/ScaleFloat/Integer). Enables the limit array for the control type and sets MinimumValue/MaximumValue type-correctly; once enabled, set_rig_control_value clamps via ApplyLimits. Verified read-back.

Returns: { asset_path: string, control_name: string, control_type: string, min: number, max: number, limit_enabled: bool, saved: bool, save_error?: string }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxYesMaximum value (number).
minYesMinimum value (number).
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.
enableNoWhether to enable the limits (optional, default true).
control_nameYesName of an existing control element (Float/ScaleFloat/Integer).
control_rig_pathYesPath to the UControlRigBlueprint asset.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructive/idempotent/readOnly hints and the schema's force param covers the PIE refusal danger, so the bar is lower. The description still adds useful behavior: enabling the limit array, type-correct MinimumValue/MaximumValue assignment, and 'Verified read-back' confirming the write is validated.

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-loads the core action, then terse behavioral and return details. Slightly dense but every clause (type-correct set, read-back, downstream clamping) contributes meaning; 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?

No output schema exists, but the description inlines the return shape (asset_path, control_name, limit_enabled, saved, save_error), covering what an agent needs. Combined with 100% schema coverage and annotations, it is essentially complete, missing only explicit prerequisites/permission notes.

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 baseline is 3. The description adds only marginal meaning beyond the schema via the type-correctness note for MinimumValue/MaximumValue and the accepted control types; the individual parameters are otherwise fully documented in the schema.

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 (Set) and resource (scalar Control Rig control's min/max limits) with the accepted control types enumerated (Float/ScaleFloat/Integer). An agent can distinguish it from set_rig_control_value and set_rig_control_settings without opening either 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?

Provides clear context by explaining the downstream relationship to set_rig_control_value (limits clamp via ApplyLimits once enabled), which helps the agent understand when the limits take effect. However, it does not give explicit when-not guidance or contrast against sibling limit-setting tools.

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