Skip to main content
Glama

Delete Test Suite

delete_test_suite
DestructiveIdempotent

Delete a suite or group node from the hierarchy. Requires confirmation to prevent accidental removal. Use to permanently remove a test suite from the test tree.

Instructions

Delete a test suite node from hierarchy. ⚠️ CAUTION: Destructive.

This operation removes a hierarchy suite/group node. Allure TestOps handles nested entities according to its API behavior for tree groups.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNoMust be set to True to proceed with deletion. Safety measure.
tree_idNoOptional hierarchy tree ID. Use when the suite belongs to a non-default tree.
suite_idYesSuite/group node ID to delete from hierarchy.
project_idNoOptional Allure TestOps project ID override.
output_formatNoOutput format: 'json' (default) or 'plain'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNoRequested operation name.
statusNo
suite_idNo
requires_confirmationNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv0.15.1
    • addedInput schema / properties / tree_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Optional hierarchy tree ID. Use when the suite belongs to a non-default tree."
      +}
  2. Addedv0.14.0
  3. Removedv0.12.1
  4. First observedv0.11.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description reinforces this with an explicit CAUTION warning. It adds the useful caveat that nested entities are handled according to Allure TestOps's tree-group API behavior, though it stops short of explaining exactly what happens to those nested items. No contradiction with the annotations exists.

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?

The description is short and front-loaded: the core action and a danger warning appear in the first two lines, followed by the nested-entity caveat. There is no filler or repetition, though the final sentence is somewhat vague and could be more specific without hurting conciseness.

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?

Given a destructive tool with detailed per-parameter schema descriptions and an output schema, the description is reasonably complete: it states what is removed, warns about destructiveness, and flags nested-entity behavior. It does not need to repeat the confirm flag or output format details already in the schema. The main gap is the unspecified effect on child nodes, but the API-behavior caveat at least acknowledges this nuance.

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 description coverage is 100%, so the schema fully documents all five parameters, including the confirm safety measure and optional tree_id/project_id. The description adds only a slight reinforcement that suite_id targets a suite/group node, but does not need to explain parameter semantics further. 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?

The description opens with a specific verb and resource: 'Delete a test suite node from hierarchy.' It further defines the target as a 'suite/group node,' which distinguishes it clearly from sibling deletion tools like delete_test_case, delete_test_plan, and delete_launch. The purpose is immediately identifiable and unambiguous.

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 establishes clear context: this tool is for removing hierarchy suite/group nodes, so it is appropriate when deleting a test suite node rather than a test case, plan, launch, or shared step. It does not explicitly name alternatives or when-not conditions, but the resource scoping is sufficient for correct routing in most cases.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ivanostanin/lucius-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server