Skip to main content
Glama

memory_decay_tool

Archive low-heat operational and episodic memories past their TTL to keep persistent agent knowledge current and prevent stale context from accumulating.

Instructions

Archive low-heat operational and episodic memories past their TTL.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "memory_decay_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
dry_runNo
projectNo
min_importanceNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.11.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden but only says 'Archive.' It does not state whether archival is reversible, what happens to archived records, what permissions are required, or what side effects occur. The output schema covers return values, but operational behavior remains largely undisclosed.

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 definition is a single front-loaded sentence with no redundant wording. Its weakness is under-specification, not verbosity or poor structure.

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

Completeness2/5

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

For a four-parameter mutation tool with no annotations and zero schema description coverage, the definition is far too thin. Critical invocation details such as dry_run defaulting to true and project scoping are absent, leaving an agent without enough context to call it safely.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

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

Schema description coverage is 0% and the description never mentions the four parameters: days, dry_run, project, or min_importance. 'TTL' and 'low-heat' loosely gesture at two thresholds but do not map to parameter names, defaults, or accepted ranges.

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 states a specific verb, 'Archive,' and a precise resource scope: 'low-heat operational and episodic memories past their TTL.' An agent can understand the core operation, but the definition does not explicitly differentiate it from sibling maintenance, GC, or delete tools.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no alternatives are named such as memory_gc_tool or memory_delete_tool. The TTL condition is an eligibility rule for what gets archived, not guidance on selecting this tool or handling its dry_run default.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.