Skip to main content
Glama

Demote

demote

Remove a memory from hot cache and keep it in cold storage to free active cache space without deleting it.

Instructions

Remove a memory from hot cache (keeps in cold storage).

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": {
      "memory_id": "<memory_id>"
    },
    "name": "demote"
  }
}

Input Schema

NameRequiredDescriptionDefault
memory_idYesID of memory to remove from hot cache

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses that data is retained in cold storage rather than destroyed, which is the key behavioral fact. However, it omits reversibility (can promote restore it?), error behavior when the memory is not in the hot cache, and any permission requirements.

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 with zero filler; the retention caveat is placed immediately after the action so it is read before the agent commits.

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?

An output schema exists, so return values need not be explained, and the tool is structurally simple with one documented parameter. Still, for a state-changing memory operation with no annotations, the definition leaves reversibility and failure conditions undocumented.

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?

One required parameter with 100% schema description coverage ('ID of memory to remove from hot cache'), so the schema already does the work. The description adds no format, range, or lookup guidance beyond restating the identifier's purpose.

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+resource ('Remove a memory from hot cache') and adds a scope qualifier ('keeps in cold storage') that distinguishes it from a true delete. It does not explicitly name the sibling it contrasts with (e.g. forget), so the differentiation is implied rather than stated.

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 by the retention parenthetical: use this when the memory should leave the hot tier but survive in cold storage. There is no explicit when-not guidance, no mention of forget as the destructive alternative, and no mention of promote as the inverse operation, despite both being siblings.

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