Skip to main content
Glama
RMS Memory MCP

RMS Memory MCP

rms_prune

Identify superseded vault notes older than a retention window and optionally archive them under artifacts/pruned/; defaults to dry run and never deletes notes.

Instructions

Find superseded vault notes older than a retention window and optionally archive them under artifacts/pruned/. Defaults to a dry run; set apply=true to archive candidates. Never deletes notes.

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": "rms_prune"
  }
}

Input Schema

NameRequiredDescriptionDefault
applyNoWhen true, archive eligible notes. Defaults to false (dry run).
projectNoProject key (when the client sends no workspace root).
older_than_daysNoMinimum age in days for a superseded note to be eligible.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.4.3
    • changedInput schema / properties / project / description
      Previous value: -"Registered project key, used when the MCP client did not provide a workspace root."New value: +"Project key (when the client sends no workspace root)."
  2. Addedv1.1.2

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses the dry-run default, the archive destination path, the eligibility rule (superseded plus age), and the explicit guarantee that notes are never deleted. It leaves open what 'superseded' means operationally, what happens if a file already exists at the archive path, and whether the operation is reversible.

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?

Three short sentences that front-load the purpose, then the safety default, then the non-destructive guarantee. Every sentence carries information an agent needs, and no wording is wasted.

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?

There is no output schema and no annotations, so the description is the only source of behavioral information, and it covers the mutation semantics well. However, it says nothing about what the dry run returns, whether the scan is vault-wide or project-scoped, or how candidates are reported, which leaves real gaps for a tool whose output the agent must act on.

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?

Schema description coverage is 100%, so all three parameters are already documented, and the description adds little beyond restating that apply=true performs the archive. The project parameter is never mentioned in the description at all, and the relationship between 'retention window' and older_than_days is only loosely implied.

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?

States a specific verb and resource combination: find superseded vault notes older than a retention window, and optionally archive them under artifacts/pruned/. That is far more precise than the tool name alone. It does not name any sibling to distinguish itself from, notably rms_hygiene, which plausibly touches the same cleanup domain.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear operating context: it targets superseded notes past a retention window, defaults to a dry run, and only archives when apply=true. It does not state when to prefer this over rms_hygiene or rms_reindex, so the alternative-selection guidance is implicit rather than explicit.

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