Report readiness level
readiness_reportAssess a company's GASP pipeline readiness level and show blockers, next actions, and schema or coverage gaps from existing mapping and check results.
Instructions
Which readiness level a company has reached on the GASP pipeline and what stands between it and the next, read from the documents the other tools produced. L1 Profiled: a semantic model exists (profiled by profile_schema, your own, or synthesised from a GASP adapter). L2 Mapped: at least one metric is fully covered, no profiler question or proposer candidate is open (the line record_decision draws) and, with a schema snapshot, every mapped pair still reads columns that exist. L3 Clean core: the CEL revenue events are mapped, the checks have been run and every Core metric the mapping covers passes every check that protects it. L4 LLM-ready: the canonical metrics are compiled into the model (compile_model) and none of your own metrics differs from its canonical counterpart (score_drift, run here on the synthetic dataset when the model carries metrics of your own). Levels are cumulative. Pass the mapping (either format), the semantic_model it reads (with an adapter, the model compile_model returned, so the compiled metrics and your own are seen) and the results of the generate_checks statement; without results level 3 is blocked and the report says what to run. Each blocker names the tool that clears it; the Next line is the one action to take. Pass a schema snapshot (the rows of the query generate_checks writes with output: bundle) and the report also names every mapped pair that reads a table or column the warehouse no longer has and the metrics that lose coverage; with the previous snapshot the columns added, dropped and retyped. Nothing runs against your warehouse.
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": {
"adapter": "<adapter>"
},
"name": "readiness_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | The date freshness was measured from, as YYYY-MM-DD, as passed to generate_checks. | |
| output | No | 'report' (default): the level, a table of the four levels with their blockers, the detail per level and the next action; 'json': the same as data. | |
| schema | No | The warehouse's current columns: the rows of the schema snapshot query (generate_checks output: bundle), or any shape profile_schema reads. Each mapped pair is checked against it. | |
| window | No | Freshness window in days (default 2), as passed to generate_checks. | |
| adapter | Yes | Your mapping as text: a GASP adapter (JSON; schema: https://gaspwiki.com/schemas/gasp-adapter-v1.json) or an Ossie mapping document (YAML or JSON), with the candidates and decisions in its GASP extension when propose_mapping and record_decision wrote them. | |
| dialect | No | SQL dialect used to decide which checks are runnable; omit to use the warehouse's, else postgres. | |
| matches | No | Explicit pairs for your own metrics the names do not settle, as score_drift takes them: "acme_nrr=NRR, lost_mrr=Churned MRR". | |
| results | No | The rows the generate_checks statement returned, as JSON or CSV with check_id and violations. Without them level 3 cannot be assessed. | |
| period_spine | No | The period spine table, as passed to generate_checks and compile_model. Default gasp.period_spine. | |
| semantic_model | No | The Ossie semantic model (YAML or JSON): with an Ossie mapping, the model it reads (its profile questions, compiled gasp_ metrics and your own metrics are read); with a GASP adapter, the model compile_model returned, if you have one. | |
| previous_schema | No | The previous run's snapshot, in the same shapes, for the columns added, dropped and retyped since. Needs schema. |