Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

update_cortical_area

Modify an existing cortical area's neural parameters, position, dimensions, or memory settings to tune circuit behavior and runtime configuration.

Instructions

Update properties of an existing cortical area.

Modify neural parameters, position, dimensions, or other properties. For rate-modulated (homeostatic) leak on dense custom LIF areas, set rate_modulated_leak to an object with fields such as enabled, target_firing_per_burst, rate_ema_tau_bursts, gain, leak_min, leak_max, and update_every_n_bursts (see API docs for example JSON); use enabled: false to disable. Flat genome suffix cx-hmlk-d maps to the same key.

Memory areas: memory_neuron_cap (int >= 0; most memory neurons this area may hold, 0 = no per-area cap, only the shared pool limits it) and ltm_eviction (lru or none; when the cap or the shared pool is full, lru evicts the least recently reactivated neuron instead of failing creation). mp_change_mode (none, mp_differential, mp_ratio) makes memories match MP changes over the temporal window instead of absolute values (needs temporal_depth >= 2; replay is off). Set mp_learning_enabled: false in the same call when switching from MP learning; FEAGI rejects both on. Tune with mp_delta_quantization (MP units, > 0) or mp_ratio_quantization (percent, > 0). Verify with get_memory_area_runtime_config (mp_encoding.effective_mode).

neuron_excitability is a fraction in 0..=1 (the share of bursts a neuron above threshold fires; 1 = always). Percent values such as 25 are rejected; pass 0.25.

Args: cortical_id: Cortical area ID to update updates: Dictionary of property updates

Returns: Update result with success status

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": {
      "cortical_id": "<cortical_id>",
      "updates": "<updates>"
    },
    "name": "update_cortical_area"
  }
}

Input Schema

NameRequiredDescriptionDefault
updatesYes
cortical_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A3.7/5.0
Behavior4/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 it discloses real behavioral rules: percent-style values for neuron_excitability are rejected, mp_change_mode requires temporal_depth >= 2 with replay off, the server actively rejects conflicting MP learning settings, and the return is an update result with success status. Not disclosed are what happens to properties omitted from the updates dict (preserved vs reset), whether unknown keys error, or whether the operation is atomic.

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

Conciseness3/5

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

Purpose is front-loaded correctly and most sentences carry technical weight, but the body is a dense run-on of double-backtick markup and nested parentheticals that is hard to scan, and the key list is interleaved with behavioral caveats rather than grouped. Some of the interface quoting (``enabled: false``) could be trimmed without loss.

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 mutation tool with an untyped free-form payload, a rich output schema, and no annotations, this is substantially complete: it covers the high-risk parameters, their value domains, and the cross-parameter constraint that causes server rejection. The remaining gap is the generic case — what an arbitrary update key means and whether omissions preserve existing values.

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% and `updates` is a free-form object with additionalProperties, so the description must compensate — and it does, defining the meaning, types, and constraints of many keys (memory_neuron_cap with 0 = no per-area cap, ltm_eviction lru/none eviction semantics, mp_change_mode enum values, quantization units, neuron_excitability as a 0..=1 fraction). It is not exhaustive ('or other properties'), and it never states how unrecognized keys are handled, which is a meaningful gap for an open-ended dict.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource ('Update properties of an existing cortical area') and enumerates the categories of updatable state (neural parameters, position, dimensions, other properties). It is distinguishable from create/delete/clone siblings by name alone. What it lacks is any explicit contrast with sibling mutators such as update_cortical_mapping or update_morphology.

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

Usage Guidelines3/5

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

Guidance is present but at the parameter level rather than the tool-selection level: it says when to set rate_modulated_leak (dense custom LIF areas), when mp_change_mode requires temporal_depth >= 2, and that mp_learning_enabled must be turned off in the same call. It also names get_memory_area_runtime_config as the verification step. There is no statement of when to choose this tool over sibling update tools, nor any exclusion or prerequisite (e.g. area must exist, required permissions).

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