Skip to main content
Glama

walk_cycle

Creates a biomechanically timed walk animation for a built character rig, with planted feet, opposite arm swing, travel or in-place options, and mood presets.

Instructions

Walk a build_character rig with biomechanically correct timing for its age and sex. Feet stay planted and roll heel -> flat -> ball -> toe; legs use two-bone IK; the hips ride an inverted-pendulum arc (low at contact, high at passing); arms swing opposite the legs. Defaults come from gait studies (e.g. adult man 108 steps/min at 1.4 m/s; toddler 154 at 0.86; old age shorter steps). speed m/s, cadence steps/min override them. cycles (default 2) or end. travel=false walks in place (pan the BG). on=2 holds every pose 2 frames (keys become constant). bounce, arm_swing scale the motion (1 = natural; >1 = cartoon); lean adds forward trunk lean (deg). mood (Williams beat chart and character walks): natural | brisk | stroll (16 frames a step) | tired (20, head down, low clearance) | proud (chest out) | happy (double bounce) | sneak (crouched, 24 frames) | heavy (long contact, deep down) | cartoon (8 frames). speed/cadence still override. Returns the self-check: cadence, step length, vertical oscillation, knee flexion, foot slip.

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": {
      "scene": "<scene>",
      "character": "<character>"
    },
    "name": "walk_cycle"
  }
}

Input Schema

NameRequiredDescriptionDefault
onNo
endNo
leanNo
moodNonatural
phaseNo
sceneYes
speedNo
startNo
bounceNo
cyclesNo
travelNo
cadenceNo
arm_swingNo
characterYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does so well: it discloses foot roll phases, two-bone IK, hip arc, the overridden-vs-preset precedence, that travel=false pans the background, that on=2 converts keys to constants, and even enumerates the self-check metrics returned. Gaps remain around whether existing keyframes in the range are overwritten and whether the rig must already exist, which matter for a timeline-mutating tool.

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?

Information-dense and front-loaded: the core behavior comes first, then parameter semantics, then the return self-check. The telegraphic, semicolon-chained style packs a lot in, but it borders on run-on and would scan faster as a short list of parameter semantics.

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 fourteen-parameter, annotation-free animation tool the description covers behavior, preset semantics, scaling factors, and return values. What is missing — meaning of start/phase, whether prior keys are replaced, and the rig precondition — are meaningful gaps but not disqualifying ones.

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 description coverage is 0%, so the description must compensate, and it does for roughly ten of fourteen parameters — speed (m/s), cadence (steps/min), cycles, end, travel, on, bounce, arm_swing, lean (degrees), and mood (with per-preset frame counts). It adds real units and semantics beyond the bare schema, though it never mentions start, phase, or the required scene/character parameters.

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 — walking a build_character rig — and immediately scopes it with biomechanical timing for age/sex. The link to the build_character sibling makes the prerequisite object explicit, so an agent can tell this apart from run_cycle or animate_action without inspecting schemas.

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?

The description makes clear what the tool is for (locomotion cycles on a rig) and gives the override rules between speed/cadence and mood presets, which is genuine usage context. However, it never states when to choose this over run_cycle or animate_action, nor what precondition (an existing rig from build_character) must hold before calling.

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