Skip to main content
Glama

remembrall_prune

Consolidate completed feature history into a compact record to reduce token usage and keep project memory under 120 lines. Set a threshold for recent features to retain before collapsing older entries.

Instructions

Automatically consolidate historical completed features to keep token count low (<120 lines).

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

Input Schema

NameRequiredDescriptionDefault
thresholdNoNumber of individual recent features to retain before collapsing (default 8)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/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 the full behavioral burden. It states that only historical completed features are affected, which is useful scoping, but it never says whether collapsing deletes detail, is reversible, or what the caller gets back — critical for an operation that inherently reduces stored information.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One tight sentence with the operative constraint (token count) placed directly after the action. Nothing is wasted, though the phrasing 'Automatically' adds ambiguity rather than information.

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 consolidation/pruning operation with no annotations and no output schema, the agent is missing essential context: whether source features are removed or summarized, whether the operation can be undone, and what the response reports. The definition is too thin for a potentially lossy operation.

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% and the single 'threshold' parameter is fully documented in the schema with its default of 8. The description adds no extra meaning about how the threshold interacts with the <120-line target, so the schema does all the work.

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 names a specific action (consolidate) and resource (historical completed features) plus a stated goal (keep token count low, <120 lines). It is clearly distinguishable from siblings like remembrall_add_feature or remembrall_query, though the word 'Automatically' is slightly at odds with an agent-invoked tool and leaves the trigger ambiguous.

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 '<120 lines' target implies a condition under which pruning is appropriate, but there is no explicit when-to-use or when-not guidance and no named alternative for agents who want to inspect or archive features instead of collapsing them.

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