Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

diagnose_memory_twin_mapping

Read-only

Diagnose why no memory twin was created for a cortical mapping pair by checking eligibility, twin presence, and machine-readable blockers.

Instructions

Diagnose memory twin eligibility/status for one mapping pair.

One-call answer for "why was no twin created?" when wiring episodic mappings into memory areas. Wraps FEAGI GET /v1/cortical_mapping/twin_diagnostic and returns structured fields including:

  • mapping_exists / episodic_rule_count

  • twin_expected / twin_present / twin_cortical_area

  • reason (machine-readable blocker)

  • parent-region relationship fields to detect circuit-placement mismatches.

Args: src_area: Source cortical area ID (base64). dst_area: Destination cortical area ID (base64).

Returns: Twin diagnostic payload from FEAGI.

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

Input Schema

NameRequiredDescriptionDefault
dst_areaYes
src_areaYes

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?

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds substantive context by naming the diagnosis fields (twin_expected, twin_present, twin_cortical_area, machine-readable reason) and the parent-region fields used to detect circuit-placement mismatches. It does not discuss failure cases such as nonexistent mappings or invalid area IDs, which would round this out.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Content is front-loaded: the purpose and motivating question come first, then the returned fields as a compact list, then args. The 'Returns: Twin diagnostic payload from FEAGI' line is slightly redundant given the output schema, but everything else earns its place.

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 two-parameter read-only diagnostic with an output schema, the definition covers purpose, trigger, argument format, and result shape adequately. Minor gaps remain around error behavior and how to interpret a 'reason' value, but nothing essential to calling it is missing.

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% and the schema only types both fields as plain strings, so the description carries the burden. It succeeds by identifying src_area and dst_area as cortical area IDs in base64 encoding, adding format detail the schema lacks, though it omits whether names are accepted or how to obtain the IDs.

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: diagnose memory twin eligibility/status for one mapping pair. The framing question 'why was no twin created?' when wiring episodic mappings sharpens the scope and separates it from siblings like diagnose_mapping_plasticity or diagnose_feagi_runtime.

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 clear triggering scenario (twin unexpectedly absent when wiring episodic mappings into memory areas) and calls it a 'one-call answer', implying it should be preferred over piecemeal inspection. It does not explicitly name alternatives or state when not to use it, so it falls short of full routing guidance.

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