Skip to main content
Glama
RMS Memory MCP

RMS Memory MCP

rms_hygiene

Generate a read-only memory hygiene report for one project: detect near-duplicate notes, stale active checkpoints, and old session notes, then get next steps without editing the vault.

Instructions

Read-only memory hygiene report for one project: near-duplicate and identical notes (embedding similarity), active checkpoints untouched for 14+ days, and session notes older than 90 days, with next steps. Never edits the vault; merge duplicates with rms_write + supersedes.

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

Input Schema

NameRequiredDescriptionDefault
projectNoProject key (when the client sends no workspace root).
min_similarityNoCosine similarity at which two notes count as near duplicate candidates; candidates must also share half of their word 3-grams.

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.3.2

TDQS

A3.8/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 the most important part well: it declares the tool read-only and states 'Never edits the vault,' which is the critical safety fact for a scan that recommends merges. It also defines the staleness thresholds (14+ days, 90 days) that drive the report. It does not disclose operational traits such as the cost of embedding comparison on large vaults or output/pagination behavior, so it falls short of a 5.

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 tightly packed sentences with zero filler: the read-only nature and report contents come first, followed by the explicit non-mutation guarantee and the prescribed next action. Every clause earns its place.

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?

For a two-optional-parameter, read-only report with no output schema, the description is nearly complete: it covers scope, findings, thresholds, safety, and follow-up. The remaining gaps are the absence of any hint about report structure (beyond 'with next steps') and no explicit sibling routing against rms_prune or rms_doctor.

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 coverage is 100%, so both parameters are already documented, and this establishes a baseline of 3. The description adds conceptual context by tying 'near-duplicate' detection to embedding similarity, which helps an agent understand what min_similarity controls, but it does not mention the 0.9 default, the 0.5–1 range, or the shared 3-gram condition beyond what the schema states.

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 verb and resource ('Read-only memory hygiene report for one project') and enumerates exactly what it surfaces: near-duplicate/identical notes via embedding similarity, checkpoints untouched 14+ days, and session notes older than 90 days. It implicitly separates itself from mutation siblings by naming rms_write as the merge path, but it never explicitly contrasts with rms_prune or rms_doctor, so an agent must infer which reporting tool to pick.

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?

Usage is implied (run this to find hygiene issues) and the description supplies a concrete follow-up path for duplicates: merge with rms_write + supersedes. However, there is no explicit when-to-use versus when-not guidance relative to siblings like rms_prune, rms_doctor, or rms_search, leaving the agent to infer the selection rule.

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