Skip to main content
Glama

forget

DestructiveIdempotent

Permanently deletes a fact and all its versions, including from disk, only when the user explicitly requests its removal. Use supersede instead for outdated or changed facts.

Instructions

Borra para siempre un hecho y todas sus versiones, también del disco.

Úsalo solo si el usuario pide olvidar algo. Para datos que cambiaron, usa supersede.

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": "forget"
  }
}

Input Schema

NameRequiredDescriptionDefault
memory_idYesId de cualquier versión del hecho.

Output Schema

NameRequiredDescriptionDefault
warningsNo
deleted_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.3.1
    • addedOutput schema / properties / warnings
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "title": "Warnings",
      +  "type": "array"
      +}
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds meaning beyond them: deletion is permanent, cascades to every version of the fact, and removes it from disk. That irreversibility and cascade scope are exactly the behavior an agent needs before calling a destructive tool. It does not mention confirmation requirements or return behavior, but an output schema exists to cover the latter.

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 with zero filler: the destructive scope is front-loaded, then the usage condition, then the alternative. Every clause earns its place.

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 single-parameter destructive tool with rich annotations and an output schema, the description covers the essential semantics: permanence, cascade to versions, disk removal, and routing to supersede. The main omission is whether user confirmation or special permissions are expected before an irreversible delete.

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 coverage is 100% and the single parameter's meaning ('Id de cualquier versión del hecho') is already documented in the schema, so the description does not need to restate it. The phrase 'todas sus versiones' reinforces the cascade but adds no new parameter-level detail beyond what the schema states; baseline 3 applies.

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?

States a specific verb and resource ('Borra para siempre un hecho y todas sus versiones, también del disco') with explicit scope: permanent, all versions, including disk. It clearly distinguishes itself from supersede, so an agent can separate the two without opening either schema.

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 a clear when-to-use condition ('Úsalo solo si el usuario pide olvidar algo') and names the alternative for the adjacent case ('Para datos que cambiaron, usa supersede'). It stops short of the full explicit when/when-not/alternatives treatment, but the routing guidance is unambiguous.

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

Deploy Server

Other Tools