Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

download_region_genome

Exports a brain-region subtree as a standalone, self-contained genome JSON, stripping mappings outside the branch so it can be loaded or shared independently.

Instructions

Download a brain-region subtree as a standalone genome JSON.

Exports only the cortical areas, morphologies, brain regions, and physiology that belong to the specified region branch. Destination mappings to areas outside the branch are stripped so the result is a self-contained genome that can be loaded independently or shared.

Use get_brain_regions first to discover available region IDs and their titles.

Natural language: "export brain region", "save neural circuit", "download region as genome".

FEAGI lists every morphology of the brain in the export; by default only the morphologies that a mapping rule of the exported areas, or of a mapping entering the branch from outside, names are kept. Mappings entering the branch are cut by the core export (they live in their source areas): they are listed in export_notes.entering_mappings (inline) or entering_mappings (file_path) and must be re-created when the region is merged.

Args: region_id: UUID of the root brain region to export (e.g. from get_brain_regions output). prune_morphologies: Drop morphologies no exported mapping references (default True); False returns the raw export. file_path: Write the export to this file and return {file_path, bytes, summary} instead of the inline JSON (about 25 KB for a small region); pass the path to validate_genome(file_path=...).

Returns: Region genome JSON (same shape as a full genome download).

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": "download_region_genome"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_pathNo
region_idYes
prune_morphologiesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses that out-of-branch destination mappings are stripped, that entering mappings are cut and surfaced in export_notes.entering_mappings and must be re-created on merge, and that FEAGI lists every morphology while prune_morphologies defaults to keeping only referenced ones. It also documents the file_path return shape ({file_path, bytes, summary}) and rough payload size.

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 core purpose and prerequisite are front-loaded in the first lines, and the dense morphology/entering-mapping paragraph earns its length by explaining non-obvious export behavior. Minor waste in the redundant 'Natural language' alias line and in restating the return shape twice (prose plus Args block).

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 three-parameter export tool with no annotations, the definition covers preconditions, destructive scope effects, morphology pruning, the two output modes, and the merge-time consequence of cut mappings. An output schema exists, yet the description still supplies enough operational context to call it correctly.

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 coverage is 0%, so the description must compensate, and it documents all three parameters: region_id as the root region UUID sourced from get_brain_regions, prune_morphologies' default and what False returns ('raw export'), and file_path's write-to-disk side effect plus its distinct return contract and downstream use with validate_genome.

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?

States a specific verb and resource ('Download a brain-region subtree') plus the output artifact ('standalone genome JSON'), then clarifies scope: only contents of the specified region branch, with external destination mappings stripped. This distinguishes it from the whole-genome download sibling by scoping to a subtree and noting the result has 'the same shape as a full genome download.'

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?

Explicitly tells the agent to call get_brain_regions first to obtain region IDs, and points to validate_genome(file_path=...) as a follow-up on the file-path variant. It does not state when to prefer download_genome over this tool or what happens if the region has no children, so it is clear but not fully routing.

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