Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

check_live_state_drift

Detects live brain state that no longer matches the genome or controller, comparing cortical dimensions, burst frequency, agent IDs, IPU widths, stimulus schedules, and stalled feeds, then names the call that restores each value.

Instructions

Report live brain state that no longer matches the genome or the controller.

Run it after health_check() at the start of a session and after any controller restart. Compares: cortical area dimensions (live connectome vs genome blueprint), burst frequency vs the genome's simulation_timestep, the controller descriptor's agent_id vs the registered agents, and each IPU's width vs the columns present in the last sensor snapshot, and any active stimulus schedule (a repeating hold left by a crashed run keeps firing; the restore is cancel_stimulus()), and feed_stalled (a sensory agent still registered whose IPU areas carried no data across two snapshot reads 2 s apart). Every finding names the subject, both values and the update_cortical_area() / set_burst_engine_frequency() call that restores the live value (or says that a controller restart is needed). An empty findings list means nothing drifted among the checked items.

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

Input Schema

NameRequiredDescriptionDefault
controller_idNomujoco

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description must carry the behavioral load, and it does: it discloses that findings name the subject, both values, and the specific restoring call (or that a controller restart is required), and that an empty findings list means nothing drifted among the checked items. The read-only, reporting-only nature is strongly implied by 'Report' and 'Compares' but never stated explicitly, nor is any auth/rate-limit context — a minor gap for an unannotated tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose sentence is well front-loaded, but the central 'Compares:' sentence is a broken run-on — 'the controller descriptor's agent_id vs the registered agents, and each IPU's width..., and any active stimulus schedule (...), and feed_stalled (...)' chains four items with no consistent parallel form. The content is valuable but requires re-reading; splitting the checks into a bulleted or semicolon-delimited list would preserve the detail with far less parsing cost.

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?

For a complex multi-check audit tool with no annotations, the description covers what is compared, when to invoke it, what a finding contains, how to remediate each class of drift, and how to interpret an empty result — and an output schema exists to carry return structure. The only material omission is any explanation of the controller_id argument, which leaves the sole input ambiguous.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has a single parameter, controller_id (default 'mujoco'), with 0% description coverage, so the description is the only place this could be explained — yet controller_id is never mentioned. The text refers to 'the controller descriptor' and 'the registered agents' but gives no clue what values controller_id accepts or what scope it selects. A one-clause note such as 'controller_id selects which controller's live state to audit' would have closed this.

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 gives a specific verb and resource ('Report live brain state that no longer matches the genome or the controller') and then enumerates exactly the comparisons performed: cortical area dimensions, burst frequency vs simulation_timestep, controller agent_id vs registered agents, IPU width vs snapshot columns, stimulus schedules, and feed_stalled. An agent can distinguish this drift audit from the sibling health_check because the description frames it as a follow-up and scopes it to mismatch detection.

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?

Explicit timing guidance is given: 'Run it after health_check() at the start of a session and after any controller restart,' which tells the agent when this tool is the right call. It also names the remediating calls (cancel_stimulus, update_cortical_area, set_burst_engine_frequency) so the agent knows what to do with results. There is no explicit statement of when not to run it, keeping it below a 5.

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