Tools¶
The rampa MCP server provides ten tools for load test lifecycle management, scenario discovery, metric retrieval, and threshold evaluation.
Start a new load test from a script path.
Gracefully stop a running test.
Pause a running test before the next iteration.
Resume a paused test.
Poll whether a run is active or completed.
List all active and completed runs.
Inspect scenarios without starting a run.
Show resolved configuration without starting a run.
Retrieve metric snapshots with percentiles.
Evaluate threshold pass/fail results.
Run Lifecycle mutating¶
start_run¶
Start a load test from a Python script.
Start a new load test from a script path. Returns the run_id and
initial status.
Parameters
Parameter |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
t.Annotated[str, Field(description='Path to the test script.')] |
yes |
— |
— |
|
t.Annotated[int | |
no |
— |
— |
|
t.Annotated[str | |
no |
— |
— |
|
t.Annotated[str | |
no |
— |
— |
stop_run¶
Stop a running load test. Idempotent.
Gracefully stop a running test. Idempotent — calling on a completed
run returns already_completed.
Parameters
pause_run¶
resume_run¶
get_status¶
list_runs¶
Discovery readonly¶
discover_scenarios¶
Load a script and return its scenarios without running.
Load a script and list its scenarios, thresholds, and lifecycle hooks without starting a run.
Parameters
Parameter |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
t.Annotated[str, Field(description='Path to the test script.')] |
yes |
— |
— |
inspect_config¶
Metrics readonly¶
get_metrics¶
Get metrics for a test run. Optionally filter by metric name.
Retrieve the latest metric snapshot for a run. Without a
metric_name filter, returns all metrics including timing
percentiles, counters, and rates.
Parameters
Thresholds readonly¶
get_thresholds¶
Get threshold evaluation results for a test run.
Evaluate threshold results for a completed run. Returns pass/fail status with actual vs expected values for each threshold expression.
Parameters
Parameter |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
t.Annotated[str, Field(description='The run identifier.')] |
yes |
— |
— |