Skip to main content
Glama

get_physics_state

Diagnose physics problems by reading rigid body status, mass, velocities, kinematic flag, and collision info for any prim. Identify why objects fall through ground, fail to move, or grasping fails.

Instructions

Diagnostic tool: get physics state for a prim.

Returns rigid body status, mass, velocities, kinematic flag, and collision info. Velocity units: linear_velocity in m/s, angular_velocity in rad/s. Velocities are only non-zero once the simulation has advanced — step the simulation (or play) before reading them. Call this when:

  • Objects fall through the ground (check collision enabled)

  • Objects don't move when expected (check is_kinematic, mass)

  • Grasping fails (check collision on gripper fingers and target object)

Args: prim_path: USD path to the prim to inspect.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
prim_pathYes
command_idNo
idempotency_keyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden. It discloses velocity units, warns that velocities are zero until the simulation advances, and explains the diagnostic intent. It does not explicitly state that it has no side effects, though 'Diagnostic tool' strongly implies a read-only operation.

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?

The description is well organized: purpose, returned data, units, timing caveat, usage scenarios, and argument summary. Every section adds usable information, and the layout makes it easy for an agent to scan.

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?

The description covers the tool's purpose, return contents, units, timing behavior, and primary parameter, which is complete enough for a simple diagnostic getter. It does not mention limitations or alternatives, but the output schema fills in return-structure details.

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%, but the description documents the only required parameter, prim_path, as a USD path to inspect. It does not explain command_id or idempotency_key, but these are optional standard parameters and less critical for correct invocation.

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 clearly identifies the tool as a diagnostic getter for physics state and enumerates the exact returned fields (rigid body status, mass, velocities, kinematic flag, collision info). It is specific about the resource and action, but it does not explicitly contrast itself with similar siblings like get_physics_body or get_prim_info.

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?

The 'Call this when' section gives concrete diagnostic scenarios (falling through ground, unexpected non-movement, grasping failures), which is strong usage guidance. However, it does not mention when to prefer an alternative tool or when not to use this tool.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Tim0320/IsaacSim-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server