Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

auto_polarity_probe

Force-fires OPU columns to infer sensor direction from centroid shifts, producing a direction map for wiring reflex morphology without manual motor-convention decoding.

Instructions

Empirically discover OPU column -> sensor direction by force-firing each column.

For each column x in columns (default [0, 1]): force-fire (x, 0, intensity_z), wait settle_ms, snapshot the sensor, and report the weighted-z centroid shift. The result is an inferred direction map you can use to wire your reflex morphology without manually decoding the embodiment's motor convention.

Set include_mujoco_physics=True to append MuJoCo embodiment_get_physics_state samples (actuator ctrl / joint qpos) per column so a no_change in FEAGI’s sensor frame can be compared to ground truth from the simulator’s introspection server (requires auto-discovered or reachable controller URL).

Requires the embodiment agent to be subscribed to motor output for opu_id.

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": {
      "opu_id": "<opu_id>",
      "sensor_id": "<sensor_id>"
    },
    "name": "auto_polarity_probe"
  }
}

Input Schema

NameRequiredDescriptionDefault
opu_idYes
columnsNo
repeatsNo
sensor_idYes
settle_msNo
intensity_zNo
controller_idNomujoco
include_mujoco_physicsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4.3/5.0
Behavior4/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 most of it: it discloses the per-column actuation procedure (force-fire, settle, snapshot, centroid shift), the prerequisite that the embodiment agent be subscribed to motor output for opu_id, and that MuJoCo sampling requires an auto-discovered or reachable controller URL. It stops short of stating residual effects (does it leave actuators firing?), wall-clock cost from repeats x columns x settle_ms, or error behavior on an unreachable controller.

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-loaded with the outcome, then the per-column loop, then the optional MuJoCo branch and the prerequisite. Dense but every sentence carries information; the MuJoCo sentence is slightly convoluted ('a no_change in FEAGI's sensor frame can be compared to ground truth from the simulator's introspection server') but justified by the non-obvious value it explains.

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 complex, physically-actuating tool with 8 params and an output schema (so return values need no explanation), the definition covers procedure, prerequisites, and the optional physics comparison. Missing pieces are the `repeats` semantics and any notion of duration or side effects, which matter for an agent deciding whether to run this casually.

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 coverage is 0% across 8 parameters, so the description must compensate, and it mostly does: columns (with default [0,1]), intensity_z, settle_ms, sensor_id, opu_id, controller_id (via 'auto-discovered or reachable controller URL'), and include_mujoco_physics all gain meaning. The notable gap is `repeats` (default 3), which is never mentioned, so an agent cannot tell whether it is averaging trials or retrying on failure.

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?

Opens with a specific verb+resource+goal: 'Empirically discover OPU column -> sensor direction by force-firing each column.' This is clearly distinguishable from siblings like embodiment_get_physics_state (introspection read) and build_reflex_mapping (downstream wiring), both of which it references in its own text.

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 states the intended purpose clearly ('use to wire your reflex morphology without manually decoding the embodiment's motor convention') and gives a conditional variant ('Set include_mujoco_physics=True to append ... so a no_change ... can be compared to ground truth'). It does not explicitly say when NOT to use it, e.g. versus build_reflex_mapping, but the context is unambiguous.

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