Skip to main content
Glama
testrail-mcp
by tmurraypt

delete_project

Permanently delete a TestRail project by project ID when the project is no longer needed, removing it and its associated data irreversibly.

Instructions

Delete a TestRail project (irreversible)

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

Input Schema

NameRequiredDescriptionDefault
project_idYesProject ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the single most important trait: the operation is irreversible. It omits other behavioral facts an agent needs for a destructive tool, such as whether deletion cascades to contained suites, cases, runs and results, what permissions are required, and whether the call fails if the project is non-empty.

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?

One short sentence with zero padding, and the destructive qualifier is right-aligned to the action so the reader sees the consequence immediately. Nothing is redundant.

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?

For a one-parameter destructive tool with no output schema, the essential information is the action, the target and the irreversibility, all of which are present. Deeper detail (cascade scope, permissions) would be welcome but is not required for an agent to select and invoke this correctly.

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% for the single project_id parameter, so the schema already defines it. The description adds no extra meaning such as accepted ID formats or whether the ID must reference an existing project. Baseline 3 applies when the schema does the work.

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?

States a specific verb (delete) and resource (TestRail project), and the resource noun alone separates it from the many sibling delete_* tools for cases, milestones, plans, runs, sections and suites. It stops short of explicitly contrasting with update_project or get_project, but the action is unambiguous.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus alternatives, no prerequisites (permissions, project state, whether dependent suites/cases/runs must be removed first), and no mention of confirmation steps. The agent is left to infer all usage conditions.

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