Skip to main content
Glama

Forget an object

forget
Destructive

Delete one object and everything hanging off it. IRREVERSIBLE.

Its properties, the relationships and actions it takes part in, its
mentions and its ownership rows go with it. There is no undo and no
tombstone, so confirm with the user before calling — get_object first and
say what will go, and prefer get_change_impact when anything might depend
on it.

Use this for what should never have been recorded: a wrong fact, a test
row, something a person asked to have removed. Do NOT use it to tidy a
DUPLICATE — merge_objects folds the duplicate's properties and edges onto
the object you are keeping first, which forget cannot do.

`reason` is optional and is written to the audit log. Refuses graph
plumbing (relationship/action occurrences, vocabulary templates, the
`_system.*` namespace): delete the domain object and its edges follow.
Requires write access to the memory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
memoryYes
reasonNo
object_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and non-idempotence, but the description goes further: it enumerates exactly what is destroyed (properties, relationship/action occurrences, mentions, ownership rows), states there is no undo or tombstone, notes it refuses graph plumbing and the _system.* namespace, and discloses the write-access requirement and audit-log behavior of `reason`.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the destructive action and the IRREVERSIBLE warning, then proceeds through consequences, usage, exclusions, and parameter notes. Dense rather than padded, though the multi-paragraph layout is longer than strictly necessary for a three-parameter tool.

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?

An output schema exists, so return values need no explanation. The description covers preconditions, destructive side effects, refusals, and audit behavior — everything an agent needs to invoke this safely.

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 0%, so the description must compensate. It explains `reason` (optional, written to the audit log) and hints at `object_id` via the get_object precondition, but says nothing about `memory`, leaving one of three parameters undocumented in both schema and prose.

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 ('delete'), resource ('one object'), and cascade scope ('everything hanging off it'), plus the irreversibility. It explicitly contrasts itself with merge_objects, so an agent can distinguish it from siblings without opening schemas.

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?

Gives when-to-use ('a wrong fact, a test row, something a person asked to have removed') and when-not-to-use (duplicates → merge_objects, with the reason merge is better). It also prescribes prerequisites: confirm with the user, run get_object first, prefer get_change_impact when dependents may exist.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources