describe_metric
Get a metric's complete governed definition, including assumptions, trade-offs, failure modes, grain, and source measures, from the dbt semantic layer.
Instructions
Return the full governed definition of one metric.
Args:
metric: The exact metric name, as returned by `list_metrics`.
Returns the definition, the assumption it rests on, the trade-off accepted
when it was chosen, what breaks if someone defines it differently, its
grain, and the measures or metrics it is computed from. This is the
authoritative text — it is read from the compiled dbt manifest, which is
generated from models/semantic/metrics.yml.
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>"
},
"name": "describe_metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||