Resources¶
MCP resources expose passive read-only data at rampa:// URIs.
Clients read them with resources/read.
List every active and completed run.
Status, script path, event count for one run.
All metrics for a run.
Single metric by name.
Pass/fail results for each threshold expression.
Accumulated event history for a run.
All runs¶
all_runs¶
Run details¶
run_details¶
Run metrics¶
run_metrics¶
Specific metric¶
run_metric¶
Get a specific metric for a run.
- MIME type:
application/json
Parameters
Argument |
Type |
Required |
Description |
|---|---|---|---|
|
string |
yes |
— |
|
string |
yes |
— |
Read rampa://runs/{run_id}/metrics/{name} to retrieve a single
metric by name (e.g. http_req_duration, http_reqs).
Threshold results¶
run_thresholds¶
Get threshold results for a run.
- MIME type:
application/json
Parameters
Argument |
Type |
Required |
Description |
|---|---|---|---|
|
string |
yes |
— |
Read rampa://runs/{run_id}/thresholds for pass/fail results with
source, passed, lhs (actual), and rhs (expected) for each
threshold expression.
Event log¶
run_events¶
Get accumulated events for a run.
- MIME type:
application/json
Parameters
Argument |
Type |
Required |
Description |
|---|---|---|---|
|
string |
yes |
— |
Read rampa://runs/{run_id}/events for the accumulated event
history including PhaseEvent, SnapshotEvent, and
ThresholdEvent entries.