Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

list_area_synapses

Read-only

Lists realized synapse topology for a cortical area, showing incoming or outgoing connections with summary counts or paged edge details. Use it to inspect actual connections, not morphology rules.

Instructions

Realized synapse topology for a cortical area (not morphology rules only).

direction (important): The default path lists efferent (outgoing) synapses from this area. IPU→OPU plastic synapses for a motor area are afferent (into the OPU); for those, pass direction="incoming" or direction="both". Otherwise you will see 200 with an empty list even when inspect_cortical_areas_minimal reports a large incoming_synapse_count.

view (default summary): unique source/target counts, unique weights/PSP, and fan-in/fan-out. Use view="edges" only when a paged edge list is required (limit / offset).

direction=both returns one dict with outgoing and incoming keys.

view="edges" rows carry edge_flags (raw byte), edge_flag_names (decoded) and modulation_group (0 = unmodulated).

For morphology rules (morphology id, PSC, plasticity mode), use get_cortical_mapping or get_connectivity_summary instead of this tool.

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_area_id": "<cortical_area_id>"
    },
    "name": "list_area_synapses"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNosummary
limitNo
offsetNo
directionNooutgoing
cortical_area_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries the real behavioral load: it warns that the default direction silently returns HTTP 200 with an empty list even when inspect_cortical_areas_minimal shows a large incoming_synapse_count, and it explains the differing return shapes (summary counters vs. one dict with outgoing/incoming keys vs. edge rows). It does not discuss cost or result-size limits for large areas, which is the one remaining behavioral gap.

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?

Every paragraph earns its place — the default-direction trap, the view modes, the both-direction return shape, and the edge-row fields are all non-obvious. The backtick-and-bold markup is heavy and the parenthetical in the opening line ("not morphology rules only") is awkward, but the important gotcha is front-loaded under a bold label rather than buried.

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?

An output schema exists and annotations cover the read-only safety profile, so the description need not explain return values — yet it still describes the summary counters, the both-direction dict, and the edge-row fields, which is more than required. The definition is complete for correct invocation; only pagination bounds and behavior on very large areas are unaddressed.

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 must supply all parameter meaning — and it does for direction (outgoing/incoming/both, with the default called out), view (summary default vs. edges, tied to limit/offset), and the edge-row fields. Only cortical_area_id and the limit/offset semantics (page size bounds, max) are left implicit, which is a minor gap given 5 parameters.

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 opening line states the resource precisely — realized synapse topology for a cortical area — and explicitly excludes morphology-rule tools, naming get_cortical_mapping and get_connectivity_summary as the alternatives. The verb is only implied ("lists" appears later in the direction paragraph), so the very first sentence reads more like a resource label than an action, which keeps it just short of a 5.

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 gives explicit when-to-use guidance for the risky default: outgoing/efferent is the default path, so motor-area IPU→OPU afferent synapses require direction="incoming" or "both". It also scopes view="edges" to cases where a paged edge list is genuinely needed and routes morphology-rule queries to sibling tools, covering both selection and exclusion.

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