List & Discover Metrics
list_metricsDiscover what metrics you can query before calling query_metrics, so you never guess a metric name or label. Returns the documented Control Plane default metrics (with type and a correct PromQL template each), PLUS the metrics actually present in the org right now — including CUSTOM metrics your workloads expose and kube_/node_ families. Pass filter to narrow by substring. Pass metric to see that metric’s REAL label dimensions and values (workload, gvc, location, …) from live data so your PromQL filters are grounded, not invented. Reach for this whenever a metrics query returns nothing or you are unsure of names/labels — it is optional, not required when you already know the metric you want.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | Organization slug (lowercase kebab-case). NEVER guess — if the user has not named one, ask. On org-not-found, stop and ask; do not retry variants. | |
| limit | No | Maximum number of items to return (1-500, default: all). | |
| filter | No | Case-insensitive substring to narrow the catalog and live metric names (e.g. "cpu", "workload", "agent"). | |
| metric | No | A metric name to ground: returns its REAL label dimensions and sample values (workload, gvc, location, …) from live data, so you can build an accurate PromQL filter. Works for custom metrics too. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the call succeeded. | |
| data | No | The full machine-readable result — list rows, the resource object, query results. Read THIS, not just the summary. | |
| summary | Yes | One-line summary of the result. | |
| nextSteps | No | Recommended follow-up actions for this task, in order. |