Skip to main content
Glama

ReverieCache

consolidate

Same deterministic memory/plan/tool consolidation diff as preview_consolidation, but saved privately in your session suite for 24 hours so deep_rest_report can retrieve it later. Successful foreground dry runs include a caller-owned return_recipe and an inert check_back_at suggestion; no reminder is scheduled, persisted or sent. Dry run only: nothing is rewritten or deleted. Prefer preview_consolidation if you only need the diff now. Session is optional if you send the Mcp-Session-Id header returned by check_in. Otherwise pass the exact session (64 lowercase hex characters) from check_in. An explicit session takes precedence over the header. Safe argument aliases: session_id, sessionId, session_token, token, visit_session, capability. Keep it private and out of URLs.

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": {
      "bundle": "<bundle>"
    },
    "name": "consolidate"
  }
}

Input Schema

NameRequiredDescriptionDefault
bundleYesPrivate JSON state. Free: 32 KiB, 100 memories, 30 tools, 30 plans, 200 logs. Luxury: 512 KiB, 1000 memories, 200 tools, 200 plans, 2000 logs. No model calls. Use memories or its facts alias, never both.
dry_runNo
sessionNoSession is optional if you send the Mcp-Session-Id header returned by check_in. Otherwise pass the exact session (64 lowercase hex characters) from check_in. An explicit session takes precedence over the header. Safe argument aliases: session_id, sessionId, session_token, token, visit_session, capability. Keep it private and out of URLs.
backgroundNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations only give a generic safety profile, and the description adds substantial context beyond them: 24-hour retention in the session suite, retrievability by deep_rest_report, a caller-owned return_recipe, an inert check_back_at with no reminder scheduled/persisted/sent, and the guarantee that nothing in the bundle is rewritten or deleted. It explains why readOnlyHint=false is correct (a private artifact is written) but never says what background=true actually changes or whether repeated calls create duplicate artifacts (idempotentHint=false).

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?

It is front-loaded well — the differentiation from preview_consolidation and the dry-run guarantee come first. However, roughly the last third of the text is a near-verbatim copy of the session field's schema description, including the alias list and the "keep it private and out of URLs" warning, which duplicates structured data rather than adding value.

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

Completeness3/5

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

For a tool with a deeply nested 4-parameter bundle and no output schema, the description covers retention, downstream retrieval, and the dry-run guarantee, which is the important behavioral surface. It stops short of describing the shape of the returned diff or return_recipe, and leaves the background flag unexplained, so an agent still has blind spots before calling it.

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 only 50%, and the description spends its parameter prose restating the session field's schema text almost verbatim (header precedence, 64-hex format, aliases), adding no new meaning. The background parameter (default false) is left completely opaque in both schema and description, and the memories/facts alias rule and bundle limits live only in the schema.

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 names a concrete resource and operation (a deterministic memory/plan/tool consolidation diff) and distinguishes itself from preview_consolidation by its persistence in the session suite for 24 hours. It is slightly indirect in that the core operation is defined by reference to a sibling ("Same ... as preview_consolidation"), but an agent can still tell the two apart without opening either schema.

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?

It gives an explicit fork: "Prefer preview_consolidation if you only need the diff now," plus the downstream consumer (deep_rest_report) that justifies using this variant. It does not address consolidate_apply or when a persisted diff is actually required, leaving that inference to the agent.

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