Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

update_cortical_mapping

Create or update cortical-area connections with mapping rules for morphology, weight, and plasticity, then return synapse counts and success status.

Instructions

Create or update connections between two cortical areas.

For plastic rules, optional fields include max_weight (cap on positive weight commits) and plasticity_eta (scales w += eta * R * e). LTP/LTD multipliers are i8 in the runtime. one_sided_firing ("decrement" or "ignore") sets how one-sided bursts change the trace. See build_reflex_mapping and docs/FAQ.md (Circuit design & plasticity).

Args: src_area: Source cortical area ID dst_area: Destination cortical area ID mapping_rules: Connection rules with morphology_id, postSynapticCurrent_multiplier (may be fractional), etc.

Returns: Update result with synapse count and 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": {
      "src_area": "<src_area>",
      "dst_area": "<dst_area>",
      "mapping_rules": "<mapping_rules>"
    },
    "name": "update_cortical_mapping"
  }
}

Input Schema

NameRequiredDescriptionDefault
dst_areaYes
src_areaYes
mapping_rulesYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the operational burden; it discloses that this creates or updates connections and gives plastic-rule details plus a success/synapse-count result. It still omits permissions, overwrite semantics, idempotency, and side effects that matter 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?

The purpose is stated first, followed by parameter and return notes in a conventional docstring layout. It is reasonably compact and front-loaded, though a few runtime details and the docs pointer add niche material.

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

Completeness3/5

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

The description covers purpose, all top-level parameters, important nested plasticity fields, and a return summary for a complex mutation tool with an output schema. It is still missing explicit usage guidance and safety/behavioral details needed when no annotations exist.

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 description coverage is 0%, so the description has to compensate, and it defines all three required arguments plus several nested mapping_rules fields such as morphology_id, postSynapticCurrent_multiplier, max_weight, plasticity_eta, and one_sided_firing. It remains somewhat incomplete because mapping_rules is an open object and the fields are listed with 'etc.' rather than a full schema.

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?

The description opens with a specific verb and resource: create or update connections between two cortical areas. It is clear enough to distinguish from area-level siblings like update_cortical_area or read/delete mapping tools, but it does not explicitly state how it differs from build_reflex_mapping even though it points there.

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?

Usage is implied by the create/update phrasing and by the plastic-rule details, with a reference to build_reflex_mapping and docs/FAQ.md. However, it does not state when to use this tool instead of get/delete mapping or build_reflex_mapping, nor any when-not conditions.

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