Skip to main content
Glama

Archive a note

memory_archive
Destructive

Archives a wrong or unwanted note with no newer replacement, hiding it from search and listings without erasing it; only a person can restore or delete it.

Instructions

Archive a note that is wrong or no longer wanted and has no newer replacement (if it does, use memory_replace). It disappears from search and listings but is not erased. Agents cannot restore or delete an archived note, on purpose: only a person can, so tell the user, and ask first if unsure.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "memory_archive"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId of the note to archive.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.7.0
    • addedInput schema / properties / id / description
      Added value: +"Id of the note to archive."
  2. Addedv1.6.0

TDQS

A4.7/5.0
Behavior5/5

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

With only destructiveHint=true supplied, the description adds critical context: the note disappears from search and listings but is not erased, and agents cannot restore or delete it because only a person can. It also mandates user communication, which is valuable behavioral disclosure beyond the annotation.

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 definition is three tight sentences ordered as purpose, effect, and constraint. No wording is wasted, and the alternative route plus safety instructions are front-loaded for quick scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter archival tool with no output schema, the description covers the action, visibility effect, authorization boundary, and required user communication. Nothing material is missing for correct invocation.

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?

There is one parameter, id, and the schema already documents it at 100% coverage as the id of the note to archive. The description adds no further meaning about the parameter's format or accepted values, so the baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource, "Archive a note," and narrows the scope to notes that are wrong or no longer wanted and lack a newer replacement. It explicitly distinguishes this from memory_replace when a replacement exists, so an agent can identify the right tool without opening sibling schemas.

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

Usage Guidelines5/5

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

It gives explicit when-to-use conditions and names memory_replace as the alternative when a newer replacement exists. It also instructs the agent to tell the user and ask first if unsure, covering procedural guidance rather than leaving it implied.

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