Skip to main content
Glama

Physics check of a scene (cards, overlaps, a short run) or of an open simulation now

check
Read-onlyIdempotent

Validates a scene or open simulation for card issues, overlaps, penetration, rest/energy drift, and health events, then reports each finding with changes to make.

Instructions

Check a scene: card validation, overlap at load, rest drift, penetration, health events and energy drift, each finding with what to change. With sim (or after build) it checks the open simulation now. Example arguments: {"scene": "demo_peg_d12", "quick": true}

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check"
  }
}

Input Schema

NameRequiredDescriptionDefault
simNoid of an open simulation (from build); default: build `scene`, else the last one built
seedNoseed of randomized values (same seed, same worlds)
quickNoload checks only (cards, overlap), no run
sceneNoa library scene name (alloy list scenes), a .yaml/.json/.xml/.urdf/.usd path, Scene JSON, or a recipe {"objects": [{"add": "ground"}, {"add": "box", "name": "cube", "size": [0.1, 0.1, 0.1], "pos": [0, 0, 0.5], "mass": 1.0}]}
budgetNowall seconds the check run may take (0: no limit)
deviceNo'cpu', 'cuda' or 'cuda:<n>' (default: the GPU if there is one)
movingNothe scene moves by design (drops, pours)
worldsNoparallel worlds (default: the scene's)
libraryNoextra card library folders, searched first
profileNointegration profile
secondsNosimulated seconds of the check run (default 2 GPU / 0.5 CPU)
contactsNocontact pipeline
liquid_accuracyNoliquid particles: default 4 mm apart, super 2 mm (finer openings and streams, about 16x the cost), ultra 1.5 mm (about 50x); sets the scene's liquid_accuracy

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.8
    • changedInput schema / properties / liquid_accuracy / description
      Previous value: -"liquid particles: default 4 mm apart, super 2 mm (finer openings and streams, about 16x the cost); sets the scene's liquid_accuracy"New value: +"liquid particles: default 4 mm apart, super 2 mm (finer openings and streams, about 16x the cost), ultra 1.5 mm (about 50x); sets the scene's liquid_accuracy"
    • changedInput schema / properties / liquid_accuracy / enum
      Previous value: -[
      -  "default",
      -  "super"
      -]New value: +[
      +  "default",
      +  "super",
      +  "ultra"
      +]
    • changedInput schema / properties / scene / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "a recipe: Scene.add_* calls as JSON",
      -    "properties": {
      -      "base": {
      -        "description": "start from this library scene or file",
      -        "type": "string"
      -      },
      -      "dt": {
      -        "description": "control period, s",
      -        "type": "number"
      -      },
      -      "friction": {
      -        "items": {
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "liquid_accuracy": {
      -        "description": "liquid particles 4 mm apart (default) or 2 mm (super)",
      -        "enum": [
      -          "default",
      -          "super"
      -        ]
      -      },
      -      "materials": {
      -        "items": {
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "objects": {
      -        "items": {
      -          "description": "keyword arguments of Scene.add_<add>: sizes in m (full edges), mass kg, pos [x, y, z], rpy radians, static true/false (alloy list adds); a robot's path is a file or a library robot name (alloy list robots)",
      -          "properties": {
      -            "add": {
      -              "enum": [
      -                "block_with_hole",
      -                "box",
      -                "capsule",
      -                "cloth",
      -                "cylinder",
      -                "ground",
      -                "heater",
      -                "liquid",
      -                "mesh",
      -                "object",
      -                "open_box",
      -                "open_cylinder",
      -                "pour",
      -                "push",
      -                "robot",
      -                "rod",
      -                "sphere"
      -              ]
      -            },
      -            "name": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "add"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "randomize": {
      -        "items": {
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "set": {
      -        "items": {
      -          "description": "keyword arguments of Scene.set_<set>, e.g. {\"set\": \"heater\", \"name\": \"pan_floor\", \"temperature\": 353.15} or {\"set\": \"heat\", \"time_scale\": 60}",
      -          "properties": {
      -            "set": {
      -              "enum": [
      -                "friction",
      -                "heat",
      -                "heater",
      -                "inertia_floor",
      -                "joint_yield",
      -                "quasi_static_mass_scale",
      -                "temperature"
      -              ]
      -            }
      -          },
      -          "required": [
      -            "set"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "worlds": {
      -        "minimum": 1,
      -        "type": "integer"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "description": "Scene JSON (Scene.to_dict())",
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "a recipe: Scene.add_* calls as JSON",
      +    "properties": {
      +      "base": {
      +        "description": "start from this library scene or file",
      +        "type": "string"
      +      },
      +      "dt": {
      +        "description": "control period, s",
      +        "type": "number"
      +      },
      +      "friction": {
      +        "items": {
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "liquid_accuracy": {
      +        "description": "liquid particles 4 mm apart (default), 2 mm (super) or 1.5 mm (ultra)",
      +        "enum": [
      +          "default",
      +          "super",
      +          "ultra"
      +        ]
      +      },
      +      "materials": {
      +        "items": {
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "objects": {
      +        "items": {
      +          "description": "keyword arguments of Scene.add_<add>: sizes in m (full edges), mass kg, pos [x, y, z], rpy radians, static true/false (alloy list adds); a robot's path is a file or a library robot name (alloy list robots)",
      +          "properties": {
      +            "add": {
      +              "enum": [
      +                "block_with_hole",
      +                "box",
      +                "capsule",
      +                "cloth",
      +                "cylinder",
      +                "ground",
      +                "heater",
      +                "liquid",
      +                "mesh",
      +                "object",
      +                "open_box",
      +                "open_cylinder",
      +                "pour",
      +                "push",
      +                "robot",
      +                "rod",
      +                "sphere"
      +              ]
      +            },
      +            "name": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "add"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "randomize": {
      +        "items": {
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "set": {
      +        "items": {
      +          "description": "keyword arguments of Scene.set_<set>, e.g. {\"set\": \"heater\", \"name\": \"pan_floor\", \"temperature\": 353.15} or {\"set\": \"heat\", \"time_scale\": 60}",
      +          "properties": {
      +            "set": {
      +              "enum": [
      +                "friction",
      +                "heat",
      +                "heater",
      +                "inertia_floor",
      +                "joint_yield",
      +                "quasi_static_mass_scale",
      +                "temperature"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "set"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "worlds": {
      +        "minimum": 1,
      +        "type": "integer"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "description": "Scene JSON (Scene.to_dict())",
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changedv0.1.3
    • changedInput schema / properties / scene / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "a recipe: Scene.add_* calls as JSON",
      -    "properties": {
      -      "base": {
      -        "description": "start from this library scene or file",
      -        "type": "string"
      -      },
      -      "dt": {
      -        "description": "control period, s",
      -        "type": "number"
      -      },
      -      "friction": {
      -        "items": {
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "liquid_accuracy": {
      -        "description": "liquid particles 4 mm apart (default) or 2 mm (super)",
      -        "enum": [
      -          "default",
      -          "super"
      -        ]
      -      },
      -      "materials": {
      -        "items": {
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "objects": {
      -        "items": {
      -          "description": "keyword arguments of Scene.add_<add>: sizes in m (full edges), mass kg, pos [x, y, z], rpy radians, static true/false (alloy list adds)",
      -          "properties": {
      -            "add": {
      -              "enum": [
      -                "block_with_hole",
      -                "box",
      -                "capsule",
      -                "cloth",
      -                "cylinder",
      -                "ground",
      -                "liquid",
      -                "mesh",
      -                "object",
      -                "open_box",
      -                "open_cylinder",
      -                "robot",
      -                "rod",
      -                "sphere"
      -              ]
      -            },
      -            "name": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "add"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "randomize": {
      -        "items": {
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "worlds": {
      -        "minimum": 1,
      -        "type": "integer"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "description": "Scene JSON (Scene.to_dict())",
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "a recipe: Scene.add_* calls as JSON",
      +    "properties": {
      +      "base": {
      +        "description": "start from this library scene or file",
      +        "type": "string"
      +      },
      +      "dt": {
      +        "description": "control period, s",
      +        "type": "number"
      +      },
      +      "friction": {
      +        "items": {
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "liquid_accuracy": {
      +        "description": "liquid particles 4 mm apart (default) or 2 mm (super)",
      +        "enum": [
      +          "default",
      +          "super"
      +        ]
      +      },
      +      "materials": {
      +        "items": {
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "objects": {
      +        "items": {
      +          "description": "keyword arguments of Scene.add_<add>: sizes in m (full edges), mass kg, pos [x, y, z], rpy radians, static true/false (alloy list adds); a robot's path is a file or a library robot name (alloy list robots)",
      +          "properties": {
      +            "add": {
      +              "enum": [
      +                "block_with_hole",
      +                "box",
      +                "capsule",
      +                "cloth",
      +                "cylinder",
      +                "ground",
      +                "heater",
      +                "liquid",
      +                "mesh",
      +                "object",
      +                "open_box",
      +                "open_cylinder",
      +                "pour",
      +                "push",
      +                "robot",
      +                "rod",
      +                "sphere"
      +              ]
      +            },
      +            "name": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "add"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "randomize": {
      +        "items": {
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "set": {
      +        "items": {
      +          "description": "keyword arguments of Scene.set_<set>, e.g. {\"set\": \"heater\", \"name\": \"pan_floor\", \"temperature\": 353.15} or {\"set\": \"heat\", \"time_scale\": 60}",
      +          "properties": {
      +            "set": {
      +              "enum": [
      +                "friction",
      +                "heat",
      +                "heater",
      +                "inertia_floor",
      +                "joint_yield",
      +                "quasi_static_mass_scale",
      +                "temperature"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "set"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "worlds": {
      +        "minimum": 1,
      +        "type": "integer"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "description": "Scene JSON (Scene.to_dict())",
      +    "type": "object"
      +  }
      +]
  3. First observedv0.1.2

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered. The description usefully discloses two things beyond that: findings are actionable ("each finding with what to change") and the default path actually performs a short physics run, with `quick` reducing it to load checks only. It does not describe the report's structure, ordering, or what happens when the budget expires.

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?

Three tight sentences: the checklist first, the alternate mode second, a worked example last. The example earns its place by showing the minimum viable call. The enumerated check list is dense but not padded.

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 13-parameter, no-output-schema physics validation tool, the description conveys purpose, both modes, and the actionable nature of results. Since there is no output schema, the shape of the findings report is only gestured at, and the cost implications of a full run are left to the schema's `budget`/`seconds` fields.

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 all 13 parameters including `seed`, `budget`, `seconds` and `liquid_accuracy` are already documented in the schema. The description only adds an example showing `scene` and `quick`, leaving the more consequential knobs untouched. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete verb and resource ("Check a scene") and enumerates exactly what is validated: card validation, overlap at load, rest drift, penetration, health events, energy drift. It also splits the two operating modes (scene check vs. checking an open sim). It stops short of explicitly contrasting itself with similarly named siblings such as audit or run, so it is clear but not sibling-differentiated to a 5.

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?

It gives clear selection context: use it on a scene, or pass `sim` / use it after `build` to check the currently open simulation, and the sample arguments show a minimal invocation. There are no explicit "don't use this when..." exclusions or alternatives named, which keeps it at 4 rather than 5.

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