Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

embodiment_set_joint_state

Set embodiment joint positions and velocities deterministically to test reflex circuits at a specific physical state without waiting for natural dynamics.

Instructions

Place embodiment joints deterministically (e.g. tilt pendulum, position arm).

Useful to verify a reflex circuit responds correctly at a given physical state without waiting for the dynamics to wander there organically. Works with any controller exposing POST /v1/set_state on its introspection server. When introspection_url is omitted, the URL is auto-discovered via the launcher-written descriptor. Free and ball joints are not writable here; read them from embodiment_get_physics_state.

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

Input Schema

NameRequiredDescriptionDefault
timeout_sNo
joint_qposNo
joint_qvelNo
controller_idNomujoco
introspection_urlNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden. It does disclose two valuable behavioral facts: the controller must expose `POST /v1/set_state`, and the URL is auto-discovered from a launcher descriptor when omitted, plus the free/ball joint write limitation. It omits what happens to joints not named in the call, whether state persists across subsequent simulation steps, and any auth or failure behavior — significant gaps for a mutation tool.

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 action and examples, then escalating to usage rationale and transport constraints; each sentence carries information. It is slightly verbose in the parenthetical examples and the phrase about dynamics wandering, but nothing is pure filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A five-parameter mutation tool with zero schema description coverage and no annotations needs the description to explain the joint-state payload shape, which it does not. The output schema being present relieves it of explaining return values, but the central ambiguity — how to express the desired joint state — is left unresolved.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across five parameters, and the description only incidentally explains `introspection_url` (auto-discovery when omitted). It says nothing about `joint_qpos` vs `joint_qvel` (types, keying by joint name, units/radians vs degrees), `controller_id` (default 'mujoco' and what alternatives mean), or `timeout_s` behavior.

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 precise verb+resource (place embodiment joints deterministically) and anchors it with concrete examples (tilt pendulum, position arm). It also implicitly separates itself from the read-side sibling by redirecting non-writable joints to `embodiment_get_physics_state`, so an agent can tell what this tool does and does not cover.

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?

Gives an explicit motivation for use — verifying a reflex circuit at a chosen physical state instead of waiting for dynamics to drift there — which is real when-to-use guidance. It also names an exclusion (free and ball joints) and points to the alternative reader. It stops short of describing ordering/interaction with reset or step tools, so not a 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