Skip to main content
Glama

delete_project

Bulk delete all memories belonging to a project by scanning keys directly, so it catches entries recall can't surface; requires confirm=True, otherwise returns a preview.

Instructions

Bulk delete every memory belonging to a project. Requires confirm=True; returns a preview otherwise.

Finds memories by scanning keys directly (no semantic search), so it catches everything — including memories that recall can't surface. Deletes in pipelined batches rather than one call per key.

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": {
      "project_name": "<project_name>"
    },
    "name": "delete_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
project_nameYes
include_contextNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv7.1.7

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does much of it: it discloses the dry-run/preview gate, the key-scanning mechanism (no semantic search), its coverage of memories recall cannot surface, and batched deletion. The critical omission is that it never states the deletions are permanent/irreversible or whether any recovery or backup path exists.

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 sentences, front-loaded with the action and the confirm gate, then the mechanism and performance note. No sentence is filler; even the batching remark tells the agent to expect a long-running bulk operation rather than per-key calls.

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

Completeness3/5

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

For a destructive, unannotated, no-output-schema tool, the definition covers mechanics well but leaves out reversibility, what the preview payload contains, and permissions needed. These are the details an agent most needs before triggering an unrecoverable bulk delete.

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 coverage is 0%, so the description must compensate. It fully defines 'confirm' (True deletes, otherwise preview) and 'project_name' is implied by the project scoping, but 'include_context' is never mentioned anywhere and remains semantically opaque to the agent.

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 first sentence gives a concrete verb and resource with explicit scope: bulk deletion of every memory belonging to a project. That scope wording implicitly separates it from single-memory operations, but no sibling tool (e.g. forget or deprioritise_project) is named, so differentiation is left to inference.

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?

It states the confirm=True requirement and that omitting it yields a preview, which is real usage guidance. It never says when to prefer this over deprioritise_project, archive, or forget, nor when deletion is inappropriate, so the when-not side is absent.

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