Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

set_safety_boundary

Configure the Cartesian safety boundary for an experiment and robot, including optional pain feedback, to constrain real and simulated movement to a defined workspace.

Instructions

Set the safety boundary (Cartesian box) for the experiment and robot.

There is one boundary per experiment and robot. The real arm and every sim enforce it. It is stored with its frame (embodiment_base or world; when omitted, a new box takes its frame from the robot model) and a pain flag (default on: the brain receives pain when the robot presses against the boundary). The user can also edit it in Studio under Embodiment settings > Safety boundary.

When enabled is true, workspace_min_mm and workspace_max_mm are required [x, y, z] corners in millimeters, and max must exceed min on every axis. center_approach_mm_s is the optional homing speed.

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": {
      "enabled": "<enabled>"
    },
    "name": "set_safety_boundary"
  }
}

Input Schema

NameRequiredDescriptionDefault
painNo
frameNo
enabledYes
controller_idNomujoco
workspace_max_mmNo
workspace_min_mmNo
center_approach_mm_sNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4.4/5.0
Behavior4/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 it delivers real behavioral context: the boundary is enforced by both the real arm and simulators, persisted with a frame, and linked to a pain signal delivered to the brain when pressed. It also states the axes validation rule ('max must exceed min on every axis') and defaults (pain on, frame derived from robot model when omitted). It does not cover permissions or what happens when enabled=false.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the opening sentence, followed by cardinality, persistence semantics, and then the parameter contract. Parentheticals are used to inline units and enumerations compactly; no sentence is redundant.

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 7-parameter mutation tool with zero schema descriptions and no annotations, the description covers enforcement, storage, defaults, units, and the min/max validation rule, which is nearly everything an agent needs to invoke it correctly. The omission of controller_id and of disabled-state behavior are the only meaningful gaps; return values are handled by the existing output schema.

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 7 parameters, so the description must compensate, and it does for six of them: enabled, workspace_min_mm and workspace_max_mm (required [x, y, z] corners in millimeters with a validity constraint), center_approach_mm_s (homing speed), frame (embodiment_base or world with default derivation), and pain (default on, effect on the brain). Only controller_id (default 'mujoco') is left undocumented.

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 first sentence names a specific verb and resource ('Set the safety boundary (Cartesian box)') and scopes it to the experiment and robot. It is clearly distinguishable from the sibling set, which is dominated by modulation, encoding, and circuit-building tools.

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 establishes the cardinality ('one boundary per experiment and robot') and describes the enforcement context (real arm and every sim), which tells an agent this is a persistent configuration write rather than a query. It also notes the Studio path as an alternative editing surface, but gives no explicit when-not-to-use or sibling routing rules.

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