Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

schedule_stimulus

Schedule stimulation at exact burst offsets so neurons fire on precise burst numbers without wall-clock jitter. Use it to replay timed stimulus patterns or hold areas on until cancelled.

Instructions

Force-fire voxels at exact burst offsets, inside the burst loop (no wall-clock jitter).

entries is [{"burst_offset": 0, "stimuli": [{"area_id": <id or name>, "coordinates": [[x, y, z], ...]}]}]. Offset 0 is the next burst; FEAGI turns offsets into absolute burst numbers when it accepts the request, fires all areas of one entry on the same burst, and fires an entry that is already late on the next burst. Returns schedule_id, start_burst and end_burst (end_burst is null for a repeating schedule). Stop a schedule with cancel_stimulus; list active ones with get_stimulus_schedule. An entry fires once, at its burst_offset; FEAGI's request has no per-entry duration, so a bursts key is rejected. To hold a pattern for N bursts, list one entry per burst (offsets k..k+N-1; put them in steps_file to cost no tokens) or use hold_stimulus. To hold an area on, use one entry at offset 0 with repeat_period_bursts=1 and cancel it with cancel_stimulus.

Args: entries: Burst-offset entries (each needs a non-empty stimuli list) steps_file: Path to a JSON file holding the same list as entries (for long schedules, such as replaying recorded values, so they cost no tokens). Pass entries or steps_file, not both. Errors name the problem: missing file, invalid JSON, not a list, empty list, or an item that is not an object. repeat_period_bursts: Optional. Replay the entries at offset + k * period until cancelled; must be greater than the largest burst_offset 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. Sent once on every schedule entry (one value per entry, none per voxel). label: Optional group name (<= 64 characters). cancel_stimulus(label=...) then cancels every schedule (and hold) with it. Kept in this MCP server only, so it is lost when the server restarts; use the schedule_id then.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "schedule_stimulus"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNo
entriesNo
potentialNo
steps_fileNo
repeat_period_burstsNo

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?

With no annotations, the description carries the full burden and does so: offset 0 means the next burst, FEAGI converts offsets to absolute burst numbers on acceptance, late entries fire on the next burst, all areas of one entry fire on the same burst, and 'bursts' keys are rejected. It also discloses return fields (schedule_id, start_burst, end_burst, applied_potential), the older-FEAGI error path, and that label is server-local and lost on restart.

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 key behavior is front-loaded and the Args block is well organized, but the prose is dense and long, and a few points (potential's downstream readers, the label restart caveat) are repeated across the body and Args section. Nearly every sentence earns its place, though the total is heavier than strictly necessary.

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 five-parameter mutation tool with no annotations, this is complete: it covers input shapes, defaults, constraints, error behavior, return fields, and lifecycle (cancellation and restart persistence). An output schema exists, so the return-value summary is bonus rather than a gap.

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 does for all five parameters: the nested shape of entries, steps_file as a token-free JSON path with named error cases, repeat_period_bursts constrained to exceed the largest burst_offset, potential as a finite >0 membrane potential defaulting to 100 applied once per entry, and label capped at 64 characters and usable for group cancellation.

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 sentence names a specific verb and resource ('Force-fire voxels at exact burst offsets') and adds the key differentiator 'inside the burst loop (no wall-clock jitter)'. It also names the sibling tools it is not (cancel_stimulus, get_stimulus_schedule, hold_stimulus), so an agent can route without opening a schema.

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 and when-to-use-something-else guidance: cancel with cancel_stimulus, list with get_stimulus_schedule, use one entry per burst or hold_stimulus to hold a pattern, and use repeat_period_bursts=1 plus cancel_stimulus to hold an area on. It also states the mutual exclusion between entries and steps_file.

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