Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

get_region_circuit

Read-only

Retrieve a brain region's circuit topology—members, boundary inputs/outputs, and internal, incoming, and outgoing edges—to map connectivity in a single call.

Instructions

One brain region as a circuit: members, boundary inputs/outputs, and edges.

Use instead of get_cortical_map_detailed + get_brain_regions when you need a region's topology. Edges are [src, dst] pairs (rules dropped) split into internal, incoming (from outside) and outgoing (to outside). A member is a boundary input if it is IPU or fed from outside, an output if it is OPU or feeds outside. designated echoes the region's own inputs/outputs lists, which cover direct member areas only. port_encoding echoes each designated port's kind, signed, frame, positioning and source (not in compact). isolated_area_ids have no mappings.

compact=True returns names instead of ids: members (name, dimensions) and edges (src, dst, scope, rules, synapse count) only, without roles or boundary lists.

Args: region_id: Brain region id (UUID from get_brain_regions). include_child_regions: Include areas of nested regions (default True). compact: Names, dimensions, rules and synapse counts only (default False). synapse_counts: With compact, include per-edge synapse counts (default True).

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": {
      "region_id": "<region_id>"
    },
    "name": "get_region_circuit"
  }
}

Input Schema

NameRequiredDescriptionDefault
compactNo
region_idYes
synapse_countsNo
include_child_regionsNo

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?

Annotations only declare readOnlyHint=true; the description adds substantial semantics beyond that: edges are split into internal/incoming/outgoing with rules dropped, membership rules define boundary input/output status, and isolated_area_ids mark unmapped areas. It also describes exactly what compact mode strips (roles, boundary lists, port_encoding), which is behavioral detail an agent cannot get from the annotation.

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?

It is front-loaded with the one-line purpose and the sibling routing before the detailed edge semantics, and the Args block is clean. The middle paragraph is dense and jargon-heavy (port_encoding, designated echo), so a few clauses could be tightened, but little is truly wasted.

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 read-only topology tool with four parameters and 0% schema coverage, the description covers input meaning, return-shape differences between default and compact modes, and edge classification rules. An output schema exists, yet the description still supplies the structural vocabulary needed to interpret results, so nothing an agent needs before calling is missing.

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 carries the full burden and does: region_id is identified as a UUID sourced from get_brain_regions, include_child_regions is explained as nested-region areas, and compact/synapse_counts are documented including their dependency ('with compact') and defaults. It further clarifies in the body that compact swaps ids for names and dimensions, which is meaning the schema cannot convey.

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 opening line names the exact resource and its contents: one region's circuit, comprising members, boundary inputs/outputs, and edges. The 'use instead of get_cortical_map_detailed + get_brain_regions' clause makes the distinction from the two nearest siblings explicit rather than inferred.

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?

It states the alternative explicitly and the condition that selects this tool: use this instead of composing get_cortical_map_detailed with get_brain_regions when topology is the goal. It also implicitly routes region lookup to get_brain_regions by naming it as the id source.

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