Skip to main content
Glama

consolidate

Run consolidation over memories: flag hub notes, link near-duplicates, supersede low-value surplus with keep, and handle polarity clashes by superseding not merging. Adds a derived layer only; never edits raw memories.

Instructions

Run the consolidation 'dream' pass over ALL memories: flag universal-matcher 'hub' notes, link near-duplicates, and (if keep is given) supersede the lowest-value surplus. Includes the STATE-TOGGLE guard — a high-similarity pair that is a polarity clash (a preference flip) is superseded, not merged, so recall returns the new state. ADDS a derived layer only; never edits or deletes raw memories. Returns a report (active / hubs_flagged / linked_pairs / toggled / ...).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keepNo
Behavior5/5

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

No annotations provided, so description carries full burden. It clearly states behavioral traits: the tool only adds a derived layer, never edits or deletes raw memories, includes a state-toggle guard for polarity clashes, and returns a report with specific fields. This provides comprehensive safety and behavior context.

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?

Description is detailed but not overly verbose. It is front-loaded with the main action and each sentence adds value. A minor reduction could improve conciseness, but it remains clear.

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

Completeness5/5

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

Despite no output schema, the description lists report fields. No annotations, but safety and side effects are fully described. For a consolidation tool with one parameter, it provides complete context for usage.

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

Parameters5/5

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

Schema has one parameter 'keep' (integer/null, default null). Description adds meaning: 'if keep is given) supersede the lowest-value surplus.' This explains the parameter's effect well, compensating for 0% schema description coverage.

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?

Description clearly specifies the verb 'Run', the resource 'ALL memories', and the actions: flag hubs, link near-duplicates, and optionally supersede surplus. It differentiates from sibling 'consolidate_clusters' by describing a broader 'dream' pass over all memories.

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?

While the description implies a consolidation pass over all memories, it does not explicitly state when to use this tool versus alternatives like 'consolidate_clusters' or other siblings. No direct guidance on when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DanceNitra/mnemo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server