Skip to main content
Glama

remove_test_cases

Deletes specified test cases from a dataset and returns the remaining cases; confirm before running because removal is permanent and unknown IDs are ignored.

Instructions

Removes test cases from a Dataset. Destructive: the removed test cases are gone, so get a yes first.

Ids that are not in the Dataset are ignored. :param dataset_id: The Dataset's id. :param test_case_ids: The test cases to remove. :returns: The Dataset with the test cases left, or an error message.

Input Schema

NameRequiredDescriptionDefault
dataset_idYes
test_case_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.44

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations present the description accepts the full burden and does reasonably well: it labels the operation destructive, warns that removed cases are unrecoverable, and documents the notable no-op behavior that unknown ids are silently ignored. It omits permission/auth requirements and what happens if the resulting dataset becomes empty.

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?

Behavior and the confirmation warning are front-loaded in the first two sentences, and the docstring parameter lines are short. The ':param:'/'returns' formatting is slightly mechanical but each line carries information.

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 two-parameter mutation tool with no annotations and no output schema, the description covers the destructive consequence, the idempotency edge case, and the return value ('the Dataset with the test cases left, or an error message'). Only auth/permission context is missing.

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 0%, so the description must carry both parameters, and it does — dataset_id as the target Dataset and test_case_ids as the cases to remove. The added note that ids absent from the Dataset are ignored gives meaningful semantics beyond the bare types.

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?

Opens with a specific verb and resource plus its container ('Removes test cases from a Dataset'), which separates it from delete_dataset, add_test_cases, and update_test_case. It does not explicitly name those siblings, so an agent must infer the boundary rather than being routed.

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?

Gives a real precondition ('get a yes first') for a destructive operation, which is more than most mutation tools offer. However, it never states when to use removal versus update_test_case or how it differs from add_test_cases' inverse, so the when-to-use guidance is only partial.

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

Deploy Server

Other Tools