Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

get_cortical_mapping

Read-only

Retrieves stored mapping rules between source and destination cortical areas, returning rule count and resolved IDs without mapping API errors for non-plastic rules.

Instructions

Get stored mapping rules from the source area properties record.

Reads cortical_mapping_dst on the source area (same bag Brain Visualizer uses). Does not call mapping_properties, which 400s when a non-plastic rule omits plasticity_constant.

Args: src_area: Source cortical area ID or display name dst_area: Destination cortical area ID or display name

Returns: rules list plus rule_count, src_name and the resolved src_id/dst_id

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>"
    },
    "name": "get_cortical_mapping"
  }
}

Input Schema

NameRequiredDescriptionDefault
dst_areaYes
src_areaYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A3.8/5.0
Behavior4/5

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

Goes beyond the readOnlyHint=true annotation by disclosing the underlying storage location (the source area's cortical_mapping_dst bag), the Brain Visualizer parity, and the specific failure mode avoided (mapping_properties 400s when a non-plastic rule omits plasticity_constant). That is genuinely useful behavioral context an agent could not infer from annotations or schema.

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 core purpose in the first sentence, followed by a justification and clean Args/Returns blocks, so an agent can parse it quickly. The reStructuredText markup and the Returns section are slightly redundant given an output schema exists, but nothing is truly wasteful.

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 two-parameter read tool with an output schema and a readOnlyHint annotation, the description covers purpose, input semantics (ID or name), and behavior rationale adequately. Missing only explicit sibling routing and any note on what happens when one area has no stored rules.

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 the schema only supplies bare 'Src Area'/'Dst Area' titles, so the description carries the burden; it does so by stating both parameters accept either a cortical area ID or a display name, which materially changes how an agent should populate them. It stops short of describing resolution behavior when a name is ambiguous or duplicated.

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?

States a specific verb and resource: 'Get stored mapping rules from the source area properties record,' and names the exact field read (cortical_mapping_dst). It is clearly a read of mapping rules for a src/dst pair, which separates it from the mutating siblings like update_cortical_mapping and delete_cortical_mapping, though it does not explicitly distinguish itself from read-side siblings such as get_cortical_map_detailed.

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 rather than stated: the description explains it reads the stored rules the same way Brain Visualizer does and avoids calling mapping_properties, which is framed as an internal implementation avoidance rather than a routing instruction for the agent. There is no explicit 'use this when... instead of X' guidance against the many sibling mapping tools.

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