Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

get_motor_snapshot_last

Read-only

Retrieve the current motor output snapshot to verify OPU area firing and confirm motor packets are published to agents; optionally filter by agent or cortical area and return summary-only data.

Instructions

Latest motor output produced by the burst loop (/v1/output/motor_snapshot/last).

Use this to confirm whether OPU areas are firing and whether motor packets are actually being published to a connected agent. The response contains:

  • has_data / burst_num / timestamp_ms - freshness markers.

  • areas_summary - per OPU area sample_count and per-Z potential count/min/max/mean (no per-neuron samples).

  • areas - per OPU firing samples (xyz + potential); only when summary_only=False.

  • agents - per-agent publish stats with published and last_error.

Args: agent_id: Optional agent filter for the per-agent stats. cortical_id: Optional base64 OPU id to return only that area in areas and adjust total_areas / total_neurons (same id as the JSON cortical_id in each area row). Use to isolate a cart or hinge motor when multiple OPUs and internal areas appear together. summary_only: Drop per-neuron areas samples (default True). Set False only when the raw samples are required, ideally with cortical_id.

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_motor_snapshot_last"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idNo
cortical_idNo
summary_onlyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4.4/5.0
Behavior4/5

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

The readOnlyHint already tells the agent this is a safe read, but the description adds real behavior: summary_only defaults to True and drops per-neuron samples, and cortical_id narrows areas while adjusting total_areas/total_neurons. It does not discuss cost or latency of pulling raw samples beyond the advice to pair it with cortical_id, which keeps it short of a 5.

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 scannable bulleted breakdown of the response and an Args block. The response-field bullet list partly duplicates the output schema, which is mild redundancy rather than noise, so structure is strong but not maximal.

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 read-only diagnostic snapshot with an output schema, the definition covers scoping, defaults, encoding requirements, and the summary/raw tradeoff, so an agent can call it correctly without more. The one gap is that it does not say what an empty or never-fired snapshot looks like beyond the has_data marker.

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%, and the description fully compensates: agent_id as a per-agent stats filter, cortical_id as a base64-encoded OPU id that must match the JSON cortical_id (with the isolation use case spelled out), and summary_only's default plus the tradeoff of setting it False.

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 ("Latest motor output produced by the burst loop") and ties it to the concrete endpoint `/v1/output/motor_snapshot/last`. It also names the two things it is used to confirm (OPU areas firing, motor packets published), which distinguishes it from the sibling snapshot and summary tools.

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 explicit diagnostic context: use it to confirm whether OPU areas are firing and whether packets are reaching a connected agent. That is clear when-to-use guidance, but it does not state when to prefer a sibling such as get_motor_group_summary or get_burst_engine_status instead.

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