Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

measure_audio_io_disparity

Measure the live gap between an audio input area and its output while streaming, revealing dropped frames, missing columns, phase mismatches, and magnitude errors.

Instructions

Measure the live gap between an audio input area and its audio output.

Call while the Sensory Generator is streaming and the Perception Inspector is decoding that output. Columns are matched by frequency, because the phase row changes every frame.

Args: src_area: Audio input cortical id (base64). dst_area: Audio output cortical id (base64). duration_s: How long to sample, from 0.2 to 8 seconds.

Returns: dominant_gap plus frame drop, input-gap, missing-column, phase-mismatch, and magnitude-error fractions. input_gap_fraction is the share of bursts that carried no new input frame; each one is a hole in the original audio even when the copy through FEAGI is exact. dominant_gap is not_streaming when fewer than two input frames arrive.

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": {
      "src_area": "<src_area>",
      "dst_area": "<dst_area>"
    },
    "name": "measure_audio_io_disparity"
  }
}

Input Schema

NameRequiredDescriptionDefault
dst_areaYes
src_areaYes
duration_sNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior: the streaming precondition, the 0.2-8s sampling bound, the frequency-based column matching, and what input_gap_fraction and dominant_gap mean. It does not say whether the call mutates state, what permissions or setup it needs, or whether sampling blocks. Useful but not complete behavioral disclosure 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.

Conciseness4/5

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

Purpose is front-loaded in the first sentence, followed by a precondition, then compact Args and Returns blocks with no filler. The Returns block partly restates what an output schema already conveys, which is the only redundancy, but it adds semantic meaning (e.g., what a 'hole' in the audio means) rather than raw field names.

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 an unannotated three-parameter measurement tool with an output schema, the description covers the operating precondition, all parameter meanings, and the key result sentinel. The remaining gap is the absence of any statement about safety side effects or cost of sampling, but nothing an agent needs to invoke it correctly is missing.

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 coverage is 0%, so the description must compensate, and it does: src_area and dst_area are identified as audio input/output cortical ids in base64, and duration_s is given a real range of 0.2 to 8 seconds that the schema lacks. It also conveys the directional role of each area (source vs destination), which the schema does not.

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 opens with a specific verb and resource: 'Measure the live gap between an audio input area and its audio output', naming the two cortical areas involved. An agent can tell this is a paired-area audio I/O fidelity measurement, distinct from setup tools like create_io_area_for_unit or list_io_areas_compact. It stops short of explicitly contrasting with the other measurement sibling (measure_balance), so it is clear but not fully differentiated.

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 states a concrete precondition: call while the Sensory Generator is streaming and the Perception Inspector is decoding that output, which tells the agent the runtime state required for a valid measurement. It also implies a failure condition ('not_streaming when fewer than two input frames arrive'), guiding the agent on interpreting a degenerate result. No explicit when-not or alternative-tool routing is given.

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