Skip to main content
Glama
CodeAbra

iai-mcp

memory_consolidate

Idempotent

Consolidates memory by applying schema induction, FSRS decay, and Hebbian pruning during a sleep cycle to improve long-term retention.

Instructions

Trigger sleep-cycle consolidation: schema induction, FSRS decay, Hebbian pruning. Mutates store; idempotent in one sleep window.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idNoOptional session id used for provenance tagging on the consolidate event. Defaults to '-' when omitted.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo
tierNo
summaries_createdNo
decay_resultNo
schema_candidatesNo
Behavior4/5

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

Annotations indicate idempotentHint=true, and the description adds specifics about mutation and idempotency within one sleep window, plus internal processes, enriching transparency without contradiction.

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?

Two sentences, front-loaded with key purpose (trigger consolidation) and behavioral traits (mutation, idempotency), every word adds value.

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?

The description adequately covers purpose, behavior, and mutation for a tool with a single optional parameter and an existing output schema; no critical gaps.

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?

The input schema covers 100% of the parameter (session_id) with a clear description, so the tool description does not need to add more; baseline of 3 is appropriate.

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 clearly states the action 'Trigger sleep-cycle consolidation' and lists specific processes (schema induction, FSRS decay, Hebbian pruning), distinguishing it from sibling tools like memory_capture or memory_recall.

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?

The description implies usage in the context of sleep cycles but does not explicitly state when to use this tool versus alternatives or provide exclusions.

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/CodeAbra/iai-mcp'

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