Get metric data
get_data_metricsFetch current metric values, rolling averages, and thresholds for specified metrics from a network location to identify performance problems.
Instructions
Step 3 of the funnel: fetch current values, rolling averages, and thresholds
for the given metrics at a location. Data is simulated by default (simulated
is true); swap the data source for a real backend in production.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"metrics": "<metrics>",
"location": "<location>"
},
"name": "get_data_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metrics | Yes | cURL metric names to collect (e.g. from find_metrics). | |
| location | Yes | Network location or endpoint to gather metrics from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | ||
| timestamp | Yes | ||
| simulated | Yes | ||
| metrics | Yes |