Skip to main content
Glama

brain_archive_memories

Archive inactive or explicitly selected memories into 40_Archive/ to keep the memory vault organized; supports ID/path targeting, age/access filters, and dry-run previews.

Instructions

Archivia esplicitamente in 40_Archive/ le memorie inattive o indicate (mai invocata implicitamente durante search/read/add/sync).

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

Input Schema

NameRequiredDescriptionDefault
idsNoLista esplicita di ID memoria da archiviare.
pathsNoLista esplicita di percorsi relativi da archiviare.
dry_runNoSe true, simula l'archiviazione senza spostare file o modificare il DB.
older_than_daysNoEtà minima in giorni dall'ultimo accesso (default: 90).
max_access_countNoNumero massimo di accessi consentito per l'archiviazione automatica per età (default: 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the destination folder and the explicit-only invocation model, which are meaningful behavioral facts. However, it says nothing about reversibility (can archived memories be restored?), whether DB records are mutated alongside file moves, or what the response looks like. The dry_run parameter in the schema partially covers simulation, but the description does not reinforce it.

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?

A single front-loaded sentence stating the action, target folder, selection rule, and invocation constraint, with zero padding. Nothing could be removed without losing information.

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?

For a five-parameter mutation tool with no annotations and no output schema, the description covers purpose and invocation but omits the mechanics an agent needs: mode precedence between explicit ids/paths and age-based criteria, reversibility, and return shape. It is adequate to recognize the tool, not fully adequate to call it confidently in edge cases.

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 the baseline is 3 and each parameter is already documented. The phrase 'inattive o indicate' hints at two distinct modes (criteria-based vs. explicit ids/paths), but the description never explains how the two families interact — e.g., whether ids/paths take precedence over older_than_days/max_access_count or combine with them. That is the one semantic gap the schema alone leaves open, and the description does not close it.

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?

Names a specific verb (archivia), resource (memorie), and destination (40_Archive/), and scopes it to inactive or explicitly indicated memories. It also carves out non-overlap with search/read/add/sync, so an agent can tell it is not the implicit-cleanup path those tools use. It stops short of naming a sibling to use for the adjacent operation (e.g., deletion vs. archiving).

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 a clear trigger condition: inactive memories or ones the caller explicitly indicates, and explicitly states it is never invoked implicitly by search/read/add/sync. That is a real when-to-use signal plus a when-not-to-expect-it signal. It does not say what to do instead when the goal is permanent removal or retrieval of archived items.

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