Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

create_cortical_area

Create OPU, IPU, CUSTOM, or MEMORY cortical areas programmatically and configure placement, dimensions, and neuron properties without manual JSON editing.

Instructions

Create a new cortical area programmatically.

Use this to add OPU areas, IPU areas, or custom processing areas to the genome without manual JSON editing.

If the user asked for a "new circuit" as a named container in the brain map with no voxel geometry, they likely mean a brain region — use create_brain_region instead.

CUSTOM/MEMORY areas must live in a functionally named circuit. Workflow: decide the function (Sit, Walk CPG, OR Gate), create_brain_region with that title, then pass the new region_id here. Do not parent into Autogen Circuit.

Args: name: Human-readable name (persisted in genome / BV). Use clear role- or circuit-based names (e.g. OrGate_Input_A); do not prefix with Mcp/MCP (see docs NEW_TOOLS naming policy). cortical_type: "OPU", "IPU", "CUSTOM", or "MEMORY". MEMORY sends sub_group_id: MEMORY on the custom-area endpoint. FEAGI uses that field to assign a memory id (byte 0 m). A custom id is returned as memory_area_not_created; delete that area before retrying. dimensions: [width, height, depth] in voxels (for CUSTOM/MEMORY only) position: [x, y, z] 3D coordinates neurons_per_voxel: Number of neurons per voxel (default: 1) device_count: Number of devices for IPU/OPU (default: 1) properties: Optional additional properties (grp_id, etc.). Neuron parameters (neuron_fire_threshold, neuron_post_synaptic_potential, neuron_refractory_period, neuron_excitability, neuron_leak_coefficient, neuron_mp_charge_accumulation, neuron_psp_uniform_distribution) are applied right after creation through the update_cortical_area path; the result reports applied_properties and rejected_properties. brain_region_id: Parent brain region UUID for CUSTOM/MEMORY. Required. The parent region's title must name the circuit function. Autogen Circuit / Untitled are rejected — call create_brain_region first (e.g. title Sit, Walk CPG, OR Gate). May use properties["brain_region_id"] instead. skip_placement_validation: Set True only to bypass MCP checks: (1) anchors must be at least 20 voxels from world origin (BV axis visibility), (2) anchors must be at least 32 voxels from any existing area (label overlap in BV). cortical_id: For OPU/IPU: type key like "opse", "isvi" (required for OPU/IPU) group_id: For OPU/IPU: group identifier 0-255 (default: 0) data_type_configs_by_subunit: For OPU/IPU: map of subunit index to config e.g. {"0": 256, "1": 256, "2": 256} for 3-subunit servo with absolute+linear per_device_dimensions: For OPU/IPU: override per-device dimensions [x,y,z] e.g. [1, 1, 32] for single-joint servo with 32-angle resolution Total X = per_device_dimensions[0] * device_count

Note: FEAGI auto-places IPU/OPU areas, so position is frequently overridden. The result carries a placement block reporting the requested vs actual coordinates and a relocated flag. For IPU/OPU areas whose canonical wire id must match a sensorimotor coder binding, prefer create_io_area_for_unit which derives the id for you.

Returns: Created area info with cortical_id plus a placement summary.

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": {
      "name": "<name>",
      "cortical_type": "<cortical_type>",
      "dimensions": "<dimensions>",
      "position": "<position>"
    },
    "name": "create_cortical_area"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
group_idNo
positionYes
dimensionsYes
propertiesNo
cortical_idNo
device_countNo
cortical_typeYes
brain_region_idNo
neurons_per_voxelNo
per_device_dimensionsNo
skip_placement_validationNo
data_type_configs_by_subunitNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4.9/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden and does so: it discloses that FEAGI auto-places IPU/OPU areas and may override position, that the result carries a placement block with a relocated flag, that neuron properties are applied post-creation with applied/rejected reporting, and the two voxel-distance validation rules. It also warns that a returned memory_area_not_created id must be deleted before retrying.

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?

Structure is excellent: usage routing first, then Args, then Notes, then Returns. Length is justified by 13 parameters and a conditional workflow, but a few asides (naming-policy doc reference, restating the create_brain_region prerequisite twice across Args and workflow) could be trimmed without losing information.

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 13-parameter mutation tool with no annotations, the definition covers purpose, prerequisites, validation pitfalls, property application behavior, and even a brief Returns summary despite an output schema existing. An agent has everything needed to call it correctly or divert to a sibling.

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

Parameters5/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 compensate, and it documents all 13 parameters including defaults, formats, and non-obvious semantics (e.g., MEMORY sending sub_group_id, byte 0 'm' assignment, total X = per_device_dimensions[0] * device_count, properties["brain_region_id"] alias). This is meaning well beyond the bare typed schema.

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 ("Create a new cortical area programmatically") and immediately scopes the types it covers (OPU, IPU, CUSTOM). It explicitly distinguishes itself from create_brain_region and later from create_io_area_for_unit, so an agent can route correctly without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives an explicit negative case ("if the user asked for a new circuit as a named container with no voxel geometry, use create_brain_region instead") and an ordered prerequisite workflow for CUSTOM/MEMORY (create_brain_region first, then pass region_id). It also names an alternative tool for canonical wire ids and states the prohibited parent (Autogen Circuit).

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