Skip to main content
Glama

get_physics_settings

Read-onlyIdempotent

Retrieve a one-shot physics census of the current Unreal world: gravity, substepping, collision-enabled actors, simulating bodies, mass totals, and recommendations.

Instructions

One-shot physics census of the current world: UPhysicsSettings substepping/delta-time values, world gravity_z, and a walk of every actor counting collision-enabled vs disabled, simulating bodies, mobility split and mass totals, plus a heuristic quality label and a recommendations list. Use it for a broad "what is the physics state of this level" sweep instead of hand-writing the actor loop in Python; for ONE component's collision use get_collision_info, and to change gravity use set_world_gravity / set_physics_gravity. Read the numbers with three caveats visible in the code: physics_engine is a hardcoded "PhysX" literal (UE5 actually runs Chaos), the walk takes only the FIRST primitive component per actor so multi-component actors are undercounted, and generate_hit_events is always 0 (never populated).

Returns: { physics_settings_found: bool, physics_engine: string (hardcoded "PhysX"), physics_quality: string (heuristic from max_physics_delta_time), max_physics_delta_time, max_substep_delta_time, max_substeps, world_name, world_gravity_z, world_gravity_enabled, per-component counts (collision enabled/disabled, simulating, static/stationary/movable, overlap events), mass totals (only simulating bodies contribute), recommendations: [string], complexity score }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description goes well beyond them by disclosing three code-level caveats: physics_engine is a hardcoded 'PhysX' literal that misreports UE5's Chaos, the walk only inspects the FIRST primitive component per actor so multi-component actors are undercounted, and generate_hit_events is never populated. That is exactly the kind of hidden-behavior context an agent needs to interpret results.

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?

Front-loads the purpose, then alternatives, then caveats, then a structured returns list, so information ordering is sound. It is dense and long (a scope sentence, three caveats, and a full return-field enumeration), but nearly every clause carries load; the only mild redundancy is restating what the tool counts inside the prose and again in the returns block.

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?

For a zero-param read-only census tool with no output schema, the description supplies everything relevant: what is measured, how counts are derived, the heuristic quality label, and the exact caveats that determine whether the numbers can be trusted.

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?

Zero parameters, so there is nothing for the description to document and the baseline is 4. The description spends its budget on scope and return semantics instead, which is the right allocation.

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 ('one-shot physics census of the current world') and enumerates exactly what is scanned: UPhysicsSettings substepping/delta-time values, world gravity_z, and a per-actor collision/mobility/mass walk. It explicitly names the siblings it is not (get_collision_info for one component, set_world_gravity / set_physics_gravity to change gravity).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use ('broad what-is-the-physics-state-of-this-level sweep instead of hand-writing the actor loop in Python') and when-not, routing the agent to get_collision_info for a single component and to the two gravity setters for mutation. Alternatives and their selecting conditions are all named.

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

Deploy Server

Other Tools