MCP tool reference for managing and executing test suites and test plans in ContextQA.
Who is this for? SDETs, developers, and DevOps engineers integrating ContextQA with AI coding assistants (Claude, Cursor) or CI/CD pipelines.
Test suites group related test cases for batch execution. Test plans bundle multiple suites together for full-regression or scheduled runs. Use these tools to list, execute, and monitor suite- and plan-level executions.
get_test_suites
Retrieves a paginated list of test suites in the workspace; use this to discover suite IDs before executing.
Category: Test Suites & Plans | Authentication required: Yes
Parameters
Name
Required
Type
Description
page
❌
integer
Page number (0-based). Defaults to 0.
size
❌
integer
Results per page. Defaults to 20.
sort
❌
string
Sort field and direction, e.g. "name,asc".
query
❌
string
Free-text filter applied to suite names.
Returns
Paginated JSON object with content array of suite records. Each record includes id, name, description, and testCaseCount.
Polls the status of a running or completed test plan execution; call repeatedly until SUCCESS or FAILURE is returned.
Category: Test Suites & Plans | Authentication required: Yes
Parameters
Name
Required
Type
Description
execution_id
✅
string
Execution ID returned by execute_test_plan.
Returns
JSON object with status (IN_PROGRESS, SUCCESS, FAILURE), overall pass/fail counts, and per-suite breakdown. Poll every 10–30 seconds until a terminal status is reached.
Re-executes a previously run test plan using the same configuration, useful for re-checking a plan after a fix without reconfiguring execution parameters.
Category: Test Suites & Plans | Authentication required: Yes
Parameters
Name
Required
Type
Description
execution_id
✅
string
Execution ID of the original plan run to rerun.
Returns
JSON with a new execution_id for the rerun and a confirmation message. Use get_test_plan_execution_status to track progress.