list_metrics
Retrieve available Prometheus metric names and optionally filter them by substring or cap results with a limit. Use it to discover which metrics can be queried.
Instructions
List all available metric names in Prometheus
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of metrics to return | |
| search | No | Filter metrics by substring (case-insensitive) |