Skip to main content
Glama
PlainTxtOffice

Plain Text Memory MCP

Delete observations

delete_observations
DestructiveIdempotent

Deletes specified observations from entities by exact text match. Returns deleted observations per entity; ignores non-existent texts or entities.

Instructions

Delete observations from entities, matched by exact text.

Returns the deleted observations in full, per entity, with a summary message; entities that lost nothing are left out. Entities and texts that do not exist are ignored. To delete a whole entity, see delete_entities.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deletionsYesObservations to delete, grouped by entity.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYes
deletedObservationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds real value beyond that: it returns the deleted observations in full per entity plus a summary, omits entities that lost nothing, and ignores unknown entities/texts — the latter consistent with the idempotent hint.

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 short sentences, front-loaded with the core operation, then return behavior, then the sibling redirect. No filler and no repetition of the name/title.

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?

Despite a simple one-parameter schema, the description covers matching semantics, partial-failure behavior, return shape, and the alternative tool. With an output schema present, return details are a bonus rather than a necessity, and nothing an agent needs is missing.

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% and the property descriptions already explain entityName as 'name of the entity to change' and observations as 'exact texts'. The description's 'matched by exact text' reiterates rather than extends the schema, so the 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 (delete), resource (observations), and matching mode (exact text), which immediately separates it from add_observations/edit_observation. It also names the sibling to use for a related-but-different task (delete_entities).

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?

Gives a clear routing rule: use delete_entities to delete a whole entity rather than this tool. It also clarifies that non-existent entities/texts are silently ignored, which tells the agent this call will not fail on a partial match. No prerequisites or permission caveats are stated.

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