Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

get_cortical_synapse_counts

Read-only

Retrieve incoming and outgoing synapse counts for a cortical area to verify connections and diagnose signal propagation issues. Use fallback listings when counters read zero after resizing.

Instructions

Get incoming and outgoing synapse counts for a cortical area.

Use this to verify connections exist and diagnose signal propagation issues. Values are the connectome's running counters from cortical_area_properties and can drift after a resize. When that counter reads 0, incoming falls back to the realized incoming synapse listing (incoming_source: synapse_listing). Confirm wiring with get_voxel_neurons or validate_magnitude_passthrough.

Args: area_id: Cortical area identifier (e.g., "Y0NQR2FfX18=")

Returns: incoming_synapses, outgoing_synapses, neuron_count, and source

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": {
      "area_id": "<area_id>"
    },
    "name": "get_cortical_synapse_counts"
  }
}

Input Schema

NameRequiredDescriptionDefault
area_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4.3/5.0
Behavior5/5

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

Goes well past readOnlyHint=true by disclosing data provenance (running counters in cortical_area_properties), a known correctness hazard (values drift after a resize), and the exact fallback path taken when the counter reads 0. That is precisely the kind of caveat an agent needs before trusting the numbers, and it is not derivable 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-loads the one-line purpose, then the usage case, then the caveat, with a clean Args/Returns block. Nearly every sentence earns its place; the only mild redundancy is repeating the source field concept in both the fallback sentence and the Returns list.

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?

Covers purpose, invocation context, alternatives, the drift/fallback caveat, parameter format, and the key return fields, which is more than enough for a one-parameter read tool even though an output schema already exists.

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?

The single parameter has 0% schema description coverage, so the description must carry it; it labels area_id as a cortical area identifier and supplies a literal example format ("Y0NQR2FfX18="). It does not say whether the id is the encoded id versus a plain name, which resolve_cortical_area_by_name would imply is a real confusion.

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: reading incoming and outgoing synapse counts scoped to a single cortical area. The scope phrase "for a cortical area" separates it from a connectome-wide total tool such as get_total_synapse_count, though that sibling is never named explicitly.

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

Usage Guidelines4/5

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

Gives a concrete use case ("verify connections exist and diagnose signal propagation issues") and routes to two named alternatives, get_voxel_neurons and validate_magnitude_passthrough, for confirming wiring. It lacks an explicit when-not condition, e.g. when to prefer the realized listing directly.

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