Skip to main content
Glama

delete_fork

Deletes a specified memory fork by ID while preserving the main store; use it to remove obsolete or unwanted forks without affecting primary memories.

Instructions

Delete a fork. Cannot delete the main store.

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": {
      "fork_id": "<fork_id>"
    },
    "name": "delete_fork"
  }
}

Input Schema

NameRequiredDescriptionDefault
fork_idYesFork ID to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It says 'delete' and notes one restriction, but never states irreversibility, what happens to memories/relationships contained in the fork, or permission requirements — critical omissions for a destructive operation.

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?

Two short sentences with no filler, and the destructive action is front-loaded ahead of the constraint. It is efficient, though the terseness leaves little room for the behavioral detail a delete tool needs.

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

Completeness2/5

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

For a destructive, no-annotation, no-output-schema tool, the description should explain cascading effects and irreversibility. It covers only the main-store restriction, leaving the agent unable to predict consequences of the call.

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?

Single parameter with 100% schema description coverage, so baseline is 3. The description adds no format, sourcing, or lookup detail for fork_id beyond what the schema already says.

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?

States a specific verb+resource ('Delete a fork') and adds a real scope constraint ('Cannot delete the main store'), which distinguishes the target from the main store. It does not differentiate from siblings like restore_snapshot or delete_memory, but the resource is unambiguous.

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?

No guidance on when to use this versus alternatives such as restore_snapshot or list_forks, and no prerequisites stated. The only constraint given ('Cannot delete the main store') is a hard limit rather than a usage recommendation.

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