Skip to main content
Glama

Maindex Expert Memory Service

This connector has been deprecated

Replaced by Maindex Expert Memory Service.

Duplicate entry

memory_bulk_update

Destructive

Batch update multiple memories (max 100). Supports add/remove tags, set kind, set canon_status, set verification_status, add/remove collections, merge metadata, add/remove links, clear superseded_by/replaces, forget (soft-delete). Does NOT support headline/body replacement. Mutates. Idempotent for set_* and tag operations; add_links will create duplicates on retry. Returns per-memory results. SOFT-DELETE RESTORE: Any non-forget operation on a soft-deleted memory revives it (same semantics as memory_update). The response includes restoredCount when any deleted rows were revived. SUPERSESSION CLEANUP: Setting set_canon_status to 'accepted' on memories with supersededBy pointers will automatically clear those pointers and remove superseded_by links. Use clear_superseded_by for explicit control without changing canon_status.

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": {
      "memory_ids": "<memory_ids>",
      "operations": "<operations>"
    },
    "name": "memory_bulk_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
signerNoAgent identity -- who wrote this. Required fields: agent_id, run_id.
memory_idsYesMemory IDs to update
operationsYesOperations to apply to all specified memories

Output Schema

NameRequiredDescriptionDefault
errorsNoPer-memory or per-operation errors
affectedNoNumber of memories updated
restoredCountNoCount of soft-deleted memories revived by non-forget operations

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations: it discloses partial idempotency per operation (set_* and tags safe, add_links duplicates on retry), the soft-delete revival side effect of any non-forget operation, the automatic supersession cleanup triggered by setting canon_status to 'accepted', and the restoredCount field. These are exactly the non-obvious mutation semantics an agent needs before calling a destructive batch tool.

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 batch purpose and cap, then dense operation and edge-case notes. A few clauses restate structured facts ('Mutates' echoes destructiveHint; 'max 100' echoes maxItems), but the density of genuinely new caveats justifies the length.

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?

Annotations cover the safety profile and an output schema exists, so the description's job is the gotchas — and it delivers: retry duplication, implicit revival of soft-deleted rows, automatic supersession cleanup, and a pointer to the explicit alternative. Nothing material for correct invocation appears 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 100%, so the baseline is 3, but the description adds real meaning beyond the schema: it groups operations mentally, flags add_links retry duplication, explains the interaction between set_canon_status and superseded_by pointers, and notes remove_links also removes the inverse. It does not, however, elaborate on merge_metadata merge depth or precedence, which remains schema-only.

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?

Names a specific verb and resource ('Batch update multiple memories'), states the batch cap, enumerates the exact operation families supported, and explicitly states the one thing it does not do ('Does NOT support headline/body replacement'). An agent can immediately tell this apart from memory_update (single record) and memory_forget (soft-delete only).

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 clear operative guidance: use it for batches up to 100, use clear_superseded_by when you want to break supersession without touching canon_status, and note that forget is available here as an operation. It does not, however, explicitly say when to prefer this over memory_update for a single memory or over memory_forget, leaving that routing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources