Skip to main content
Glama

memory_maintenance_tool

Maintain persistent project memory by running revalidation, rollup, decay, and consolidation in one cycle to keep stored knowledge accurate and current.

Instructions

Run revalidation, rollup, decay, and consolidation in one cycle.

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_maintenance_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
applyNo
projectNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.11.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries full behavioral burden. It does not explain whether the default apply=false means a dry run, what side effects decay or consolidation may cause, whether changes are reversible, or what permissions are required.

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 a single front-loaded sentence with no redundant wording. Every listed operation contributes to identifying the tool's scope.

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?

The output schema covers return values, but the description omits critical operational context for a maintenance tool with no annotations and two undocumented parameters. An agent cannot tell how apply and project affect execution or what the maintenance cycle may change.

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 does not mention either parameter. It gives no meaning for 'apply' beyond the schema default or for 'project' beyond the schema type, so it fails to compensate for the missing parameter documentation.

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 gives a specific composite action: it runs revalidation, rollup, decay, and consolidation. The phrase 'in one cycle' distinguishes it as a bundled maintenance operation rather than a single-operation sibling, though it does not explicitly name alternatives.

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 periodic or batch memory maintenance by saying all four operations run in one cycle. It does not explicitly state when to use this instead of the individual revalidation, rollup, decay, or consolidation tools, nor when to avoid it.

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