Skip to main content
Glama
memory-arbiter-mcp

memory-arbiter-mcp

by billy12151

memory_repair

Repairs and maintains the shared memory store by rebuilding evidence, triaging conflicts, sweeping duplicates, cleaning history, assigning entities, replaying backups, and handling notices.

Instructions

Maintenance: evidence rebuild, conflict triage (scheduled-task spec under help topic scheduled_tasks), full-library duplicate sweeps (scan_duplicates), history cleanup, entity assignment, pending activation, backup replay, notices, and semantic runtime control.

Use memory_repair(task="help") for notice handling and semantic_control actions. Semantic notices are advisory; read both memories before dismiss or resolve, and never pass a notice directly to judge or resolve_conflict.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "memory_repair"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNo
taskNohelp

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.16.5
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "memory_repairDictOutput",
      -  "type": "object"
      -}New value: +null
  2. Addedv0.11.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description must carry the full behavioral burden. It does disclose some notice-handling semantics (advisory notices, read both memories before dismiss/resolve), but it does not disclose permissions, reversibility, side effects, or destructive risk for operations like history cleanup and backup replay.

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 description is front-loaded with a long comma-separated list of maintenance operations and then a usage paragraph. It is readable but dense, with parenthetical detail embedded in a run-on sentence; bullets or clearer grouping would improve structure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a multi-operation maintenance tool with no annotations, no output schema, and no parameter descriptions, the definition is incomplete. It omits what data supplies, what task values exist, what happens during destructive operations, and how the tool relates to its siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% with two parameters. The description mentions task="help" and hints at task values like scan_duplicates, but it never documents the data parameter or provides a complete list of valid task values, so the schema gap is only partially compensated.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states that this is a maintenance/repair tool and enumerates concrete operations such as evidence rebuild, duplicate sweeps, history cleanup, and backup replay. The overall purpose is clear, though it is a broad multi-task tool rather than a single focused verb+resource.

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

Usage Guidelines3/5

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

It gives one explicit usage instruction: use memory_repair(task="help") for notice handling and semantic_control actions, and it warns never to pass a notice directly to judge or resolve_conflict. However, it gives no guidance on when to choose this tool versus memory, memory_govern, or memory_review, and most task modes have no when-to-use 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