Skip to main content
Glama

BotSpot: AI Trading, Backtests and Bots

Delete a long-term memory about the user

delete_memory
DestructiveIdempotent

Permanently delete a memory about the user.

CALL delete_memory when the user explicitly asks to forget something, OR when they correct a fact you retrieved ("no, I switched to IBKR last month" — delete the old "user trades on Tradier" memory after writing the new one).

Obtain the memoryId from a prior search_memory result. Deleting a memory id that does not belong to the authenticated user is silently ignored.

Input Schema

NameRequiredDescriptionDefault
memoryIdYesThe id of the memory to delete. Obtain from the `id` field in a prior `search_memory` result. The server verifies you own the memory before deleting; ids belonging to other users are silently ignored (returns success either way to prevent enumeration).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description reinforces permanence while adding the non-obvious ownership behavior: deleting an id not owned by the user is silently ignored rather than erroring. That silent-ignore semantics is the kind of behavior an agent cannot infer from annotations or schema and it materially affects retry/error-handling logic.

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?

Four short blocks, front-loaded with the destructive nature and then the trigger condition. The example is inline and parenthetical rather than a separate paragraph, and there is no filler.

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?

Single-parameter mutation tool with no output schema, and the description covers everything an agent needs: irreversibility, when to invoke, where the id comes from, and the silent-ignore outcome for foreign ids. Nothing required to call it correctly 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 schema's memoryId description already covers the source of the id, the ownership check, and the enumeration-defense rationale for returning success either way. The description's 'Obtain the memoryId from a prior search_memory result' largely restates the schema, so the baseline 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?

States a specific verb and resource ('Permanently delete a memory about the user'), including the critical scope modifier 'permanently'. It is trivially distinguishable from its closest siblings, remember (writes) and search_memory (reads), which it explicitly references as the id source.

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 explicit trigger conditions: user asks to forget something, or corrects a retrieved fact. The worked example ('no, I switched to IBKR') plus the ordering instruction to delete the old memory after writing the new one removes nearly all ambiguity about when and in what sequence to call it.

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.