Skip to main content
Glama
densuke
by densuke

delete_memory

Delete a memory by its unique ID. Confirms deletion or raises an error if the ID is invalid.

Instructions

記憶を削除する。

Args: memory_id: 削除する記憶の ID(1 以上)。

Returns: {"status": "deleted"}

Raises: ValueError: memory_id が 1 未満の場合、または指定された ID の記憶が見つからない場合。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
memory_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description must disclose behavior. It mentions error conditions (ValueError) and the return format, but does not explicitly state that the operation is destructive and irreversible. The risk is partially covered by the error handling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with separate sections for Args, Returns, and Raises. It is concise, but the Japanese text may reduce clarity for non-Japanese users. The information is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simplicity of the tool (single required parameter, no nested objects) and the existence of an output schema, the description covers the essential behavior, error conditions, and return value. It is complete for this level of complexity.

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

Parameters4/5

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

The schema only defines 'memory_id' as an integer with no description (0% coverage). The description adds clear meaning: the ID must be 1 or greater, and it is the identifier of the memory to delete. This compensates well for the missing schema descriptions.

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 ('delete memory') and the resource (memory). It is distinct from sibling tools like save_memory, search_memory, and list_sessions, which have different purposes.

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

Usage Guidelines2/5

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

The description does not provide any guidance on when to use delete_memory versus other tools. It only describes the technical behavior without contextualizing its role in a workflow.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/densuke/fuga-memory'

If you have feedback or need assistance with the MCP directory API, please join our Discord server