Skip to main content
Glama

delete_memory_block

DestructiveIdempotent

Deletes a memory block by its UUID within a workspace; blocks in other workspaces return NotFound and workspace:write permission is required.

Instructions

Delete a memory block by id. A block in another workspace is NotFound. Requires workspace:write.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "block_id": "<block_id>"
    },
    "name": "delete_memory_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
block_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description wisely spends its words elsewhere: it discloses the failure mode (a block in another workspace returns NotFound) and the required authorization scope (workspace:write). It stops short of stating whether deletion is recoverable in practice, which would have pushed this to a 5.

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, no filler, and the core action is front-loaded before the error and auth constraints. Every sentence contributes a distinct fact an agent needs.

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?

For a single-parameter destructive mutation with no output schema, the definition covers action, key, authorization scope, and the notable error case. The absence of any note on what a successful result returns is acceptable here but keeps it from being fully complete.

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?

With one parameter at 0% schema description coverage, the description carries the burden, and it only says 'by id'. The schema supplies the uuid format and the parameter name block_id, so the agent can construct a call, but nothing is added about where the id comes from or what form it takes beyond that.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a precise verb+resource+key: 'Delete a memory block by id', so an agent knows exactly what is being removed and how it is addressed. It does not explicitly contrast with adjacent tools like detach_memory_block or clear_thread_block, which would be needed for a 5.

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?

Prerequisites are implied by 'Requires workspace:write', which tells the agent what credential scope is needed before calling. However, there is no explicit when-to-use versus when-not, and no pointer to detach_memory_block for the softer removal case, leaving the choice to inference.

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

Deploy Server

Other Tools