Skip to main content
Glama

apply_force

Push a rigid body in PhysX so its mass affects motion; applies an impulse or one-step force at a world-space point while simulation is playing or paused.

Instructions

Push a rigid body through PhysX, so its mass counts. The simulation must be playing or paused. Refused for a disabled or kinematic body, and for an articulation's link, such as a robot's, which PhysX's push doesn't reach yet (#58).

Input Schema

NameRequiredDescriptionDefault
forceYes[fx, fy, fz]: an impulse in N s, or a force in N for one physics step
impulseNoTrue for an impulse in N s, False for a force in N for one physics step. For a sustained push, give an impulse of force times seconds
positionNoWorld-space point to push at; the body's centre of mass when omitted
prim_pathYesThe rigid body's prim path

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare a non-destructive write (readOnlyHint=false, destructiveHint=false); the description adds real behavioral context beyond them: simulation-state prerequisites, the three refusal conditions, and the known #58 gap for articulation links. It doesn't disclose whether the push persists across steps or how failure is surfaced in the response, keeping it off a 5.

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?

Three short sentences, ledger-clean: capability first, then state precondition, then refusal cases. Every sentence carries information an agent needs and nothing is repeated from structured fields.

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

Completeness5/5

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

With an output schema present, full parameter descriptions, and annotations covering the safety profile, the description supplies exactly the missing pieces — preconditions and refusal behavior. An agent has everything needed to call this correctly or recognize when it will be rejected.

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 schema already explains force vs impulse semantics, units, and the position default. The description adds only the conceptual note that mass is respected, with no guidance on choosing impulse=true or interpreting position, so baseline 3 applies.

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 — push a rigid body via PhysX — and adds a scope detail ('so its mass counts') that tells the agent this is a mass-aware dynamics operation, not a transform set. It is clearly distinct from siblings like set_prim_transform or set_physics_properties without opening any 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?

Gives explicit preconditions ('the simulation must be playing or paused') and explicit exclusion cases (disabled bodies, kinematic bodies, articulation links), which is strong when-to-use guidance. It stops short of naming an alternative tool for the unsupported articulation-link case, leaving the agent to guess a workaround.

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