Skip to main content
Glama

Delete a project

delete_project
DestructiveIdempotent

Delete one project you own (project_id), or ALL your projects (all:true, which also deletes your consent record). Deletion is permanent: the archive, its tokens, its events, its event dedup/meta/reversal keys and its check state are gone. Kept: one tombstone per deleted project ({owner, deleted_at}) for 400 days so old tokens can never resurrect it, plus anonymous per-tool aggregates only (no owner or project ids). Owner credential only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "delete_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNo
project_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description discloses exactly what is destroyed — archive, tokens, events, dedup/meta/reversal keys, check state — and what survives: a 400-day tombstone ({owner, deleted_at}) plus anonymous per-tool aggregates. It also flags the side effect that all:true additionally deletes the consent record, which annotations alone would never reveal.

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?

Three tight sentences, front-loaded with the two usage modes, then consequences, then retention. Information-dense with no filler, though the destruction/retention clauses are packed into long sentences that would scan faster if separated.

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 permanent destructive tool with no output schema and no documented parameters, the definition covers blast radius, retention, credentials and the all-mode side effect. What is missing is failure/confirmation behavior and default semantics when neither parameter is supplied, which matters given zero required parameters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry both parameters, and it does: project_id is scoped to 'one project you own' and all:true is defined as all projects plus consent-record deletion. It does not state defaults or whether the two are mutually exclusive, leaving a small gap for a 0-required-parameter tool.

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 and resource ('Delete one project') and immediately splits the two supported scopes: a single owned project via project_id, or every project via all:true. This is unambiguous and differentiable from read-only siblings like project_get or project_list.

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?

The description gives clear conditional guidance between the tool's two modes (project_id vs all:true) and states the prerequisite 'Owner credential only.' It does not, however, route the agent toward or away from account-level siblings such as forget_me, so exclusions are absent.

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.

Resources