Skip to main content
Glama

physics_configure

Inspect or set 2D physics on a Group/Bone layer, including gravity, rigid-body options, and baking. Reads full state when no mutating fields are passed.

Instructions

Inspect or configure Moho Pro 14 2D Physics on a Group/Bone layer (groupEnabled, gravity, useBakedPhysics, bake) and/or per-layer rigid-body MohoPhysicsOptions (read-only when no mutating fields are passed; returns full state including pivotOnOrigin, respawnInterval, and lifetime).

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": "physics_configure"
  }
}

Input Schema

NameRequiredDescriptionDefault
bakeNoStep startFrame..endFrame to evaluate physics and lock UseBakedPhysics(true)
frameNo
densityNo
enabledNoPer-layer physics participation
gravityNo
layerIdNoNumeric depth-first layer ID (from layer_list)
endFrameNoLast frame to evaluate when bake=true
frictionNo
lifetimeNoAlias for respawnInterval (MohoPhysicsOptions.fRespawnInterval)
sleepingNo
layerNameNoExact layer name
layerUuidNoLayer UUID
motorSpeedNo
startFrameNoFirst frame to evaluate when bake=true
staticBodyNo
enableMotorNo
forceObjectNo
forceVectorNo
motorTorqueNo
restitutionNo
groupEnabledNoEnable/disable 2D physics simulation on Group/Bone layer
pivotOnOriginNo
initialVelocityNo
respawnIntervalNoMohoPhysicsOptions.fRespawnInterval in frames (0 = no respawn)
useBakedPhysicsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose key behavior: it is read-only when no mutating fields are passed and returns full state. However, it omits permission requirements, what happens to unspecified fields during a partial update, and whether changes are reversible.

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?

A single dense sentence that front-loads the read-or-write framing and groups the affected fields. It is information-rich with little waste, though the stacked parentheticals make it slightly hard to scan.

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 a 25-parameter tool with no annotations and no output schema, the description covers the core read/write behavior and return-state summary but leaves many parameters and partial-update semantics unexplained. It is adequate but not fully complete for the tool's complexity.

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 only 40% across 25 parameters. The description adds meaning for a handful (groupEnabled, gravity, useBakedPhysics, bake, pivotOnOrigin, respawnInterval, lifetime), but many parameters such as density, friction, motorSpeed, and sleeping remain undocumented in both schema and description.

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 specific verb pair ('Inspect or configure') and a precise resource (Moho Pro 14 2D Physics on Group/Bone layers), then enumerates affected fields. It is clear what the tool does, though it does not explicitly contrast with a sibling such as particle_configure.

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

Usage Guidelines3/5

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

The parenthetical 'read-only when no mutating fields are passed' implies a read-vs-write usage distinction, but there is no explicit when-to-use guidance or named alternative. Usage is only inferable from the field list.

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