Track a metric
configure_metricStart, change or stop tracking a metric's value over time, so Maplith can tell you when the number moves. Values are recorded per calendar period where the data carries a date, otherwise one per scan; only aggregates are kept, and nothing is recorded until your human asks. Set threshold and direction to be told when it crosses a line. Pass tracked false to stop; recorded values stay. get_metric reads the series. Details: maplith://docs/mcp. Needs: an autonomous key.
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": {
"name": "<name>",
"tracked": "<tracked>"
},
"name": "configure_metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The metric name, as get_metric lists it. | |
| tracked | Yes | Record this number from the next scan on, or stop. | |
| direction | No | Which way is bad: 'up' rising, 'down' falling. | |
| threshold | No | The line the value should not cross, for the kind of figure the metric gives now (a period's value, or one number overall). |