Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

interpret_cortical_id

Read-only

Decode base64 or legacy FEAGI cortical IDs client-side to extract hex bytes, subunit/unit indices, frame-change handling, and BV/ROS/Python motor mapping hints.

Instructions

Decode an 8-byte FEAGI cortical ID without calling FEAGI (pure client-side).

Returns hex bytes, cortical_subunit_index (flag bits 4-7 of bytes 4-5), cortical_unit_index (little-endian u16 in bytes 6-7), frame_change_handling, mapping_hints for BV unit_id / ROS deviceGroupId / Python motor XYZP grouping, and notes. Accepts standard base64 wire IDs or legacy 8-character latin-1 keys.

Natural language: "decode cortical id", "what unit index is this id", "device group for base64 cortical area".

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": {
      "cortical_id": "<cortical_id>"
    },
    "name": "interpret_cortical_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
cortical_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4/5.0
Behavior4/5

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

Beyond readOnlyHint=true, it discloses the important behavioral trait that decoding is pure client-side with no FEAGI call, plus which fields come back (hex bytes, subunit/unit index extraction rules, mapping hints). Lineage and wire-format acceptance are also noted, which the annotations do not cover.

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 core verb and the client-side constraint, then the output fields, then accepted input formats, then synonym queries. The field-by-field breakdown is dense but each clause carries information; only the 'and notes' tail is filler.

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 one simple string parameter and an output schema present, the definition covers what the agent needs: what it decodes, that it is local-only, and which input encodings are valid. The return-field enumeration is partly redundant against the output schema but harmless.

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 coverage is 0% for the single cortical_id parameter, so the description must compensate, and it does: it states accepted forms ('standard base64 wire IDs or legacy 8-character latin-1 keys') and that the value is an 8-byte cortical ID. It could go further on malformed-input behavior, but the meaning is clear.

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 precise verb+resource ('Decode an 8-byte FEAGI cortical ID') and adds a distinguishing scope note ('without calling FEAGI, pure client-side'). It implicitly separates itself from compute_io_cortical_id (the encode direction), but never names or contrasts that sibling explicitly, keeping it from a 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?

Provides concrete usage triggers via the natural-language phrasings ('decode cortical id', 'what unit index is this id', 'device group for base64 cortical area'), which tell the agent when this tool is the right pick. It lacks any explicit when-not-to-use statement or a pointer to compute_io_cortical_id / get_cortical_id_name_mapping as alternatives.

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