Skip to main content
Glama

Reject memory

memory_reject
DestructiveIdempotent

Reject and delete a pending memory to prevent incorrect extractions or poisoned content from entering long-term storage.

Instructions

Reject and delete a pending memory (incorrect extraction or poisoned content).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesMemory ID (from memory_pending)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.10.0

TDQS

A5/5.0
Behavior5/5

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

The annotation already includes destructiveHint and idempotentHint, and the description adds context by specifying the scope (pending memory) and the rationale. No contradictions are present.

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?

The description is a single, information-dense sentence with no superfluous words. All key elements are present.

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?

The tool is simple: one parameter, no output schema, and annotations. The description fully covers what it does, when to use it, and what parameter to provide. Nothing essential is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The only parameter 'id' is described as 'Memory ID (from memory_pending)', which precisely indicates what value to supply and where it originates. Full schema coverage is achieved.

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 description clearly states the action (reject and delete) and the target (a pending memory), plus the specific reasons (incorrect extraction or poisoned content). It is immediately obvious what the tool does.

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?

The description explicitly specifies when to use the tool: for pending memories that were incorrectly extracted or contain poisoned content. This gives clear guidance without needing to inspect sibling tools.

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