get_metric
Computes a selected metric for each calendar month across a date range, optionally grouped by a dimension, returning monthly values for analysis.
Instructions
Compute a metric for each calendar month from start_month to end_month (inclusive, YYYY-MM, at most 36 months), optionally grouped by one of the metric's dimensions (group_by). Returns rows of [month, value] or [month, group, value]. Use this for any question a listed metric answers.
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": {
"metric": "<metric>",
"start_month": "<start_month>",
"end_month": "<end_month>"
},
"name": "get_metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | Yes | ||
| group_by | No | ||
| end_month | Yes | ||
| start_month | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||