Skip to main content
Glama

delete_memory

Marks a goal memory inactive so it is forgotten temporarily and can be restored later; for human use only in the quarterdeck-goals plugin, not by agents or models.

Instructions

Forgets one of a goal's memories for the human: it goes inactive and can be restored. For the quarterdeck-goals plugin only: agents and the model must not call this.

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

Input Schema

NameRequiredDescriptionDefault
goal_idYes
memory_idYes
run_scopeNoA goal run passes its run id here; anyone else leaves it out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.32.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations present, the description carries the full burden, and it delivers the single most important trait for a delete tool: the change is reversible ("goes inactive and can be restored"). It also scopes the caller audience. It omits any mention of authorization requirements, side effects on related memories, or what the response contains.

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?

Two sentences, zero filler. The core behavior and its reversibility are front-loaded, and the caller restriction follows immediately.

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

Completeness4/5

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

For a three-parameter mutation tool with no annotations and no output schema, the definition covers purpose, effect, reversibility, and audience restriction, which is nearly everything the intended human caller needs. The remaining gap is parameter-level detail on the two required IDs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33% — only run_scope is documented in the schema — and the description adds no parameter guidance at all. goal_id and memory_id are left to name inference, with no statement about accepted formats, whether memory_id must belong to that goal, or when run_scope should be supplied.

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 gives a specific verb and resource ("Forgets one of a goal's memories") and immediately states the effect: the memory "goes inactive and can be restored." That distinguishes it from goal-level deletion (delete_goal) and from restore_memory, though it never names those siblings explicitly.

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?

It provides an unambiguous exclusion: "For the quarterdeck-goals plugin only: agents and the model must not call this." This tells an agent when not to use it, which is strong guidance. It stops short of naming the correct alternative for agent-initiated forgetting (e.g. forget), so the routing half of the guidance is left implicit.

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