Skip to main content
Glama
FEAGI MCP Server

FEAGI MCP Server

Official
by feagi

delete_memory_neurons

Deletes specific memory neurons by area and ID to clean up test residue, removing associated synapses, replay frames, and runtime state while leaving other neurons untouched.

Instructions

Delete specific memory neurons of one memory area by id. Destructive.

A cleanup tool for test residue, not a learning mechanism. Removes each neuron with its synapses, replay frames and runtime state; the area's other neurons are untouched. Calls DELETE /v1/connectome/memory_neuron. Every id must be an active neuron of area (ids from list_memory_neurons); otherwise nothing is deleted and the error names the ids that are not.

Args: area: Memory cortical area ID or exact display name. neuron_ids: Memory neuron ids to delete (positive integers).

Returns: {"deleted": n} on success, or an error.

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": {
      "area": "<area>",
      "neuron_ids": "<neuron_ids>"
    },
    "name": "delete_memory_neurons"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaYes
neuron_idsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.14

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: destructive semantics, cascading removal of synapses, replay frames and runtime state, isolation to the target area, all-or-nothing failure behavior when any id is invalid, an error that names offending ids, and the underlying DELETE endpoint. This is close to the maximum disclosure available.

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, destructiveness, and scope, and every sentence adds information. The Google-style Args/Returns block is slightly redundant with the separate output schema and repeats the positive-integer constraint, but it costs little.

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 destructive two-parameter mutation, the definition covers scope, cascade effects, atomicity, error shape, id provenance, and the return value (`{"deleted": n}`), leaving no material ambiguity for correct invocation.

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%, yet the description defines both parameters fully: `area` accepts an ID or exact display name, and `neuron_ids` must be positive integers that are active neurons of `area`, sourced from `list_memory_neurons`. This fully compensates for the empty schema descriptions.

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 ('Delete specific memory neurons of one memory area by id') with explicit scope: per-neuron, within a single area. It is clearly distinguished from area-level deletes like delete_cortical_area and from list_memory_neurons, which is named as the id source.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit when ('a cleanup tool for test residue') and an explicit when-not ('not a learning mechanism'), plus the prerequisite that ids must be active neurons of `area` obtainable from `list_memory_neurons`. An agent can decide whether this is the right tool without opening the schema.

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