MCP tools specification
The Distributed Load Testing solution exposes a set of MCP tools that enable AI agents to interact with test scenarios and results. These tools provide high-level, abstracted capabilities that align with how AI agents process information, allowing them to focus on analysis and insights rather than detailed API contracts.
Note
All MCP tools provide read-only access to the solution’s data. No modifications to test scenarios or configurations are supported through the MCP interface.
list_scenarios
Description
The list_scenarios tool retrieves a list of all available test scenarios with basic metadata.
Endpoint
GET /scenarios
Parameters
None
Response
| Name | Description |
|---|---|
|
|
Unique identifier for the test scenario |
|
|
Name of the test scenario |
|
|
Current status of the test scenario |
|
|
When the test was created or last run |
|
|
Description of the test scenario |
get_scenario_details
Description
The get_scenario_details tool retrieves the test configuration and most recent test run for a single test scenario.
Endpoint
GET /scenarios/<test_id>?history=false&results=false
Request parameter
-
test_id -
-
The unique identifier for the test scenario
Type: String
Required: Yes
-
Response
| Name | Description |
|---|---|
|
|
Task configuration for each region |
|
|
Test definition and parameters |
|
|
Current test status |
|
|
Test start timestamp |
|
|
Test end timestamp (if completed) |
list_test_runs
Description
The list_test_runs tool retrieves a list of test runs for a specific test scenario, sorted newest to oldest. Returns a maximum of 30 results.
Endpoint
GET /scenarios/<testid>/testruns/?limit=<limit>
or
GET /scenarios/<testid>/testruns/?limit=30&start_date=<start_date>&end_date=<end_date>
Request parameters
-
test_id -
-
The unique identifier for the test scenario
Type: String
Required: Yes
-
-
limit -
-
Maximum number of test runs to return
Type: Integer
Default: 20
Maximum: 30
Required: No
-
-
start_date -
-
ISO 8601 timestamp to filter runs from specific date
Type: String (date-time format)
Required: No
-
-
end_date -
-
ISO 8601 timestamp to filter runs until specific date
Type: String (date-time format)
Required: No
-
Response
| Name | Description |
|---|---|
|
|
Array of test run summaries with performance metrics and percentiles for each run |
get_test_run
Description
The get_test_run tool retrieves detailed results for a single test run with regional and endpoint breakdowns.
Endpoint
GET /scenarios/<testid>/testruns/<testrunid>
Request parameters
-
test_id -
-
The unique identifier for the test scenario
Type: String
Required: Yes
-
-
test_run_id -
-
The unique identifier for the specific test run
Type: String
Required: Yes
-
Response
| Name | Description |
|---|---|
|
|
Complete test run data including regional results breakdown, endpoint-specific metrics, performance percentiles (p50, p90, p95, p99), success and failure counts, response times and latency, and test configuration used for the run |
get_latest_test_run
Description
The get_latest_test_run tool retrieves the most recent test run for a specific test scenario.
Endpoint
GET /scenarios/<testid>/testruns/?limit=1
Note
Results are sorted by time using a Global Secondary Index (GSI), ensuring the most recent test run is returned.
Request parameter
-
test_id -
-
The unique identifier for the test scenario
Type: String
Required: Yes
-
Response
| Name | Description |
|---|---|
|
|
Latest test run data with the same format as |
get_baseline_test_run
Description
The get_baseline_test_run tool retrieves the baseline test run for a specific test scenario. The baseline is used for performance comparison purposes.
Endpoint
GET /scenarios/<test_id>/baseline
Request parameter
-
test_id -
-
The unique identifier for the test scenario
Type: String
Required: Yes
-
Response
| Name | Description |
|---|---|
|
|
Baseline test run data for comparison purposes, including all metrics and configuration from the designated baseline run |
get_test_run_artifacts
Description
The get_test_run_artifacts tool retrieves Amazon S3 bucket information for accessing test artifacts including logs, error files, and results.
Endpoint
GET /scenarios/<testid>/testruns/<testrunid>
Request parameters
-
test_id -
-
The unique identifier for the test scenario
Type: String
Required: Yes
-
-
test_run_id -
-
The unique identifier for the specific test run
Type: String
Required: Yes
-
Response
| Name | Description |
|---|---|
|
|
S3 bucket name where artifacts are stored |
|
|
Path prefix for current artifact storage (version 4.0+) |
|
|
Path prefix for legacy artifact storage (pre-version 4.0) |
Note
All MCP tools leverage existing API endpoints. No modifications to the underlying APIs are required to support MCP functionality.