Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

set_memory_mp_encoding

Sets how a memory area encodes membrane potentials—firing only, MP learning/replay, differential, or ratio—and returns FEAGI's applied encoding and warnings.

Instructions

Set how a memory area uses membrane potentials, and report what FEAGI runs.

One call instead of hand-building update_cortical_area keys. Modes:

  • none: memories from firing patterns only.

  • mp_learning: also store MPs and replay them.

  • mp_differential: the same MP change across the temporal window forms one memory (2->4 matches 7->9). Optional delta_quantization (MP units, > 0).

  • mp_ratio: the same growth ratio forms one memory (2->4 matches 7->14). Optional ratio_quantization (percent per compounding step, > 0).

Change modes need temporal_depth >= 2 and disable replay. Input is validated locally before any request. Makes one PUT and one memory-endpoint GET.

Args: cortical_id: Memory cortical area ID (base64 wire ID). mode: none, mp_learning, mp_differential, or mp_ratio. delta_quantization: Only with mp_differential; omit to keep the current value. ratio_quantization: Only with mp_ratio; omit to keep the current value.

Returns: {"success", "applied", "mp_encoding"}; warning when FEAGI auto-disabled the change mode (temporal_depth < 2). {"error": ...} on invalid input or HTTP failure.

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>",
      "mode": "<mode>"
    },
    "name": "set_memory_mp_encoding"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes
cortical_idYes
delta_quantizationNo
ratio_quantizationNo

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 burden well: it discloses that input is validated locally before any request, that it makes one PUT plus one memory-endpoint GET, and that change modes disable replay and may produce a warning when FEAGI auto-disables the mode. It stops short of stating reversibility or permission requirements, so not a 5.

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 purpose and modes, then Args and Returns sections; most content earns its place. Minor redundancy: the mode values and their optional-parameter pairings are restated in the Args block after being explained in the mode list.

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 four-parameter mutation tool with a 0%-covered schema and no annotations, the description covers modes, units, preconditions, side effects (replay disabled), request shape, success payload, warning case, and error case. Nothing an agent needs to call 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 description coverage is 0%, so the description must do all the work, and it does: mode is given four valid values with distinct meanings, delta_quantization is tied to mp_differential with MP units and a > 0 constraint, ratio_quantization is tied to mp_ratio with percent-per-step units, and both are documented as 'omit to keep the current value.' cortical_id is identified as a base64 wire ID.

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 ('Set how a memory area uses membrane potentials') and enumerates the four modes with concrete semantics. It also explicitly distinguishes itself from the sibling update_cortical_area by framing itself as 'one call instead of hand-building update_cortical_area keys.'

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 selection rule for modes (none / mp_learning / mp_differential / mp_ratio) with examples of what matches what, and names the alternative it replaces (update_cortical_area). It also states a precondition ('Change modes need temporal_depth >= 2 and disable replay'), but does not say when to prefer set_memory_area_learning_frozen or other memory-config siblings.

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