Skip to main content
Glama

physics_plan

Generate physically timed keyframes for jumps, tosses, drops, and bounces to paste into a spec, with gravity scaled to figure height so air time matches the motion.

Instructions

Physically timed keyframes to paste into a spec: jump (crouch, take off, arc, land, recover), toss (a prop leaves a hand and flies to a point), drop (a fall from rest) and bounce (a ball losing energy each bounce). Gravity is scaled to the figures, so air time matches the height. Merge other figures' changes into the returned keyframes rather than adding keyframes between them.

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": {
      "kind": "<kind>",
      "figure": "<figure>"
    },
    "name": "physics_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNojump/drop/bounce: starting x
yNobounce: starting centre y
toNotoss: {x,y} landing point; drop: landing y
fpsNo
flipNo
fromNotoss: {x,y} release point; drop: starting y
kindYes
peakNotoss: px above the higher end
restNobounce: centre y when touching the floor (floor top − radius)
spinNotoss: degrees of rotation in flight
driftNobounce: px travelled sideways per bounce
scaleNoScale of the stickmen in the scene (default 1.2); sets the strength of gravity
figureYesCast id that moves
groundNojump: the floor y the stickman stands on
heightNojump: how high the feet rise, px (40–120 for a person)
bouncesNo
distanceNojump: horizontal travel, px
restitutionNobounce: 0.5–0.7 ball, 0.2 bag, 0.8 rubber

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden, and it does real work: it reveals that gravity is derived from figure scale so air time matches height, which is a non-obvious behavioral trait tied to the 'scale' parameter. The phrasing 'keyframes to paste into a spec' also implicitly signals a pure computation with no direct mutation of the project. It does not state determinism, failure modes, or what the returned keyframe structure actually looks like.

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?

Two sentences, both earning their place: the first defines the resource and its four variants, the second delivers an integration constraint. The kind enumeration is front-loaded and compact, with no redundant restatement of the title or schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 18-parameter tool with no annotations and no output schema, the description covers what the tool computes and how to consume the result, but never specifies the shape of the returned keyframes — timings, easing, per-figure grouping — despite instructing the agent to merge into them. That omission matters more here precisely because no output schema exists to fill the gap.

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 78% and the schema already tags most parameters by kind ('jump/drop/bounce: starting x', 'bounce: restitution', etc.), so the description adds little beyond what is documented there. The one genuine addition is linking 'scale' to gravity strength, but that is already in the schema text. The phase list for jump (crouch, take off, arc, land, recover) describes output content rather than parameter meaning. Baseline 3 is appropriate.

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?

Opens with a specific verb+resource ('Physically timed keyframes to paste into a spec') and then enumerates the four supported motion kinds with a one-clause definition each (jump, toss, drop, bounce). An agent can immediately tell this is a physics-based keyframe generator rather than an animation builder or renderer, distinguishing it from siblings like build_animation or preview_frames.

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 situational context — the output is keyframes meant to be pasted into a spec — and a non-obvious integration rule: merge other figures' changes into the returned keyframes rather than inserting keyframes between them. It stops short of naming explicit alternatives or stating when not to use this tool, so it lacks the exclusion clause that a 5 would require.

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