Skip to main content
Glama

Delete a project

delete_project
DestructiveIdempotent

Permanently delete a project and all its screens. Designs cannot be recovered. Call only after your user confirms the exact project by name. Never delete projects to tidy up on your own initiative.

Input Schema

NameRequiredDescriptionDefault
confirmYesSet only after your user confirms this exact project by name. Deletion is irreversible.
projectIdYesProject id from an item's id in list_projects, or data.id in create_project.

Output Schema

NameRequiredDescriptionDefault
deletedYesAlways true. The project and its screens are gone.
projectIdYesId of the deleted project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / deleted / description
      Added value: +"Always true. The project and its screens are gone."
    • addedOutput schema / properties / projectId / description
      Added value: +"Id of the deleted project."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds the consequences the annotation cannot convey: designs are unrecoverable and consent must be obtained per-project by name. That is genuinely additive safety context rather than a restatement.

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, front-loaded with the irreversibility warning, then the consent precondition, then the anti-pattern. Every sentence carries distinct information; nothing is padding.

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?

An output schema exists, so return values need not be described. For a two-parameter destructive tool, the description covers consequence, consent gate, and misuse avoidance — nothing an agent needs 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% and the confirm parameter already documents "Set only after your user confirms this exact project by name. Deletion is irreversible." The description largely echoes that same consent language rather than adding new parameter-level detail, so the baseline 3 is appropriate.

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?

States a specific verb+resource ("Permanently delete a project") plus the blast radius ("and all its screens"). The word "permanently" and "cannot be recovered" distinguish it from softer siblings like cancel_design_run or create_project without opening any schema.

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

Usage Guidelines5/5

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

Gives explicit preconditions and an explicit negative rule: "Call only after your user confirms the exact project by name" and "Never delete projects to tidy up on your own initiative." This is a rare case where both when-to-use and when-not-to-use are spelled out.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.