Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

monitor_activity_batch

Read-only

Monitor multiple cortical areas concurrently by fanning out activity calls in parallel; optionally include per-area lifetime stats for batch neural inspection.

Instructions

Monitor multiple cortical areas concurrently.

Composes GET /v1/monitoring/cortical_activity (no new server route) but fans out the calls in parallel so observing 4-6 areas takes roughly the time of a single call instead of N sequential round-trips. Each per-area payload is enriched with the same lifetime_stats block as monitor_activity when include_lifetime_stats is True.

Args: area_ids: List of cortical area ids to observe simultaneously. duration_ms: Monitoring window applied to every area (default 1000). include_lifetime_stats: Forward to per-area enrichment (default True). lifetime_neuron_cap: Per-area neuron sampling cap (default 64). summary_only: When True (default), each area omits spike_history and active_neurons ids. Set False only for raw spike dumps.

Returns: {"duration_ms", "area_count", "results": {area_id: payload}}.

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_ids": "<area_ids>"
    },
    "name": "monitor_activity_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
area_idsYes
duration_msNo
summary_onlyNo
lifetime_neuron_capNo
include_lifetime_statsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4/5.0
Behavior4/5

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

Annotations only supply readOnlyHint=true, and the description adds real behavioral context: it is implemented as parallel fan-out over an existing endpoint with no new server route, each payload is enriched with lifetime_stats when include_lifetime_stats is True, and summary_only strips spike_history and active_neurons ids. It omits failure semantics, notably what happens if some area_ids are invalid or one sub-call fails in a batch.

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?

Purpose and the performance motivation are front-loaded, then structured Args/Returns sections. Most sentences earn their place, though 'no new server route' is internal implementation detail of limited decision value to a calling agent.

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?

Covers purpose, all five parameters, and the return shape (also present as an output schema), which is ample for a read-only batch wrapper. The remaining gap is batch-specific edge behavior such as partial failures or per-area error entries in the results map.

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 carries the full burden, and it documents all five parameters including defaults and per-area scoping (duration_ms 'applied to every area', lifetime_neuron_cap as a 'per-area neuron sampling cap'). The main gap is that area_ids is not given format guidance or limits on list length, which matters for a fan-out tool.

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 with scope: 'Monitor multiple cortical areas concurrently', and the parallel fan-out framing distinguishes it from the single-area sibling monitor_activity, which it names explicitly. An agent can tell what it does and roughly how it differs, though it never says outright 'use monitor_activity for one area'.

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 usage rationale ('observing 4-6 areas takes roughly the time of a single call') and a conditional exclusion for one parameter ('Set False only for raw spike dumps'). It stops short of an explicit when-not rule such as preferring monitor_activity for a single area, so guidance is clear but not exhaustive.

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