Skip to main content
Glama

Report readiness level

readiness_report
Read-onlyIdempotent

Assess 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

NameRequiredDescriptionDefault
as_ofNoThe date freshness was measured from, as YYYY-MM-DD, as passed to generate_checks.
outputNo'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.
schemaNoThe 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.
windowNoFreshness window in days (default 2), as passed to generate_checks.
adapterYesYour 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.
dialectNoSQL dialect used to decide which checks are runnable; omit to use the warehouse's, else postgres.
matchesNoExplicit pairs for your own metrics the names do not settle, as score_drift takes them: "acme_nrr=NRR, lost_mrr=Churned MRR".
resultsNoThe rows the generate_checks statement returned, as JSON or CSV with check_id and violations. Without them level 3 cannot be assessed.
period_spineNoThe period spine table, as passed to generate_checks and compile_model. Default gasp.period_spine.
semantic_modelNoThe 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_schemaNoThe previous run's snapshot, in the same shapes, for the columns added, dropped and retyped since. Needs schema.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint/idempotent/non-destructive, and the description adds real context on top: 'Nothing runs against your warehouse' confirms the safety profile for a pipeline audit, and it discloses that levels are cumulative, that missing results suppress level 3, and that a schema snapshot additionally triggers missing-table/column and coverage-loss reporting. The schema-diff behavior with previous_schema is a genuine behavioral disclosure not present in any structured field.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and the level ladder are front-loaded and almost every clause carries information (level criteria, blocking conditions, next-action routing). It is a single dense block of roughly 250 words, though, with no visual separation between the level definitions and the calling instructions, which makes the conditional input rules slower to scan than necessary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter, no-output-schema tool this covers what an agent needs: the conceptual model behind the levels, which inputs are required for which level, what the report contains (blockers with the tool that clears each, the single Next action, schema-drift diffs), and that no warehouse queries execute. Return-format detail is handled by the output enum in the schema, so nothing material is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description earns more by explaining conditional parameter semantics the schema only hints at: semantic_model means different things depending on whether adapter is a GASP adapter or an Ossie document, results are what the generate_checks statement returned, and previous_schema requires schema. The 'matches' and period_spine semantics are left to the schema, so it is not a full 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource: it reports which GASP readiness level a company reached and what blocks the next one, sourced from documents other tools produced. The four level definitions (L1 Profiled through L4 LLM-ready) make the output concrete and tie each level to named sibling tools (profile_schema, record_decision, compile_model, score_drift), so an agent can tell this diagnostic apart from plan_fixes or coverage_gap without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the inputs required for a meaningful call — the mapping in either format, the semantic_model it reads, and the generate_checks results — and warns that omitting results blocks level 3 with an explicit 'what to run' message. It also explains the conditional model choice (compile_model's output when using an adapter). What is missing is an explicit contrast with siblings like explain_path or plan_fixes, i.e. 'use this when you want an overall status rather than a per-gap plan'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.