Skip to main content
Glama

memory_forget

Delete a stored fact by exact label or ID, requiring confirm=true to prevent accidental removal.

Instructions

Delete a fact by exact label or id. Requires confirm=true.

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": {
      "target": "<target>"
    },
    "name": "memory_forget"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesExact label or fact id
confirmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.6/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 and does disclose one important behavioral trait: a confirm=true safety gate must be passed for the mutation to occur. It does not state whether the deletion is permanent/irreversible, what happens if no fact matches the exact label, or whether it errors versus silently no-ops, all of which matter for a destructive tool.

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 short sentences, the action first and the precondition second, with no filler. Every clause carries information an agent needs before invoking the tool.

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 tool with no output schema and no annotations, the definition covers the minimum but leaves gaps: no success/failure semantics, no statement about irreversibility, and no recovery path if the exact label is wrong. Adequate to invoke, thin for a destructive operation.

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

Parameters4/5

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

Schema coverage is 50%, with target already documented as "Exact label or fact id." The description adds real meaning for the undocumented confirm parameter by stating it must be true, clarifying that the schema default of false will not effect the deletion. It reinforces rather than extends the target semantics.

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 opens with a specific verb and resource ("Delete a fact") and scopes the identifier form ("by exact label or id"), which is enough to distinguish it from memory_add, memory_search, and memory_provenance. It stops short of explicitly naming which sibling to use when the exact label is unknown, but the core action is unambiguous.

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 only implied (delete when you want a fact removed) plus one hard precondition, "Requires confirm=true." There is no guidance on what to do when the label is uncertain, e.g., whether to run memory_search or memory_provenance first to resolve an id, and no statement of when not to use this tool.

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