Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

get_memory_area_runtime_config

Read-only

Retrieve normalized runtime lifecycle config for a memory cortical area, combining memory counts, effective lifespan values, source attribution and consistency checks to resolve config mismatches.

Instructions

Get effective runtime lifecycle config for one memory cortical area.

This closes the MCP visibility gap where users otherwise must infer memory lifecycle behavior from multiple endpoints with different field names. Returns one normalized payload with:

  • Runtime memory counts (ST/LT/total) from GET /v1/cortical_area/memory.

  • Effective lifecycle values (init lifespan, growth rate, LT threshold).

  • Source attribution for each lifecycle value (runtime vs cortical properties).

  • Consistency checks to flag mismatched values between endpoint surfaces.

  • lifecycle_totals: lifetime created/deleted/evicted neurons, failed creations and formation_suppressed_total (creations skipped by a subscribed memory.formation modulator; not failures) from health_check (null on older FEAGI). findings adds an info entry when the area subscribes to memory.formation and that count is above 0. reactivated_total counts how often an existing neuron was matched again (any path); null on older FEAGI.

  • rematch: only with interval_s. The tool samples the counters, waits interval_s seconds, samples again and returns rate = d_reactivated / (d_reactivated + d_created + d_creation_failed + d_formation_suppressed) plus the deltas (rate is null when nothing was presented in the window). Present the stimulus during the wait. interval_s above FOREGROUND_BUDGET_S (50 s) is rejected before any wait; for longer windows call twice and diff lifecycle_totals.

  • memory_pool: the shared pool all memory areas draw from (pool_capacity, pool_in_use, pool_ltm). findings flags use above 90% and any failed creation.

  • effective_lifecycle.memory_neuron_cap (0 = no per-area cap) and ltm_eviction (lru or none), each with source attribution.

  • episodic_upstream / scan_sources: inbound areas by morphology. Only episodic_memory sources create neurons; findings flags an area with none, and an area whose neurons all expired before reaching long-term.

  • mp_encoding: configured vs. effective MP mode (pattern_only, mp_learning, mp_differential, mp_ratio), auto_disabled when a change mode was dropped because temporal_depth < 2, replay_enabled (off in change modes), and the active quantization. Change the mode with update_cortical_area using mp_change_mode (none/mp_differential/mp_ratio), mp_learning_enabled (mutually exclusive with a change mode), mp_delta_quantization (MP units) or mp_ratio_quantization (percent per compounding step).

  • capture: memory.capture state from the memory endpoint. recording (the area is inside a recording session, its capture driver is on), episode_neuron_count (active episode neurons), replay_blocked_by_lockout (replays blocked while a chain replay ran) and replay_blocked_by_recording (replays blocked while the area was recording; a tonic driver keeps this rising). Each is null on older FEAGI.

Args: cortical_id: Memory cortical area ID (base64 wire ID). page_size: Memory endpoint page size for neuron IDs (default 1; max 50). interval_s: Optional window in seconds (> 0, at most FOREGROUND_BUDGET_S, the same foreground budget as record_spikes) for the rematch rate. A longer window is rejected: call twice and compare lifecycle_totals.

Returns: Normalized runtime memory config and diagnostics for this 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": "get_memory_area_runtime_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_sizeNo
interval_sNo
cortical_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond readOnlyHint: the rematch block explains that the tool samples, waits interval_s, samples again, computes a ratio, that the caller must present the stimulus during the wait, that interval_s above FOREGROUND_BUDGET_S is rejected before waiting, and that rate is null when nothing was presented. It also flags version-dependent nulls and distinguishes formation_suppressed_total from failures, which is exactly the kind of semantic nuance annotations cannot carry.

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

Conciseness3/5

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

The purpose statement is front-loaded and the bullets are organized by payload section, but the description is very long and spends much of its length enumerating returned fields even though an output schema exists. Some blocks (memory_pool, capture, episodic_upstream) read as documentation of returns rather than guidance for invocation.

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 three-parameter read tool, everything needed to call it correctly is present: constraints, waiting semantics, version-dependent nulls, and where to go for changes. It overshoots rather than undershoots, duplicating return-field detail that the output schema already provides.

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 carries the full burden and does: cortical_id as base64 wire ID, page_size as the memory endpoint page size with default 1 and max 50, and interval_s as a > 0 window bounded by FOREGROUND_BUDGET_S with the rejection behavior spelled out. All three parameters gain meaning that the bare schema lacks.

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?

Opening sentence names a specific verb and resource ('Get effective runtime lifecycle config for one memory cortical area') and frames the distinguishing value: normalizing data that users otherwise must infer from multiple endpoints with different field names. The payload bullets make it distinguishable from get_area_parameters and inspect_cortical_area.

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 clearly what to do when the 50 s foreground budget is exceeded (call twice and diff lifecycle_totals) and routes mode changes to update_cortical_area with the specific mp_* fields, which is genuine alternative guidance. It stops short of saying when to prefer this over sibling read tools such as get_area_parameters or health_check, though the 'normalized view' framing implies 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