Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

get_controller_lifecycle_events

Read-only

Reads recent controller lifecycle events from runtime logs and returns a normalized timeline to diagnose unexpected embodiment stops, recovery transitions, and SDK reconnects.

Instructions

Read recent desktop/controller lifecycle events from runtime log files.

This is a read-only diagnostic tool that correlates:

  • desktop lifecycle actions (controller stop/start + experiment stop POST),

  • controller recovery transitions (feagi_unreachable/back_online),

  • Python SDK reconnect markers (disconnect/connect events).

Use this when a running embodiment appears to stop unexpectedly and you need a normalized event timeline without manually parsing multiple log files.

Args: controller_id: Controller bundle id, defaults to mujoco. since_ts_ms: Optional unix-ms lower bound filter. limit: Maximum events returned (most recent retained).

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

Input Schema

NameRequiredDescriptionDefault
limitNo
since_ts_msNo
controller_idNomujoco

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description goes further by naming the three log sources it merges and noting that the limit retains the most recent events, which tells the agent the ordering and truncation behavior. It stops short of stating whether logs are local or remote or how missing sources are handled.

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 purpose, then a bulleted list of correlated sources, then a clear usage trigger and args. The Args section restates the schema but earns its place given 0% schema coverage; the 'correlates' bullet list is slightly long but informative.

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?

An output schema exists so return shape needn't be described, and readOnlyHint covers the safety profile. With all three parameters explained and the diagnostic use case stated, an agent has everything needed 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 description coverage is 0%, yet the description documents all three parameters: controller_id as a bundle id defaulting to 'mujoco', since_ts_ms as a unix-ms lower bound filter, and limit as the maximum events with most-recent retention. This fully compensates for the empty schema descriptions.

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 ('Read recent desktop/controller lifecycle events from runtime log files') and enumerates the three event classes it correlates. It does not name or contrast against any sibling tool, so an agent must still infer where it sits relative to the many other get_* diagnostics.

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 an explicit trigger: use it when a running embodiment appears to stop unexpectedly and you need a normalized timeline without parsing multiple logs. It offers no when-not conditions or named alternatives (e.g., get_experiment_stop_cause), which keeps it short of 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