Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

validate_magnitude_passthrough

Verifies that graded magnitudes pass unchanged from a source cortical area to a destination area and reports mapping, threshold, and scaling issues that cause saturated, noisy, or truncated output.

Instructions

Check that graded magnitudes in src_area reach dst_area unchanged.

Use for IPU -> OPU mirrors that carry magnitude as membrane potential (audio spectrum, analog sensors) when the output sounds or looks saturated, noisy, or truncated. One call replaces reading two property records and sampling voxels by hand.

Checks: mapping exists; source neuron_mp_driven_psp is on; no refractory, snooze, or reduced excitability on the source (it would drop frames before any mapping); destination threshold is not above the source threshold; no charge accumulation, refractory, snooze, or reduced excitability on the destination; no PSC, weight, or fan-out scaling; matching X/Y dimensions; the far shared voxel is really wired (catches stale resizes); runtime threshold matches the stored one.

Args: src_area: Source cortical area ID (base64). dst_area: Destination cortical area ID (base64). class_count: Set when the value is a class id (classifier twin -> segmentation OPU). Scaling, fan-out, accumulation, and threshold drift become errors (any drift is a different class), and the destination threshold must be below 1/class_count.

Returns: passes, error_count, warning_count, edge_voxel, and findings rows of {severity, code, message, fix} where fix is an update_cortical_area payload when one applies.

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

Input Schema

NameRequiredDescriptionDefault
dst_areaYes
src_areaYes
class_countNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and largely meets it: it enumerates the exact invariants checked (mapping existence, refractory/snooze, threshold comparison, PSC/weight/fan-out scaling, voxel wiring, runtime-vs-stored threshold), so the agent knows what a pass actually certifies. The main gap is that it never explicitly states the tool performs no mutation, and it does not mention permissions or cost; the 'fix' field is clearly framed as a payload for update_cortical_area rather than an automatic write.

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 purpose and usage, then cleanly sectioned into 'Checks:', 'Args:', and 'Returns:'. The check list is long but each entry describes a distinct failure mode the agent may need to interpret, so it earns its space; slight density cost from compressing the checks into a single semicolon-delimited run.

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?

For a diagnostic validator with three parameters, this covers everything an agent needs: when to reach for it, what each argument means, what invariance is verified, and the shape of the findings rows including severity, code, message, and fix. An output schema exists, yet the returns summary still adds the useful detail that 'fix' is an update_cortical_area payload.

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%, so the description must compensate fully, and it does: all three parameters are documented, including the non-obvious base64 format for src_area/dst_area and the conditional meaning of class_count. It further explains the semantic consequences of class_count (scaling/fan-out/accumulation/threshold drift become errors, destination threshold must be below 1/class_count), which is meaning the schema cannot convey.

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 precise verb and resource: 'Check that graded magnitudes in src_area reach dst_area unchanged.' This distinguishes it from generic validators in the sibling list (validate_genome, validate_brain_region_hierarchy) by naming the exact invariant being verified.

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 a concrete when-to-use context — IPU -> OPU mirrors carrying magnitude as membrane potential, used when output is saturated, noisy, or truncated — plus the value proposition that it replaces reading two property records and sampling voxels manually. It stops short of naming an alternative tool or stating when not to use it.

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