Skip to main content
Glama

Remove Project

remove_project
DestructiveIdempotent

Archive a project to hide it while keeping it recoverable, or permanently delete its record and registry tag after confirming the resolution.

Instructions

Remove a project by archiving (sets status to 'archived', recoverable) or permanently deleting. On first call, returns a conflict with ARCHIVE / DELETE / CANCEL options. Pass mode after the user decides. The project's tag is kept in the registry on archive. On delete, the project record and its registry tag are removed but tasks/customers keep the tag string in their arrays (orphaned). Run history referencing this project is preserved.

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_id": "<project_id>"
    },
    "name": "remove_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoDeprecated: use `resolution`. 'archive' / 'delete' / 'cancel'.
project_idYesProject UUID to remove.
resolutionNoResolution after the removal conflict: 'confirm' deletes (recoverable for 30 days), 'archive' hides it (recoverable), 'cancel' aborts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.0

TDQS

A4.5/5.0
Behavior5/5

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

Even with destructiveHint=true already supplied, the description goes well beyond the annotations: archive is recoverable and keeps the registry tag, delete removes the project record and its registry tag but leaves orphaned tag strings in tasks/customers, and run history is preserved either way. That is precisely the consequence information an agent needs before advising a human on a destructive choice.

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?

Five tight sentences, front-loaded with the core action and its two variants, then the interaction protocol, then side effects in descending order of severity. No filler and nothing that could be cut without losing consequence information.

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?

This is a multi-step, destructive, human-in-the-loop operation with no output schema, and the description covers the conflict protocol, the recoverability window, and exactly what data survives or becomes orphaned. Very little an agent needs in order to call it safely 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 coverage is 100%, so the baseline is 3. The description does add the two-phase conflict flow that explains why a mode/resolution argument is needed at all, but it introduces confusion by consistently talking about 'mode' while the schema marks 'mode' as deprecated in favor of 'resolution', and it labels the options ARCHIVE/DELETE/CANCEL while the resolution enum is confirm/archive/cancel.

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 names the verb (remove) and the resource (project) and immediately disambiguates it into two distinct behaviors — archiving (status set to 'archived') versus permanent deletion. This is clearly separable from siblings like restore_item, purge_item, and list_deleted, which handle adjacent lifecycle operations.

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

Usage Guidelines4/5

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

It gives explicit sequencing guidance: the first call returns a conflict with ARCHIVE / DELETE / CANCEL, and the mode is passed only after the user decides. That is real usage instruction, but it stops short of naming alternatives (e.g., why not call purge_item or restore_item instead) or stating preconditions such as required permissions.

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