Skip to main content
Glama

archive

Exclude a stored memory from recall without deleting it. Supply a key or near-exact query; when no close match exists, use the suggested nearest memory key to retry.

Instructions

Archive a memory — excluded from recall but still stored. Accepts a key or a query; a query acts only on near-exact text, and when nothing is that close the reply names the nearest memory to retry by key.

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": {
      "key_or_query": "<key_or_query>"
    },
    "name": "archive"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNo
key_or_queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv7.1.7

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 disclose the key traits: the memory is retained rather than deleted, query matching is conservative (near-exact only), and the failure mode returns a nearest-match suggestion instead of silently failing. It omits reversibility (can an archived memory be restored?) and any permission or scope constraints, which matters for a mutation tool.

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?

Two tight sentences with the storage effect front-loaded and the query-matching caveat following. Every clause conveys information; only the phrasing 'a query acts only on near-exact text' takes a moment to parse.

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 two-parameter mutation with no annotations and no output schema, the definition covers the primary parameter and the failure path but leaves the reason parameter and the success return shape unexplained. An agent can call it, but cannot fully predict what it gets back or what the optional field does.

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 0%, so the description must compensate. It does well for key_or_query, explaining the key-vs-query distinction and the near-exact matching rule, but the 'reason' parameter is never mentioned and its schema entry is undocumented, leaving one of two parameters opaque.

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 ('Archive a memory') and immediately defines the effect: 'excluded from recall but still stored', which implicitly separates it from destructive siblings like forget. It does not name an alternative tool explicitly, so sibling routing still requires inference.

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 real guidance on which input form to use: a key targets one memory, a query only matches near-exact text, and a failed query returns the nearest memory to retry by key. It stops short of saying when to archive versus forget, deprioritise, or suppress — no explicit exclusions or alternative routing.

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