Skip to main content
Glama

consolidate_reflexions_tool

Turn recurring reflexion themes into searchable semantic memory and remove stale working memory entries older than 7 days.

Instructions

Distil recurring reflexion themes into semantic memory and prune working memory.

Runs the nightly self-improvement consolidation: every theme an agent raised
>= min_count times in the last `days` becomes a searchable semantic-memory
node (deduped), and working_memory older than 7 days is pruned. Idempotent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNo
min_countNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description fully bears the behavioral disclosure burden. It reveals idempotency, deduplication, and the pruning rule (7 days), which is fairly transparent for a maintenance tool. However, it omits potential side effects or authorization requirements.

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 with no waste. The core action is front-loaded in the first sentence, and details follow logically. Every part earns its place.

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?

Given the tool's maintenance nature, the description covers key aspects: what it does, when it runs, conditions, and properties (idempotent). An output schema exists, so return value explanation is unnecessary.

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?

The two parameters (days, min_count) have no schema descriptions, but the description explains their meaning: thresholds for theme consolidation. This adds significant value beyond the schema defaults and names.

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 tool's purpose: distilling recurring reflexion themes into semantic memory and pruning working memory. It specifies the conditions (min_count threshold, days window) and differentiates from siblings like aggregate_reflexions_tool by describing consolidation and pruning actions.

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 nightly scheduled consolidation but does not explicitly state when to use this tool versus alternatives like aggregate_reflexions_tool. It lacks explicit when-not-to-use or alternative guidance, leaving usage context implied.

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/SVerITG/Metis'

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