Skip to main content
Glama

memory_delete_many

Delete multiple memories by ID in one call. Returns the number of deleted memories.

Instructions

Delete multiple memories by ID in one call. Returns the number actually deleted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYesMemory IDs to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are present, so the description carries the burden. It mentions 'Returns the number actually deleted', hinting at partial deletion behavior, but does not disclose irreversibility, error handling, or authentication requirements.

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 concise, with only two sentences, and clearly conveys the action and return value without unnecessary words.

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 simple delete operation, the description sufficiently covers the purpose, input, and output (number deleted). No output schema is present, but the return value is explicitly stated, making it complete for this context.

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?

The schema already describes the 'ids' parameter as 'Memory IDs to delete', and the description adds no additional semantic detail. Since schema coverage is 100%, a baseline score of 3 is appropriate.

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 tool deletes memories by ID in a single call, which is specific and distinguishable from other memory-related tools like memory_prune (which likely deletes by criteria) and memory_purge_actor (which deletes by actor).

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

Usage Guidelines3/5

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

The description implies usage when specific memory IDs are known, but it does not explicitly contrast with sibling tools like memory_prune or memory_purge_actor. No guidance on when not to use this tool is provided.

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