Skip to main content
Glama

Delete Project

project_delete
DestructiveIdempotent

Permanently deletes a project with everything saved in it: its saved keywords and their rank history, research documents, keyword lists, attached sites and Google connections; rank tracking, audits and stored run results kept for the project are erased afterwards. This cannot be undone. Needs an owner or admin of the organization (an organization API key acts as one; an OAuth connection acts in the signed-in person's role). A delete must be confirmed with confirm_name (the project's exact current name) or revision (its current revision, from projects_list): it is deleted only if the confirmation matches the project as it is now. Called without either, it deletes nothing and the refusal says exactly what a delete would remove and how to confirm; ask the user before confirming. The result lists what was removed (removed.saved_keywords, keyword_observations, research_documents, keyword_lists, google_connections, sites). Repeating it after success reports the project as not found. Free.

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": "project_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
revisionNoThe project's current revision (revision in projects_list), to confirm the delete instead of, or as well as, confirm_name. If the project changed since, nothing is deleted.
verbosityNoconcise: short summary of the answer; full: the whole answer. Only shapes the output.
project_idYesProject ID, as listed by projects_list; it must belong to the authenticated organization.
confirm_nameNoThe project's exact current name, to confirm the delete.
idempotency_keyNoOptional and ignored: this call never charges, and a key does not make a repeated call safe.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructive=true and idempotentHint=true, but the description adds real context beyond them: the auth requirement (owner/admin, with the API-key vs OAuth role distinction), the exact-match confirmation rule against current project state, the dry-refusal behavior and its explanatory output, the shape of the removal report, and the not-found behavior after success. The 'reports as not found' note is consistent with idempotentHint rather than contradicting it.

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?

Front-loaded with the destructive scope first, then irreversibility, then prerequisites, then the confirmation contract, then the result shape. Every sentence carries information, though the first sentence is a long clause-heavy list that could be split for faster scanning.

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?

With no output schema, the description supplies the return shape (removed.saved_keywords, keyword_observations, research_documents, keyword_lists, google_connections, sites) and the refusal behavior. For a destructive multi-object mutation, auth, confirmation, and result details are all covered.

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 coverage is 100%, so the baseline is 3; the description goes further by explaining that confirm_name must be the project's exact current name and revision must come from projects_list and match current state, including that supplying neither deletes nothing. It also usefully notes that idempotency_key is ignored because a key does not make a repeat safe.

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 ('Permanently deletes a project') and enumerates exactly what is included in the deletion (saved keywords, rank history, research documents, keyword lists, sites, Google connections, rank tracking, audits, run results). That scope enumeration distinguishes it from narrower siblings like research_document_delete, saved_keywords_delete, and project_rename.

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?

Gives a clear when-to-use signal (whole-project removal, irreversible) plus the required confirmation workflow, and instructs the agent to ask the user before confirming. It does not explicitly say to prefer a narrower delete tool when only one artifact should be removed, which is the remaining gap.

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