Skip to content
Docs menu

Tool reference · Maintenance & performance

memory_consolidate_status

Shows what the background consolidation worker has done per project: last run, result, errors and active locks.

local stdio server read-only

When to use

  • You want to confirm background consolidation is running.
  • A project seems to never get cleaned up and you want to see its last error.
  • You want to know if a project is locked right now.

Parameters

This tool takes no parameters.

Example

Arguments

{}

Result shape

{
  "projects": [
    {
      "project": "billing-api",
      "last_consolidated_at": "2026-09-25T03:00:12Z",
      "last_status": "ok",
      "last_error": null,
      "active_lock": false,
      "locked_until": null,
      "stats": {
        "merged": 3
      },
      "updated_at": "2026-09-25T03:00:12Z"
    }
  ],
  "recent_activity": [
    {
      "project": "billing-api",
      "last_touched_at": "2026-09-25T08:41:17Z",
      "touch_count_24h": 37
    }
  ],
  "as_of": "2026-09-25T09:00:00+00:00"
}

Values are illustrative; the keys follow the server's handler. MCP clients receive the result as JSON text content.

Server description

The description the server sends to your agent in tools/list, captured from the v14.7.0 source:

report the consolidation daemon state — per-project last-run, active locks, recent activity. Use to verify the idle-project worker is making progress without interfering with active work.

Found a mistake? Open an issue on GitHub.

Search