Skip to main content
Glama
Aadi775
by Aadi775

delete_old_sessions

Removes outdated session data and associated errors or solutions while preserving learned concepts for continued reference.

Instructions

Delete old sessions and their errors/solutions (keeps concepts).

Smart cleanup that preserves learned concepts while removing old session data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
days_to_keepNoNumber of days of sessions to keep (default 30)
actor_contextNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It mentions keeping concepts but does not detail other effects (e.g., whether unlinking occurs, if the operation is reversible, or any logging). The actor_context parameter's role is unclear.

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 concise sentences with no redundant information. The key message is front-loaded and earns its place.

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

Completeness3/5

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

Given the tool has 2 parameters, no required ones, and no annotations, the description provides a basic overview but lacks details on return values, error handling, and side effects. It is minimally 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.

Parameters2/5

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

Schema coverage is 50% (actor_context lacks meaningful description). The description adds minimal parameter information; it only reiterates days_to_keep without adding syntax or constraints beyond the schema.

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 (delete) and the resource (old sessions) with specific detail that errors/solutions are removed while concepts are preserved. This distinguishes it from sibling tools like delete_session and delete_concept.

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 use for cleanup but does not explicitly state when to use, when not to use, or compare with alternatives like delete_session. No prerequisites or exclusions are mentioned.

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/Aadi775/MahoRAGa'

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