Skip to main content
Glama

Dismiss a memory

dismiss_memory
Idempotent

Hide a memory, observation, fact, or episode from search and session context without deleting it; reversible, use for stale or incorrect items.

Instructions

Hide one memory, observation, fact or episode from search and session context without deleting it. Fully reversible with restore_memory. Use it for stale or wrong items; nothing is erased. Returns a confirmation, says so when the item was already dismissed, and returns an error when the id does not exist.

Input Schema

NameRequiredDescriptionDefault
idYesNumeric id of the item, as shown by search or get_observations. Required.
typeNoWhat kind of item the id refers to. Default memory. Facts appear in search as "fact #id".
reasonNoWhy it is dismissed, kept in the audit trail. Truncated to 300 characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.3
    • addedInput schema / properties / id / description
      Added value: +"Numeric id of the item, as shown by search or get_observations. Required."
    • addedInput schema / properties / reason / description
      Added value: +"Why it is dismissed, kept in the audit trail. Truncated to 300 characters."
    • addedInput schema / properties / type / description
      Added value: +"What kind of item the id refers to. Default memory. Facts appear in search as \"fact #id\"."
  2. First observedv0.1.2

TDQS

A4.5/5.0
Behavior5/5

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

Adds real behavior beyond the annotations: nothing is erased, the action is fully reversible via restore_memory, a confirmation is returned, an already-dismissed item is reported rather than failing, and an unknown id produces an error. This corroborates and enriches idempotentHint=true and destructiveHint=false rather than restating them.

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?

Three tight sentences; the non-destructive, reversible nature is front-loaded before the usage hint and the return behavior, so the most decision-relevant fact comes first.

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?

With no output schema, the description covers return semantics (confirmation, already-dismissed case, error case) and the reversibility path, which is everything an agent needs to call this three-parameter mutation 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 description coverage is 100%, so id, type and reason are already documented in the schema, including the enum values and the truncation rule. The description restates the four item kinds but adds no syntax, format, or id-provenance guidance beyond what the schema provides, so 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 (hide) plus the exact resource scope (memory, observation, fact or episode) and explicitly contrasts with deletion, which distinguishes it from restore_memory and from any hard-delete behavior an agent might assume.

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?

"Use it for stale or wrong items" gives a clear selection criterion, and restore_memory is named as the inverse operation. It stops short of explicit when-not guidance (e.g., preferring an update/edit path instead of dismissal for correctable facts), so it is clear but not exhaustive.

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