Skip to main content
Glama

delete_project

Destructive

Deletes a project only when it has no tasks and returns its slug; if tasks exist, it fails with CONFLICT, so archive the project instead.

Instructions

Delete a project that has no tasks; a project with tasks refuses with CONFLICT (archive it instead). Output {deleted:}

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

Input Schema

NameRequiredDescriptionDefault
projectYesslug of the project to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, but the description adds real value beyond them: the precondition on task state, the exact failure mode (CONFLICT) so the agent can handle the error, and the return shape {deleted:<slug>}. It omits anything about required permissions or side effects on related data, which is the remaining gap.

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?

Two dense sentences with zero filler; the precondition is front-loaded and the failure behavior plus return value follow in order of need. Nothing could be removed without losing information.

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 one-parameter destructive tool with no output schema, it covers the essential call-time facts: precondition, error outcome, and response shape. Only authorization requirements and cascade effects are unaddressed.

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% with the single 'project' parameter already documented as 'slug of the project to delete'. The description adds no format, casing, or resolution details beyond the schema, so baseline 3 applies.

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?

Names a specific verb and resource (delete a project) and immediately narrows scope with the precondition 'that has no tasks'. It stops short of naming a sibling tool for the archive route, saying only 'archive it instead', so the differentiation is conceptual rather than tool-level.

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?

Explicitly states when the tool applies (project with no tasks) and gives a fallback for the failing case ('archive it instead'). It does not name the tool that performs archiving, so the agent must still map that intent to a sibling.

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