Skip to main content
Glama

Consolidate

memory-maintain

Keeps agent memory organized by consolidating stored memories: decay stale entries, adjust tiers, link related items, merge duplicates, self-organize, and sync Persona bridge.

Instructions

Run memory consolidation: decay, promote/demote tiers, link related, merge duplicates, self-organize, and sync Persona bridge.

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-maintain"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose real behavior by listing decay, tier changes, and duplicate merging, which signals that stored memories will be mutated. However, it says nothing about irreversibility, idempotency, cost/latency, required permissions, or what happens to merged or demoted data. The mutation surface is visible but the safety profile is not.

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?

A single front-loaded sentence whose clause list maps directly onto the tool's actual behavior, with no filler. Minor deduction because terms like 'self-organize' and 'Persona bridge' are left unexplained and the list is dense to parse.

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 zero-parameter batch mutation tool with no annotations and no output schema, the description should say what the call returns or reports and whether it is safe to repeat. It enumerates the internal steps well but leaves the agent unable to predict the response or side effects on existing data. Adequate but with clear gaps.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline of 4 applies. The enumerated sub-operations correctly imply that all behavior is fixed and configuration-free.

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 specific operation (memory consolidation) and enumerates six concrete sub-actions: decay, promote/demote tiers, link related, merge duplicates, self-organize, and sync Persona bridge. That is far more informative than the title alone. It stops short of differentiating itself from adjacent maintenance-oriented siblings such as memory-govern or memory-scratch-promote, so a 4 rather than a 5.

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

Usage Guidelines2/5

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

There is no guidance on when to run consolidation, how often, or under what conditions, and no mention of alternatives like memory-govern for governance or memory-stats for inspection. The agent must infer that this is a periodic upkeep operation rather than an on-demand query. Usage context is only implied by the word 'consolidation'.

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