Skip to main content
Glama

forget

Invalidate or permanently delete an entity or observation UUID when facts are superseded or contradicted. Soft mode keeps audit trails; hard mode expunges sensitive data and cascades to dependents.

Instructions

Invalidate or permanently remove an entity or a specific observation UUID. Supports soft invalidation, hard permanent deletion, and automatic cascading invalidation of dependent facts.

WHEN TO USE:

  • Use "forget" when a fact is superseded, contradicted, or deprecated.

  • Prefers soft invalidation (hard=false) to preserve audit trails. Use hard=true only when permanently expunging sensitive data.

  • DO NOT use to update a fact with new info — use "remember" with updated content.

PERMISSIONS & FAILURE BEHAVIOR:

  • Operates locally on SQLite storage. Returns an error if the target entity name or UUID is not found in the database.

  • Returns JSON containing { ok: true, type, targetId/entity, mode, cascadedStaleCount }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hardNotrue = permanent delete from database; false = mark invalidated (default)
targetYesEntity name OR observation UUID to forget
cascadeNotrue = also invalidate facts derived from this target (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/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 so: it discloses local SQLite storage, the error returned when the target is not found, the irreversibility implied by hard=true permanent expunging, cascade semantics, and even the response shape (ok/type/targetId/mode/cascadedStaleCount). This covers safety, failure, and side-effect behavior an agent needs.

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?

Front-loaded one-line purpose followed by labeled sections for usage and failure behavior; every sentence carries actionable content with no filler. The structure lets an agent scan the trigger, the mode trade-off, and the exclusion quickly.

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

Completeness5/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 description supplies everything missing: when to use, when not to, preference between modes, error behavior, cascade behavior, and a description of the return payload. No relevant gap remains.

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 100%, so the baseline is 3; the description adds genuine meaning by explaining the soft (audit-preserving) vs hard (permanent expunge) mode distinction for 'hard' and the dependent-fact invalidation for 'cascade'. It stops short of detailing the 'target' string format beyond what the schema already says.

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?

The opening sentence names the exact operation (invalidate or permanently remove) and the two target types (entity or observation UUID), plus the cascading behavior. It clearly differentiates from siblings by naming remember as the tool for updating facts, so an agent can route without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit WHEN TO USE section: forget when a fact is superseded/contradicted/deprecated, prefers soft invalidation (hard=false), hard=true only for sensitive data, and an explicit DO NOT clause pointing to the remember alternative. Both the positive trigger and the exclusion are stated.

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