Skip to main content
Glama

copy_test_cases

Copies test cases from any workspace Dataset to a target one, preserving inputs, expected data, and scripts; each copy gets a new ID so edits don't alter originals.

Instructions

Copies test cases from any Dataset of the workspace to the end of this one.

Each copy keeps the Session or inputs, name, expected data and scripts, and gets its own id, so editing a copy leaves the original untouched. Find ids with get_dataset. :param dataset_id: The Dataset to copy into. :param test_case_ids: The test cases to copy, in order. :returns: The Dataset with all its test cases, 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, the description carries the full burden and does well: it explains that the copy preserves Session/inputs, name, expected data and scripts, that each copy receives a new id so editing the copy leaves the original untouched, and that cases are appended to the end of the target dataset. It omits any mention of permissions, quota/limits, or duplicate handling, which keeps it short of 5.

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 core action and scope, then behavioral detail, then the param/return block. The Sphinx-style ':param:' lines are mildly redundant with the prose but every sentence adds 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?

Two required params, no output schema, no annotations – and the description supplies the mutation semantics, id-generation/independence guarantee, append behavior, an id-discovery pointer, and the return value ('The Dataset with all its test cases, or an error message'). Only missing pieces are failure conditions and permission requirements.

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 description coverage is 0%, so the description must compensate, and it does: dataset_id is defined as the target ('The Dataset to copy into') and test_case_ids as an ordered list ('in order'), which conveys the ordering semantics absent from the schema. It does not clarify that ids may come from any other dataset's cases, a minor residual gap.

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 ('Copies test cases') plus the directional scope ('from any Dataset of the workspace to the end of this one'), which implicitly separates it from add_test_cases / remove_test_cases. It does not name a sibling explicitly, so it falls short of the 5 bar.

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 one concrete prerequisite – 'Find ids with ``get_dataset``' – which is genuinely useful. However it never says when to prefer this over add_test_cases (which presumably creates new cases in place) or remove_test_cases, so the choice among siblings is left to inference.

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