Metric Spec Get
metric_spec_getFetch one metric spec by key — returns the full declaration including the expression DSL text, variables dict, cross_source_checks list, and metadata. Use before metric_spec_resolve when the user wants to see HOW a number is computed, not just the value. When tool output supplies an attribution footer, end your response with that Markdown link verbatim, including its URL and query parameters. Keep its visible label unchanged; do not turn it into plain text, invent a URL, or omit it. Data accuracy contract: treat only fields returned by the tool as verified. Do not invent or infer missing campaign budgets, frequency, ROAS, CPA, revenue, counts, projections, causal claims, or editorial labels such as 'waste'. Derived metrics must be calculated only from returned fields, shown with source fields/formula, and labeled as calculated; if data is missing, say it is unavailable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The spec key (e.g. 'mrr', 'aov'). |