Skip to main content
Glama

consolidate

Performs cognitive memory maintenance by synthesizing progress, archiving obsolete notes, and updating the project dashboard. Use at session close or after major milestones to get a triage summary.

Instructions

Executes cognitive memory maintenance (AutoDream): synthesizes progress, archives obsolete notes, and updates the project dashboard (batch write). Call only at session close or after major milestones, NOT on every turn. Preserves other projects' cards. Returns triage summary report.

Input Schema

NameRequiredDescriptionDefault
sourceNoProject or subsystem tag to consolidate (e.g. 'HOMELAB', 'AUDIOBOOK', 'TOTALCONNECT'). Preserves items belonging to other project tags in the dashboard. Alphanumeric and underscores only.
userIdNoUser or agent namespace to consolidate. Defaults to 'user_default' when omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.2
    • changedInput schema / properties / source / description
      Previous value: -"Current project or source being consolidated (e.g. 'TOTALCONNECT'). Preserves items from other projects in dashboard. Alphanumeric only."New value: +"Project or subsystem tag to consolidate (e.g. 'HOMELAB', 'AUDIOBOOK', 'TOTALCONNECT'). Preserves items belonging to other project tags in the dashboard. Alphanumeric and underscores only."
    • changedInput schema / properties / userId / description
      Previous value: -"User ID to consolidate (optional, default: user_default)."New value: +"User or agent namespace to consolidate. Defaults to 'user_default' when omitted."
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses that this is a batch write, that it archives obsolete notes (a destructive side effect), and that it preserves other projects' cards (scope boundary). It omits reversibility, required permissions, and any rate/cost caveats, so not a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four tight sentences: purpose first, then the critical timing constraint, then the safety guarantee, then the return. Every sentence earns its place with no filler.

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

Completeness4/5

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

For a 2-param tool with no annotations and no output schema, it covers purpose, invocation timing, side effects, scope boundaries, and the return value (triage summary report). Remaining gaps (reversibility of archiving, auth requirements) are modest.

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

Parameters3/5

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

Schema description coverage is 100% and the schema already documents 'source' (tag semantics, preservation, allowed characters) and 'userId' (default namespace). The description adds no parameter-level detail beyond what the schema provides, so the baseline 3 applies.

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?

The description names a specific verb+resource (cognitive memory maintenance / AutoDream) and enumerates concrete sub-actions: synthesizes progress, archives obsolete notes, updates the project dashboard. This is clearly distinguishable from the read/save siblings (get_fact_lineage, get_current_state, save_fact, search_memory).

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 when-to-call condition ('session close or after major milestones') and an explicit when-not ('NOT on every turn'), which is strong routing guidance. It stops short of naming alternative siblings for adjacent needs, so it is not a full 5.

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