get_metric_metadata
Fetch the metadata and descriptor for a specific metric by providing its metric key. Useful for understanding metric properties like dimensions, unit, and definition.
Instructions
Get the descriptor/metadata for a single metric by key (classic Metrics v2). On Gen3/Grail tenants this endpoint may be unavailable; use query_metric or execute_dql instead.
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": {
"metricKey": "<metricKey>"
},
"name": "get_metric_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metricKey | Yes | The metric key, e.g. 'builtin:host.cpu.usage'. |