Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

get_sensor_snapshot_last

Read-only

Retrieve the latest sensory input decoded by the burst loop to see what connected sensors delivered, with optional cortical ID filtering, summary statistics, threshold counts, or raw voxel samples.

Instructions

Latest sensory input decoded by the burst loop (/v1/input/sensor_snapshot/last).

Surfaces exactly what FEAGI consumed from connected sensors this burst. Default summary_only=True drops per-voxel samples and returns areas_summary with per-Z count/min/max/mean. Pass threshold (the IPU fire threshold) to add count_gte_threshold per Z layer. Set summary_only=False only when a raw XYZP dump is required.

Args: cortical_id: Optional base64 cortical id filter. summary_only: Drop voxel samples (default True). threshold: Optional potential cutoff for per-Z counts. Not hardcoded.

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

Input Schema

NameRequiredDescriptionDefault
thresholdNo
cortical_idNo
summary_onlyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A3.8/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, and the description adds real behavior beyond that: the default payload shape (areas_summary with per-Z count/min/max/mean), what gets dropped when summary_only=True, and what threshold adds. It does not discuss burst-timing edge cases (e.g., no sensor input this burst) or freshness/latency semantics, so it is good but not rich.

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 prose paragraph is front-loaded and each sentence adds information about output shape or parameter effect. The trailing Args block largely restates the paragraph, which is mild redundancy but keeps parameters scannable.

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?

With an output schema present, the description need not explain return values, yet it usefully previews areas_summary and count_gte_threshold. For a 3-param read-only snapshot tool it is essentially complete; only empty/no-data burst behavior and pagination-or-size limits are unaddressed.

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 must carry the load and largely does: cortical_id is described as an optional base64 cortical id filter, summary_only as dropping per-voxel samples with a stated default, and threshold as the IPU fire threshold producing per-Z counts. cortical_id could specify behavior when omitted (all areas) and accepted encoding details.

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?

The description states a specific resource and timing ('Latest sensory input decoded by the burst loop') and adds scope ('exactly what FEAGI consumed from connected sensors this burst'), which clearly separates it from motor-side siblings like get_motor_snapshot_last. It stops short of naming an alternative explicitly, so it lands at 4 rather than 5.

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?

It gives concrete invocation conditions: use the default summary_only=True for per-Z aggregates, and set summary_only=False 'only when a raw XYZP dump is required'; threshold is opt-in for count_gte_threshold. What is missing is tool-selection guidance (e.g., when to prefer this over a historical snapshot or the motor equivalent).

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