Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

stimulate_area_batch

Fires many voxels in one cortical area with a single request, replacing per-voxel round trips. Use it to mirror encoder patterns onto a motor OPU, fill a z-slab, or hold a stimulus for set bursts.

Instructions

Stimulate many voxels in one cortical area in a single request.

Use this to mirror encoder patterns onto a motor OPU, fill a z-slab, or fire a list of test coordinates without one MCP round trip per voxel. The FEAGI API receives one manual_stimulation payload for the whole list and fires one burst per call. Set duration_ms or bursts to hold the stimulus: the payload is re-posted once per burst (burst-counter gated, capped at 30 s). One potential applies to the whole request (no per-voxel values).

Args: area_id: Cortical area identifier (base64 wire id) coordinates_list: List of [x, y, z] integer coordinates; each must have length 3 mode: Stimulation mode (default force_fire) duration_ms: Hold time in milliseconds (default: one burst) bursts: Hold for exactly this many bursts (wins over duration_ms) potential: Membrane potential the forced neurons fire with (finite, > 0). Default None = the server's own (100). It is a probe that bypasses threshold and refractory; a neuron that already fired naturally in that burst keeps its own potential. Mechanisms that read firing potential (MP-driven PSP, graded modulator drivers) see this value; outputs that read strength clamp or scale it themselves. If FEAGI does not apply it (older version) the call returns an error; applied_potential is returned when reported.

Returns: Success status and aggregate neuron / match counts from the API; with a hold also bursts_held, first_burst and last_burst

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

Input Schema

NameRequiredDescriptionDefault
modeNoforce_fire
burstsNo
area_idYes
potentialNo
duration_msNo
coordinates_listYes

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 the wire behavior (one manual_stimulation payload per list, one burst per call, payload re-posted per burst), a hard cap (30 s), and that duration_ms and bursts are gated by a burst counter. The potential parameter's semantics are unusually well disclosed — threshold/refractory bypass, natural-fire override, which mechanisms read it, clamp behavior, and an error path on older FEAGI versions.

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 one-line purpose, then usage, then Args/Returns in a scannable structure. The potential paragraph is dense and a bit sprawling for one parameter, but every sentence carries behavioral information rather than filler.

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?

Appropriately complete for a six-parameter mutation tool with no annotations: behavior, hold semantics, cap, error path, and returned fields (aggregate neuron/match counts, bursts_held, first_burst, last_burst) are all covered, and the Returns section goes beyond what the output schema alone would convey.

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 must compensate, and it documents all six parameters: area_id as a base64 wire id, coordinates_list as [x,y,z] triples of length 3, mode default force_fire, duration_ms default one burst, bursts overriding duration_ms, and potential's finite >0 constraint and server default of 100. The only omission is the set of legal mode values.

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 with explicit scope: "Stimulate many voxels in one cortical area in a single request." The batching/scoping constraint (\(many\) voxels, \(one\) area, \(one\) request) is exactly what distinguishes it from the single-area sibling stimulate_area, so an agent can route without opening either schema.

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 concrete when-to-use framing (mirror encoder patterns onto a motor OPU, fill a z-slab, fire a list of test coordinates) and the economic motivation ("without one MCP round trip per voxel"). It never names the single-voxel alternative or states when-not to batch, so routing to the sibling is left to inference.

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