Skip to main content
Glama
Apidog MCP Server

Apidog MCP Server

by ivanherula

delete_test_case

Permanently removes a test case from your Apidog project using its test case ID, clearing outdated or unused tests from your suite.

Instructions

Delete a test case by ID

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": {
      "testCaseId": "<testCaseId>"
    },
    "name": "delete_test_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
testCaseIdYesTest case ID to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing. For a destructive mutation it says nothing about irreversibility, whether deletion cascades to associated steps/data/results, what permissions are required, or what happens if the ID does not exist.

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, front-loaded with the action and resource, with zero filler. Nothing is repeated and nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (one required numeric parameter, no output schema), so the description needn't explain return values or nesting. However, the absence of any destructive-behavior context leaves a genuine gap for a delete operation with no annotations backing it up.

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 single required testCaseId parameter is already fully documented in the schema. The description only restates 'by ID' and adds no format, range, or validity constraints beyond that.

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 and resource ('Delete a test case') plus the keying attribute ('by ID'), which is enough to distinguish it from delete_test_suite, delete_test_scenario and delete_test_data by resource alone. It stops short of any explicit differentiation statement, but the resource noun 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 Guidelines3/5

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

Usage is only implied: the verb makes clear this removes a test case, but there is no guidance on when to prefer it over update_test_case, no prerequisites, and no mention that a related bulk or cascade alternative might apply. Adequate for a trivial single-resource delete, but no explicit when/when-not guidance.

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