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 graph. An object you can't read (hidden from
you, still waiting for review, or rejected) answers as not found. Not
found doesn't mean it is gone: one you just recorded may be waiting, and
a person decides it in Review. Tell the user so; don't try other ids.

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": "<memory>",
      "object_id": "<object_id>"
    },
    "name": "forget"
  }
}

Input Schema

NameRequiredDescriptionDefault
memoryYes
reasonNo
object_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and non-idempotency, but the description adds substantial context beyond them: exactly what cascades (properties, relationships, actions, mentions, ownership rows), absence of undo or tombstone, the audit-log effect of `reason`, refusal of graph plumbing and the `_system.*` namespace, write-access requirement, and the not-found-vs-pending-review distinction.

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?

The irreversibility warning is front-loaded and the following sentences are ordered by importance: consequences, then usage, then exclusions, then edge cases. It is somewhat long and back-loaded with not-found nuance, but nearly every sentence carries operational value.

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 destructive, non-idempotent tool this covers consequences, permissions, refusal cases, and misleading not-found responses thoroughly, and an output schema exists so return values need not be explained. The only gap is the undocumented `memory` parameter, which leaves a caller guessing which graph they are acting on.

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 carry parameter meaning. It fully explains `reason` (optional, written to the audit log) and implies `object_id` through 'the domain object', but the `memory` parameter is never mentioned, leaving one of three parameters entirely undocumented.

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?

Opens with a specific verb plus resource and scope: 'Delete one object and everything hanging off it.' It then explicitly separates itself from merge_objects and names get_object/get_change_impact in the same breath, so an agent can distinguish this from siblings without opening another 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?

Gives positive selection criteria ('a wrong fact, a test row, something a person asked to have removed'), an explicit exclusion with the correct alternative (duplicates go to merge_objects, which folds edges first), and pre-call steps (confirm with the user, get_object first, prefer get_change_impact when dependencies 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