Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

configure_mujoco_scene

Apply one MuJoCo scene configuration action to a running controller for safety boundaries, scene objects/cameras, embodiment attachments, or environment feedback.

Instructions

Apply one MuJoCo settings action on the running controller.

apply_scene_objects, apply_scene_cameras, apply_embodiment_attachments, and set_environment_feedback replace the full document. Read get_mujoco_scene_config first and send the complete list back.

Actions and body fields:

  • set_cartesian_safety_boundary: enabled, workspace_min_mm, workspace_max_mm (each [x, y, z] mm), optional center_approach_mm_s.

  • apply_scene_objects: objects list of {id, shape, size_mm, position_mm, rgba, dynamic, mass_g, friction}. shape is sphere, box, or capsule. size_mm is [radius] for a sphere, [radius, half_length] for a capsule, or three half-extents for a box (short lists are padded to three). mass_g is weight in grams for dynamic objects. friction is optional [sliding, torsional, rolling].

  • apply_scene_cameras: disabled_model_camera_names, added_cameras with id, position_mm, fovy_deg, aim_at_safety_zone, orientation_yaw_deg, orientation_pitch_deg, orientation_roll_deg, vision_mode (simple or segmented), feagi_group, resolution_px ([width, height], default [128, 128]).

  • apply_embodiment_attachments: bodies of {body_name, motor_enabled, sensory_enabled, imu_enabled, cameras, xml_mounts}. Each camera has id, offset_mm (body-local [x, y, z] mm from the body/joint origin), fovy_deg, orientation_yaw_deg, orientation_pitch_deg, orientation_roll_deg, vision_mode, feagi_group. Each xml_mounts entry has id, xml, optional xml_path, offset_mm, orientation degrees, and io_mode (full keeps actuators/sensors, geometry attaches bodies only). Full I/O also requires device_id (stable motor-group name) and feagi_group (pinned CorticalUnitIndex, must not collide with host limbs or cameras). Restart after a full-I/O mount so FEAGI creates those cortical areas.

  • set_environment_feedback: rules of {id, enabled, display_name, source} where source is safety_boundary, imu_tilt, body_height, or body_contact. Tilt adds target_body, tilt_limit_deg, up_axis. Height adds target_body, min_height_mm. Contact adds target_body, contact_body.

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": {
      "action": "<action>"
    },
    "name": "configure_mujoco_scene"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNo
actionYes
controller_idNomujoco

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so well: it discloses that apply_scene_objects, apply_scene_cameras, apply_embodiment_attachments and set_environment_feedback destroy and replace the whole document, that a restart is required after a full-I/O mount so FEAGI creates the cortical areas, and that feagi_group must not collide with host limbs or cameras. It also surfaces non-obvious defaults (resolution_px [128,128]) and padding behavior for short size_mm lists.

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 definition is long but dense rather than padded: the purpose statement is front-loaded, and each bullet describes a distinct action's payload, which the empty schema makes necessary. Some nesting (cameras inside bodies inside xml_mounts) is hard to scan, but no sentence is filler.

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 polymorphic single-entry-point tool with 0% schema coverage, the description supplies action vocabulary, body field semantics, units, defaults, destructive-replace warnings, and the restart caveat. An output schema exists, so omitting return-value details is correct, and nothing an agent needs to construct a valid call is missing.

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% and the action enum is absent from the schema, so the description must compensate — and it does, listing all five action values and the per-action body fields with units (mm), shapes (sphere/box/capsule), padding rules, and the io_mode full-vs-geometry distinction. The only parameter left unexplained is controller_id, whose default "mujoco" is visible in the schema but never discussed.

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?

The opening sentence names a specific verb and resource ("Apply one MuJoCo settings action on the running controller") and the body goes on to enumerate every legal action name, so an agent knows exactly what scope of work this tool covers. It is clearly distinguishable from the read-side sibling get_mujoco_scene_config, which is cited as a prerequisite rather than an alternative.

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?

It gives an explicit precondition: read get_mujoco_scene_config first and send the complete list back, and it warns that four of the actions replace the full document. That is real when-to-use guidance. It stops short of saying when to prefer a narrower sibling (e.g. add_mujoco_scene_object) over the bulk apply actions, so it is not a full 5.

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