Infer a metric's drivers
infer_driversRanks upstream metrics that could explain an observed movement in a SaaS metric by walking the GASP relationship graph backward, with direction, score and path for each candidate.
Instructions
Rank the upstream metrics that could explain an observed movement in a metric. Walks the GASP relationship graph backwards from the metric up to maxDepth edges and returns up to 25 candidates, each with the direction it would have moved, a score and its path to the metric. Direction flips across a reduces edge and across an input with negative polarity (a denominator or subtracted term), marked ↓ in the path. A baseline input (read at period start, as NRR reads MRR) is listed as a candidate but not walked through, since its own drivers cannot move the metric within the period. Scores are products of edge attenuations: they rank structural links and say nothing about magnitude. Works on metric nodes only. Follow up with explain_path for the chain behind a candidate or coverage_gap to check you track it; for 'what if' simulation use the TWIN Modifier at https://gaspwiki.com/v1/twin-modifier.
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>",
"direction": "<direction>"
},
"name": "infer_drivers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | Yes | Metric name, abbreviation or graph id (e.g. 'ARR', 'Net Revenue Retention', 'nrr'), resolved as in lookup_metric. It must be a metric in the relationship graph. | |
| maxDepth | No | Maximum number of edges to walk back, 1 to 8 (default 6) | |
| direction | Yes | Observed movement of the metric: up or down |