Skip to main content
Glama

memory_cleanup

Cleans up memory by deduplicating entries, archiving old data, and clearing staging area. Specify user and retention days for audit logs.

Instructions

Full memory cleanup: deduplicate, archive, clean staging.

Args: user_id: User identifier retention_days: Days to keep audit logs (default 30)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idNodefault
retention_daysNo
Behavior2/5

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

No annotations provided, so description bears full burden. It states actions but does not disclose if the tool is destructive, requires permissions, or any side effects. As a cleanup tool, it likely modifies/deletes data, but this isn't explicit.

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 brief with a clear summary line and structured Args list. No unnecessary words, but could be slightly more organized.

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?

Given no annotations or output schema, the description provides sufficient detail about the tool's purpose and parameters. It lacks information about return values or error behavior, but is adequate for a simple cleanup tool.

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?

Input schema has 0% coverage, so description must clarify parameters. It explains user_id as 'User identifier' and retention_days as 'Days to keep audit logs (default 30)', adding meaning beyond the schema's default labels.

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 clearly states the tool does 'Full memory cleanup' with specific actions: deduplicate, archive, clean staging. This distinguishes it from sibling tools like memory_forget (targeted forgetting) or memory_lucidity_purge (possible purge), but does not explicitly differentiate.

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?

No guidance on when to use this tool versus alternatives. Does not mention prerequisites, suitable scenarios, or 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/Cipher208/mcp-ariel-memory'

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