Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

embodiment_measure_bodies

Read-only

Read tilt, height, contacts, and spring forces for named MuJoCo bodies to inspect body state and contact outcomes during simulation.

Instructions

Read tilt, height and contacts of named bodies from the MuJoCo controller (read-only).

Runs the controller's physics measure primitive. bodies are body names from the loaded model; each returns tilt_rad, tilt_vec, ang_vel, com (com[2] is height for z-up gravity) and subtree_com. contacts is a list of {a: [bodies] | a_except: [bodies], b: "world" | [bodies]} sets (exactly one of a or a_except; a_except means every body except those listed, their descendants and the world body). Each contact result has touching, points, bodies (a-side bodies in contact) and normal_force_n (summed contact normal force, newtons). springs reports per body-spring level, wrench_norm_force and gravity_comp_force_n; plus sim_time_s, episode_id and terminal.

The control server is found from the introspection descriptor's control_url. introspection_url overrides it with a loopback control-server base URL (not the introspection port), since measure runs on the control server.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "bodies": "<bodies>",
      "contacts": "<contacts>"
    },
    "name": "embodiment_measure_bodies"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodiesYes
contactsYes
controller_idNomujoco
introspection_urlNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true; the description goes well beyond that by naming the primitive being run, the exact result fields (tilt_rad, tilt_vec, ang_vel, com, subtree_com), the contact-set structure and the meaning of a_except, what normal_force_n sums, and the extra sim_time_s/episode_id/terminal keys. It also discloses a non-obvious routing behavior: the control server comes from the introspection descriptor's control_url, and measure runs on the control server rather than the introspection port.

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?

The lead sentence front-loads purpose and the read-only status, and the dense list of result keys and contact-set grammar is information-bearing rather than padding. It runs long with several clauses of backtick-heavy prose, so a little tightening is possible, but nearly every sentence earns its place.

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 four-parameter tool with an output schema, the definition covers purpose, contact-set grammar, result semantics and server routing, which is close to everything needed to invoke it correctly. The only real gap is the undocumented ``controller_id`` parameter and the absence of explicit preconditions or sibling routing guidance.

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%, so the description must carry parameter meaning, and it does for three of four: ``bodies`` are body names from the loaded model, ``contacts`` is specified in detail (exactly one of a or a_except, a_except exclusions including descendants and world body, b as "world" or a body list), and the introspection_url override is explained. ``controller_id`` (default "mujoco") is never mentioned, leaving one undocumented parameter.

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?

Opens with a specific verb and resource: "Read tilt, height and contacts of named bodies from the MuJoCo controller (read-only)." That distinguishes it clearly from generic state readers like embodiment_get_physics_state, but it never explicitly names or contrasts a sibling, so it stops short of 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 Guidelines3/5

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

Usage context is implied (physics measurement via the controller's ``measure`` primitive) and there is a useful routing caveat that ``introspection_url`` must be a loopback control-server base URL, not the introspection port. However, there is no explicit when-to-use vs. when-not guidance relative to embodiment_get_physics_state or measure_balance, and no stated preconditions such as a loaded model or active episode.

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