Skip to main content
Glama

memcp_retention_preview

Preview which items would be archived or purged based on retention rules, without making any changes. Identify stale, low-access items flagged for archiving or expired archived items for purging.

Instructions

Preview what would be archived or purged — dry-run, no changes made.

Shows candidates for archiving (stale, low-access items) and purging
(archived items past retention period). Items with high importance,
frequent access, or protected tags are immune from archiving.

Args:
    archive_days: Override archive threshold (default from env, 30 days)
    purge_days: Override purge threshold (default from env, 180 days)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
purge_daysNo
archive_daysNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

In the absence of annotations, the description discloses that no changes are made, describes candidate criteria (stale, low-access, past retention) and immunity conditions (high importance, frequent access, protected tags). It does not mention authentication or rate limits, but captures key behavioral traits.

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?

The description is two sentences plus a parameter list, front-loading the core purpose and behavior. Every sentence adds value without redundancy or excess.

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 the tool's complexity (dry-run preview, two parameters), the description covers purpose, behavior, and parameter semantics. An output schema exists, so return format explanation is not required. It lacks explicit sibling differentiation but is otherwise complete.

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 schema has 0% parameter descriptions, so the description compensates by explaining 'archive_days' and 'purge_days' with their purpose and defaults. However, it states defaults from env (30, 180 days) while schema shows default 0, creating potential confusion.

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 is a dry-run preview for archiving and purging, with explicit verb 'Preview' and resource 'retention'. It distinguishes from the sibling 'memcp_retention_run' which actually executes the action, by stating 'no changes made'.

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 safe usage via 'dry-run, no changes made' but does not explicitly mention when to use this tool versus alternatives like 'memcp_retention_run'. The guidance is implicit rather than direct.

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/maydali28/memcp'

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