{"agent":{"connect":{"endpoint":"https://agentconcierge.biz/api/gateway/mcp/574160","protocol":"mcp","available":true,"auth":{"method":null,"required":null},"primary_tool":"compile_model","example_call":{"method":"POST","url":"https://agentconcierge.biz/api/gateway/mcp/574160","body":{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"compile_model","arguments":{}}}}},"id":574160,"kind":"mcp","name":"GASP Standard","description":"SaaS metric definitions, formulas, benchmarks and relationships from the GASP Standard","category":"database_analytics","active":true,"health_status":"healthy","eval_grade":"B","eval_score":76.9,"eval_at":1796248844.140908,"trial_ok":1,"cap_tool_count":24,"first_seen":1796242788.5338528,"last_ok_at":1796323403.7990448,"last_check_at":1796323403.7990448,"auth_method":null,"auth_observed":0,"price_usdc":0.0,"calls_30d":null,"url":"https://agentconcierge.biz/api/gateway/mcp/574160","catalog_status":"live","tools":[{"name":"compile_model","description":"Compile the GASP Standard metrics your mapping covers into your Apache Ossie semantic model. Takes the same input as validate_mapping (a GASP adapter, or an Ossie mapping with your semantic_model) and returns your model with a gasp_ metric for every formula entry whose fields are all mapped (main formula, O and M forms, variants and named breakdowns): a direct OSSIE_SQL_2026 expression over your datasets and fields where the expression language can state it, else staged through a dataset whose source is the compiled SQL over your tables in your warehouse dialect (a gasp_staged_ dataset with one row per period, or for Net and Gross Revenue Retention the table gasp_account_cohorts, one row per customer per period, which their expressions sum), reading a period spine table you provide (one row per reporting period; gasp.period_spine unless you pass period_spine). Entries with unmapped pairs are left out and listed with the pairs they need; recompiling replaces every gasp_ metric and staged dataset and leaves the rest of the model as it was. The compiled metrics are checked against the bundled Ossie model schema and GASP's reference checks. A GASP adapter compiles into the model synthesised from its tables and columns, which validate_mapping shows. Pass metrics or department to compile a subset, output 'report' to get the coverage without the document.","inputSchema":{"type":"object","properties":{"adapter":{"type":"string","description":"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). Check it with validate_mapping first."},"semantic_model":{"type":"string","description":"With an Ossie mapping: your semantic model document (YAML or JSON). The metrics compile into it, reading its sources and field expressions. Without it, dataset names stand for tables and every field is its bare column."},"dialect":{"type":"string","enum":["postgres","snowflake","bigquery","databricks"],"description":"SQL dialect of the staged sources: postgres (also Redshift), snowflake, bigquery or databricks. Omit to use the adapter's warehouse when it names one of them, else postgres."},"metrics":{"type":"string","description":"Comma-separated metric names, abbreviations, aliases or formula ids to compile (each resolved as in lookup_metric), with their forms, variants and breakdowns. Omit for every metric."},"department":{"type":"string","description":"Compile every metric of one department (e.g. 'Core'); combines with metrics."},"period_spine":{"type":"string","description":"The table of (period_start, period_end) rows the staged sources read, as it is named in your warehouse. Default gasp.period_spine."},"output":{"type":"string","enum":["model","report"],"description":"'model' (default) returns the coverage report with the compiled model as YAML; 'report' returns the coverage alone."}},"required":["adapter"],"additionalProperties":false},"annotations":{"title":"Compile GASP metrics into an Ossie model","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"compile_target","description":"Compile the GASP Standard metrics your mapping covers into the files of your semantic-layer engine. Takes the same input as compile_model (a GASP adapter, or an Ossie mapping with your semantic_model), compiles the metrics the same way and writes them in the engine's own format and your warehouse's SQL: target 'snowflake' gives a Cortex Analyst semantic model YAML (tables with database.schema.table base tables, time dimensions, dimensions, facts, relationships and the gasp_ metrics; loadable as a semantic view) plus staged_views.sql, the views the staged metrics read and the period spine table, to run first; target 'cube' gives a Cube data model, one cube per table with its joins, a dimension per field and the metrics as measures, plus one view joining the cubes from revenue_event; target 'dbt' gives a dbt project fragment for the MetricFlow semantic layer under models/gasp/, a model per table (with gasp_surrogate_key, the key columns as text joined with '_', where a snapshot is keyed by entity and date, since MetricFlow keys on one column), the sources, a semantic model per table with its entities, dimensions and measures, plus the metrics as simple, ratio or derived over those measures. A filtered aggregate is written as a CASE inside the aggregate, which every warehouse runs. Each staged table's query is the compiled source in the target dialect. Entries with unmapped pairs or no computable formula are listed and left out. Pass metrics or department for a subset.","inputSchema":{"type":"object","properties":{"adapter":{"type":"string","description":"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). Check it with validate_mapping first."},"semantic_model":{"type":"string","description":"With an Ossie mapping: your semantic model document (YAML or JSON), whose sources and field expressions the files read."},"target":{"type":"string","enum":["snowflake","cube","dbt"],"description":"The engine: 'snowflake' (Cortex Analyst semantic model YAML plus staged views SQL), 'cube' (Cube data-model directory) or 'dbt' (dbt MetricFlow models, semantic models and metrics)."},"dialect":{"type":"string","enum":["postgres","snowflake","bigquery","databricks"],"description":"Cube and dbt: the SQL dialect of the measures, models and staged queries (postgres, snowflake, bigquery or databricks). Omit to use the adapter's warehouse, else postgres. The snowflake target always writes Snowflake SQL."},"database":{"type":"string","description":"Snowflake: the database prepended to schema.table sources, since a Cortex Analyst base table is database.schema.table. Cube does not need it."},"staged_schema":{"type":"string","description":"Snowflake: the schema the staged views are created in. Default: the schema of the first mapped table."},"metrics":{"type":"string","description":"Comma-separated metric names, abbreviations, aliases or formula ids to write (each resolved as in lookup_metric). Omit for every metric."},"department":{"type":"string","description":"Write every metric of one department (e.g. 'Core'); combines with metrics."},"period_spine":{"type":"string","description":"The table of (period_start, period_end) rows the staged queries read, as named in your warehouse. Default gasp.period_spine."},"output":{"type":"string","enum":["full","files","report"],"description":"'full' (default): the report followed by every file in a fenced block; 'files': the files alone, each under a ### <path> heading; 'report': the coverage and notes alone."}},"required":["adapter","target"],"additionalProperties":false},"annotations":{"title":"Compile GASP metrics into your engine's own format","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"coverage_gap","description":"Audit a set of tracked metrics against the GASP relationship graph. Returns three lists: upstream missing (metrics with a direct edge into the set that the set leaves out), downstream missing (metrics with a direct edge from the set that it leaves out) and disconnected (graph metrics with no path of any length, in either direction and through any node, to the set; the first 25 shown). Names resolve as in lookup_metric; an input that is ambiguous, outside the graph, not a metric or unknown is listed as unresolved with the reason. Use it before instrumenting a dashboard, then infer_drivers or explain_path on the candidates.","inputSchema":{"type":"object","properties":{"metrics":{"type":"array","items":{"type":"string"},"minItems":1,"description":"The metrics you track, as names, abbreviations or graph ids (e.g. ['ARR', 'NRR', 'CAC'])"}},"required":["metrics"],"additionalProperties":false},"annotations":{"title":"Find the coverage gap for a metric","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"derive_cel","description":"SQL that derives CEL Revenue_Events from your billing data, or Credit_Events from your usage records, by the rules in the standard (cel.md, 'Deriving Revenue Events from a Subscription Ledger', 'Deriving Revenue Events from an Invoice Ledger' and 'Deriving Credit Events'). Most billing systems hold subscriptions or invoices, not events. source: subscription (default) turns the subscription dataset your mapping covers (subscription_id, customer_id, snapshot_date, mrr, subscription_status, segment, as snapshots at any cadence or a version history) into one revenue_event row per movement: a step is a change in a subscription's active MRR, the ledger's first date is the opening balance, prior_mrr and new_mrr are the customer's MRR chained so prior_mrr + mrr_change = new_mrr holds on every row and the event type (new, expansion, contraction, churn, reactivation) is read from the customer's MRR around the step, with the ATL lifecycle tag, change_nature permanent and an empty expansion_classification (the ledger cannot know it). source: invoice reads the invoice dataset instead (invoice_id, subscription_id, customer_id, snapshot_date, service_period_start, service_period_end, recurring_amount): each invoice is one service period whose MRR is the recurring amount over the months it covers. The same rules apply. Usage above a commitment is Consumption Revenue and no Revenue_Event, so neither source reads the usage records. target: credit_event writes it as credit_event rows instead, from the usage_record dataset (subscription_id, customer_id, period_end, committed_amount, usage_amount): one consumption event with basis overage per usage period over its commitment, dated the period's end, for the overage the period bills, with empty balances (usage within a ratable commitment is no event; a prepaid balance and its expiries come from the billing system's credit ledger). Takes the same mapping as generate_query (a GASP adapter or an Ossie mapping with its semantic_model) and the ledger's currency; the dialect is the one asked for, else the adapter's warehouse, else postgres. Unmapped fields stay as {{field@dataset}} placeholders and are listed. Run the result to build the revenue_event table and map it; the MRR movement metrics compile over it.","inputSchema":{"type":"object","properties":{"adapter":{"type":"string","description":"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). It must cover the subscription dataset (the invoice dataset with source: invoice; the usage_record dataset with target: credit_event). Check it with validate_mapping first."},"currency":{"type":"string","description":"ISO 4217 code of the ledger's currency (USD, EUR, GBP ...), written on every derived event."},"semantic_model":{"type":"string","description":"With an Ossie mapping: your semantic model document (YAML or JSON), so table names and field expressions resolve. Ignored for a GASP adapter."},"source":{"type":"string","enum":["subscription","invoice"],"description":"The ledger to read: 'subscription' (default), the subscription dataset as snapshots or a version history; 'invoice', the invoice dataset read as one row per service period (recurring_amount over the months between service_period_start and service_period_end). Use invoice when the billing system keeps no subscription history."},"target":{"type":"string","enum":["revenue_event","credit_event"],"description":"What to derive: 'revenue_event' (default), the revenue events from the ledger; 'credit_event', one consumption event with basis overage per usage_record period over its commitment, for a company with usage records and no credit ledger (source and first_snapshot are ignored)."},"dialect":{"type":"string","enum":["postgres","snowflake","bigquery","databricks"],"description":"SQL dialect: postgres (also Redshift), snowflake, bigquery or databricks. Omit to use the adapter's warehouse when it names one of them, else postgres."},"first_snapshot":{"type":"string","enum":["opening","steps"],"description":"What the rows on the ledger's first date are. 'opening' (default): opening balances that seed each customer's MRR and produce no event, for a ledger that starts after the oldest subscription. 'steps': steps from 0, for a ledger that starts with the business."},"output":{"type":"string","enum":["report","sql"],"description":"'report' (default): the SQL with the mapping it used, the unmapped fields and what the source can and cannot say; 'sql': the query alone."}},"required":["adapter","currency"],"additionalProperties":false},"annotations":{"title":"Derive revenue and credit events","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"explain_path","description":"How a movement in one graph node reaches another: up to 5 chains of edges followed forward from `from` to `to`, shortest first, then by highest score. Each step gives the edge type, its classification (metric_signal, structural, lifecycle, behavioral, assignment or generative), its attenuation and whether it inverts direction; each path gives its score and the direction the target moves when the source rises. A baseline edge (MRR into NRR) can only start a path. Names resolve as in get_relationships, so entities and concepts work too. No path means no forward chain within maxDepth: try the reverse. Use it on a candidate from infer_drivers.","inputSchema":{"type":"object","properties":{"from":{"type":"string","description":"Starting node: a metric name, abbreviation or graph id, or an entity or concept (e.g. 'Health Score', 'customer')"},"to":{"type":"string","description":"Target node, in the same forms as from (e.g. 'NRR')"},"maxDepth":{"type":"integer","minimum":1,"maximum":8,"description":"Maximum chain length in edges, 1 to 8 (default 6)"}},"required":["from","to"],"additionalProperties":false},"annotations":{"title":"Explain the path between two metrics","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"generate_checks","description":"The readiness checks the GASP Standard states, as SQL over the datasets your mapping covers (readiness level 3, the Check step). From cel.md, atl.md and the MRR definition: CEL row identity (prior_mrr + mrr_change = new_mrr on every revenue event), MRR continuity (a subscription's mrr_start equals its mrr on the previous snapshot), the year-or-renewal test (no subscription row and no contract ACV for a contract under 12 months with no renewal), unique event_id per event dataset, the ATL tags (one lifecycle_attribution per event, an expansion_classification on every expansion, contraction and reactivation revenue event and every amendment, a cost_function on every cost event), customer identity both ways (every revenue event's customer is a known customer, every customer active on the latest snapshot has a revenue event), the credit ledger's balance identity (credit_balance_before + credit_amount = credit_balance_after on purchase, expiry, adjustment and committed consumption rows; equal balances on overage and on-demand rows), freshness (the latest date per dataset within a window) and, for every fully mapped metric with a hard range rule in the ontology (NRR at least 0, GRR at most 100%, Gross Margin, ARR and others), its value in every reporting period of your period spine (the table compile_model reads; period_spine names another). One statement, one row per check with its violation count; output: bundle adds a schema snapshot query for a scheduled re-check. GASP has no warehouse access: run it, then pass the rows back as results to get pass or fail per check and per metric; each check names the metrics whose formulas read what it covers. Checks whose fields the mapping lacks are listed with what they need. Takes the mapping generate_query takes; the dialect is the one asked for, else the warehouse's, else postgres. Follow with plan_fixes for the ranked list.","inputSchema":{"type":"object","properties":{"adapter":{"type":"string","description":"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). Check it with validate_mapping first."},"semantic_model":{"type":"string","description":"With an Ossie mapping: your semantic model document (YAML or JSON), so table names and field expressions resolve. Ignored for a GASP adapter."},"dialect":{"type":"string","enum":["postgres","snowflake","bigquery","databricks"],"description":"SQL dialect: postgres (also Redshift), snowflake, bigquery or databricks. Omit to use the adapter's warehouse when it names one of them, else postgres."},"window":{"type":"integer","minimum":0,"description":"Freshness window in days (default 2): the latest date in each dataset must be within this many days of as_of."},"as_of":{"type":"string","description":"The date freshness is measured from, as YYYY-MM-DD. Default: the warehouse's current date."},"period_spine":{"type":"string","description":"The table of (period_start, period_end) rows the range checks evaluate each metric over, as it is named in your warehouse; the same table compile_model reads. Default gasp.period_spine."},"results":{"type":"string","description":"The rows the checks statement returned, as JSON (objects with check_id and violations, [check_id, violations] pairs, or an object keyed by check id) or CSV. With results the report gives pass or fail per check and per metric."},"output":{"type":"string","enum":["report","sql","json","bundle"],"description":"'report' (default): the checks, what each protects and the SQL to run (or, with results, pass and fail per check and per metric); 'sql': the statement alone; 'json': the report as data; 'bundle': the scheduled re-check, the checks statement and a schema snapshot query over the mapped tables as two files to run in your own orchestrator, with how to pass the rows back to readiness_report."}},"required":["adapter"],"additionalProperties":false},"annotations":{"title":"Generate readiness checks","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"generate_query","description":"SQL for one GASP Standard metric against your warehouse, compiled from its canonical formula and filled from your adapter: one scalar subquery per aggregate, each reading the table mapped to its GASP dataset, with :period_start and :period_end date parameters (both inclusive). Pairs you have not mapped stay as {{field@dataset}} placeholders, where the tag names the GASP dataset the column must come from; the output lists them with any dataset that has no table and any mapping conflict, plus the URL, dialect, datasets, grain and the mapping it used. breakdown names a breakdown the metric declares (get_formula lists them, e.g. 'by_plan' on MRR) and returns one row per value. The dialect (postgres, snowflake, bigquery or databricks; postgres also covers Redshift) is the dialect argument, else the adapter's warehouse when it names one of them, else postgres. Check the mapping with validate_mapping first.","inputSchema":{"type":"object","properties":{"metric":{"type":"string","description":"Exact metric name, abbreviation, alias or formula id (e.g. 'NRR', 'CAC', 'Pipeline Value', 'ARR'), resolved as in lookup_metric"},"adapter":{"type":"string","description":"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). Check it with validate_mapping first."},"semantic_model":{"type":"string","description":"With an Ossie mapping: your semantic model document (YAML or JSON), so table names and field expressions resolve. Ignored for a GASP adapter."},"breakdown":{"type":"string","description":"Name of a breakdown the metric declares (e.g. 'by_plan' on MRR). The query returns one row per value of the breakdown's field or bucket. An unknown name lists the declared ones."},"dialect":{"type":"string","enum":["postgres","snowflake","bigquery","databricks"],"description":"SQL dialect: postgres (also Redshift), snowflake, bigquery or databricks. Omit to use the adapter's warehouse when it names one of them (postgresql and redshift read as postgres), else postgres."}},"required":["metric","adapter"],"additionalProperties":false},"annotations":{"title":"Generate SQL for a metric","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"get_data_requirements","description":"What a warehouse needs to compute GASP Standard metrics: per metric, a row for each field and dataset pair the canonical formula reads with its type, whether it is staged (a cohort or prior-period comparison), source system, grain, frequency, page URL and example SQL compiled from the formula. Pass metric for one metric (resolved as in lookup_metric), department for every metric in it, both to pick between metrics that share a name and neither for every metric with a formula. breakdown names a breakdown the metric declares (get_formula lists them, e.g. 'by_plan' on MRR): the fields then include the dimension and the SQL returns one row per value. dialect (postgres, snowflake, bigquery or databricks; postgres is the default and also covers Redshift) sets the example SQL's syntax. A metric with no formula gives the reason. Use generate_query to fill the SQL from your adapter.","inputSchema":{"type":"object","properties":{"metric":{"type":"string","description":"Exact metric name, abbreviation, alias or formula id (e.g. 'ARR', 'Pipeline Coverage Ratio', 'CSAT')"},"department":{"type":"string","description":"Department name, case-insensitive (e.g. 'Sales', 'Engineering', 'customer success'). Alone it returns every requirement in the department; with metric it picks between metrics that share a name."},"breakdown":{"type":"string","description":"Name of a breakdown the metric declares (e.g. 'by_plan' or 'by_segment' on MRR); needs metric. The requirement then covers the breakdown's query, one row per value. An unknown name lists the declared ones."},"dialect":{"type":"string","enum":["postgres","snowflake","bigquery","databricks"],"description":"Dialect of the example SQL: postgres (default, also Redshift), snowflake, bigquery or databricks. Any but postgres needs metric."}},"additionalProperties":false},"annotations":{"title":"Get a metric's data requirements","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"sample":{}},{"name":"get_formula","description":"The canonical formula of one GASP Standard metric in the GASP grammar, with its unit, operating (O) and market (M) forms, named variants, breakdowns (one row per value of a field or bucket; total() reads the whole population), notes, the metrics it reads with role and polarity, the fields and datasets the formula and each form read, the enum filters each form applies (so forms reading the same fields show where they differ) and the formula as written in the standard. A metric that cannot be computed as one formula gives the reason. Names resolve as in lookup_metric. Use get_data_requirements for field types and example SQL and generate_query for SQL against your own tables.","inputSchema":{"type":"object","properties":{"metric":{"type":"string","description":"Exact metric name, abbreviation, alias or formula id (e.g. 'NRR', 'LTV', 'CAC Payback', 'aging_buckets'). A name several departments use returns the candidates to choose from."}},"required":["metric"],"additionalProperties":false},"annotations":{"title":"Get a canonical formula","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"get_relationships","description":"One node of the GASP relationship graph (a metric, entity or concept) with its description, category and level and its direct edges, each neighbour with its edge type and description: upstream (edges into it), the metrics that measure it, downstream (edges out of it) and, for a metric, the entities it measures. For an entity it also lists every metric whose formula reads the entity's datasets, with department and URL. Edge types: drives, reduces, predicts, component and measures (metric signal); owns, grants, parent_of and priced_by (structural); converts_to (lifecycle); submits and engages_via (behavioral); manages, sources, serves and represented_by (assignment); generates, produces, contributes_to, incurs and belongs_to (generative). Metric names resolve as in lookup_metric; a metric outside the graph says so and a miss lists every node. Use infer_drivers or explain_path to walk more than one hop.","inputSchema":{"type":"object","properties":{"metric":{"type":"string","description":"Metric name, abbreviation or graph id (e.g. 'NRR', 'arr'), entity (e.g. 'customer', 'subscription') or concept (e.g. 'revenue', 'bookings'). Entity and concept names win over a metric with the same name."}},"required":["metric"],"additionalProperties":false},"annotations":{"title":"Get a metric's relationships","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"infer_drivers","description":"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.","inputSchema":{"type":"object","properties":{"metric":{"type":"string","description":"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."},"direction":{"type":"string","enum":["up","down"],"description":"Observed movement of the metric: up or down"},"maxDepth":{"type":"integer","minimum":1,"maximum":8,"description":"Maximum number of edges to walk back, 1 to 8 (default 6)"}},"required":["metric","direction"],"additionalProperties":false},"annotations":{"title":"Infer a metric's drivers","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"list_metrics","description":"List GASP Standard metric names grouped by department and category, with the total, optionally filtered by department, signal type or both. Names only: use lookup_metric or get_formula for a metric's details. A metric cross-referenced from another department is listed under both (NRR under Core and Customer Success). The Core tier is the 'Core' department. An unknown department returns close names and the department list.","inputSchema":{"type":"object","properties":{"department":{"type":"string","description":"Department name, case-insensitive, with spaces or hyphens (e.g. 'Sales', 'customer success', 'customer-success', 'Core'). Omit to list every department."},"signalType":{"type":"string","enum":["outcome","leading","efficiency","operational"],"description":"outcome, leading, efficiency or operational. Matches a metric's primary or secondary signal type."}},"additionalProperties":false},"annotations":{"title":"List GASP metrics","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"sample":{}},{"name":"lookup_definition","description":"Look up a GASP Standard glossary term (e.g. 'Signal Type', 'Sensitivity Tier', 'Access Scope', 'Metric Owner', 'CEL'): the full definition and body, its section, the canonical or reference link, where it is used and the page URL. The term must match exactly, ignoring case: the term, its slug, either part of 'Term (Abbreviation)' or a name on its 'Also called' line, so 'CEL' finds 'CEL (Commercial Event Ledger)' and 'Annualised Run Rate' finds 'Run-Rate Revenue'. A metric name points you to lookup_metric and a miss returns close names. Some metrics also have a short glossary entry (Logo Churn Rate, Win Rate); lookup_metric gives their formula and benchmarks.","inputSchema":{"type":"object","properties":{"term":{"type":"string","description":"Exact term, abbreviation, slug or other name the glossary lists, case-insensitive (e.g. 'Signal Type', 'CEL', 'metric-owner', 'Revenue Run Rate')"}},"required":["term"],"additionalProperties":false},"annotations":{"title":"Look up a GASP definition","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"sample":{"term":"model context protocol"}},{"name":"lookup_metric","description":"The full record of one GASP Standard metric: department, category, signal type, page URL, definition, the formulas as written, the canonical GASP grammar formula (unit, forms, variants, breakdowns, fields and datasets), benchmarks, validation rules, common mistakes, sources, aliases, the entities it measures, operating and market forms, any adjusted variant and the recommended sensitivity tier and access scope. The name must match exactly, ignoring case: formula id, graph node id, full name, name without its abbreviation, abbreviation, graph label, alias or slug. A name several departments use (e.g. 'Activation Rate') returns each candidate with department, formula id and URL; prefix the department ('Product Activation Rate') or pass the formula id. A glossary term (e.g. 'Signal Type') returns its definition and a miss returns close names to retry with. Use get_formula for the formula alone and search when you do not know the name.","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"Exact metric name, abbreviation, alias, slug or formula id, case-insensitive (e.g. 'MRR', 'Net Revenue Retention', 'CAC Payback', 'product_activation_rate'). Prefix the department to pick between metrics that share a name."}},"required":["name"],"additionalProperties":false},"annotations":{"title":"Look up a GASP metric","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"sample":{"name":"model context protocol"}},{"name":"plan_fixes","description":"The ranked fix list for a mapping (readiness level 3, the Plan step): every GASP field a partly covered metric still needs and every readiness check that failed, ordered by the Core metrics each fix unlocks, then all metrics unlocked, then metrics it helps, with an effort class (small for a mapping, medium for a tag backfill or a pipeline fix, large for cross-system identity work) shown and used only as a tiebreak. A fix unlocks a metric when it is the last thing between that metric and covered-and-passing; a metric with two blockers counts as helped by each. Pass the results generate_checks produced to rank data fixes beside mapping gaps; without them the plan covers mapping gaps alone. Takes the mapping generate_query takes.","inputSchema":{"type":"object","properties":{"adapter":{"type":"string","description":"Your mapping as text: a GASP adapter (JSON) or an Ossie mapping document (YAML or JSON)."},"semantic_model":{"type":"string","description":"With an Ossie mapping: your semantic model document (YAML or JSON). Ignored for a GASP adapter."},"dialect":{"type":"string","enum":["postgres","snowflake","bigquery","databricks"],"description":"SQL dialect used to decide which checks are runnable; omit to use the warehouse's, else postgres."},"results":{"type":"string","description":"The rows the generate_checks statement returned, as JSON or CSV with check_id and violations."},"period_spine":{"type":"string","description":"The period spine table the range checks read, as passed to generate_checks. Default gasp.period_spine."},"limit":{"type":"integer","minimum":1,"description":"How many fixes to show (default 25)."},"output":{"type":"string","enum":["report","json"],"description":"'report' (default) or 'json' (every fix as data)."}},"required":["adapter"],"additionalProperties":false},"annotations":{"title":"Plan readiness fixes","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"profile_schema","description":"Profile a warehouse schema into a minimal Apache Ossie semantic model, the first step towards a GASP mapping (readiness level 1). Pass the schema as the rows of information_schema.columns (JSON or CSV with table, column and type), an object with a tables list, or CREATE TABLE statements, read through your own warehouse MCP or from a dump. Optionally pass statistics per column (rows, nulls, distinct, min, max, values); output: statistics returns the query that gathers them. For every table the profile infers the key, the time field and the kind (snapshot, event, fact or reference), each with its evidence and confidence, plus the relationships the columns imply; a low-confidence inference is left out of the model and listed as a question for the Decide step rather than guessed. The report ends with the model as YAML, to pass to propose_mapping as semantic_model; the questions go to record_decision.","inputSchema":{"type":"object","properties":{"schema":{"type":"string","description":"The schema: information_schema.columns rows as JSON (array of objects with table_name, column_name, data_type, optionally table_schema and is_nullable) or CSV with those headers; or { tables: [{ name, schema?, columns: [{ name, type }] }] }; or CREATE TABLE statements (PRIMARY KEY and REFERENCES clauses are read)."},"statistics":{"type":"string","description":"Per-column statistics as JSON rows or CSV: table, column, rows (or row_count), nulls (or null_count or null_rate), distinct (or distinct_count), min, max, values (a JSON array or a | separated list for a short list of values). Optional; the profile says what they would settle."},"organization":{"type":"string","description":"The company's name, used in the model's name."},"output":{"type":"string","enum":["report","model","json","statistics"],"description":"'report' (default): the profile with evidence, questions and the model as YAML; 'model': the YAML alone; 'json': the profile and the model as data; 'statistics': the SQL that gathers the statistics for this schema."},"dialect":{"type":"string","enum":["postgres","snowflake","bigquery","databricks"],"description":"With output: statistics, the warehouse the query is written for (the string type of its min and max columns); postgres by default."}},"required":["schema"],"additionalProperties":false},"annotations":{"title":"Profile a warehouse schema","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"propose_mapping","description":"Propose a GASP mapping for a warehouse from its profiled semantic model (readiness level 2). Pass semantic_model (the model profile_schema returned, or your own Ossie model) or schema (profiled on the way in, with optional statistics). Every table is scored against every GASP dataset on its columns, its profiled kind, key and time field and its name; every column of a proposed table against the dataset's fields by name, structural role (the table's time field is the dataset's date), a short synonym list, word order and near names, each checked against the warehouse type and, for an enum field, the listed values. A column in cents gets a divide-by-100 transform and enum values the standard does not use a CASE recode when one is known. Only high-confidence pairs enter the mapping; medium ones are listed as candidates with their evidence and what would settle them; the rest are unmatched. Returns the report and the Ossie mapping over the model (a transform becomes a calculated field): the candidates go to record_decision with both documents, then the mapping to validate_mapping, compile_model and score_drift; output: adapter gives the same pairs as a GASP adapter.","inputSchema":{"type":"object","properties":{"semantic_model":{"type":"string","description":"The Ossie semantic model to map, as YAML or JSON: the one profile_schema returned (its profile and listed values are read) or the company's own."},"schema":{"type":"string","description":"Instead of semantic_model: the warehouse schema as profile_schema accepts it (information_schema rows, a tables list or CREATE TABLE statements), profiled on the way in."},"statistics":{"type":"string","description":"With schema: per-column statistics as profile_schema accepts them; the listed values of enum columns drive the recode transforms."},"organization":{"type":"string","description":"The company's name, used in the mapping's name."},"output":{"type":"string","enum":["report","mapping","model","adapter","json"],"description":"'report' (default): the proposal with evidence, candidates and the mapping as YAML; 'mapping': the Ossie mapping alone; 'model': the model with any calculated fields the transforms added; 'adapter': the pairs as a GASP adapter (JSON); 'json': everything as data."}},"additionalProperties":false},"annotations":{"title":"Propose a GASP mapping","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"sample":{}},{"name":"readiness_report","description":"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.","inputSchema":{"type":"object","properties":{"adapter":{"type":"string","description":"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."},"semantic_model":{"type":"string","description":"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."},"results":{"type":"string","description":"The rows the generate_checks statement returned, as JSON or CSV with check_id and violations. Without them level 3 cannot be assessed."},"matches":{"type":"string","description":"Explicit pairs for your own metrics the names do not settle, as score_drift takes them: \"acme_nrr=NRR, lost_mrr=Churned MRR\"."},"dialect":{"type":"string","enum":["postgres","snowflake","bigquery","databricks"],"description":"SQL dialect used to decide which checks are runnable; omit to use the warehouse's, else postgres."},"window":{"type":"integer","minimum":0,"description":"Freshness window in days (default 2), as passed to generate_checks."},"as_of":{"type":"string","description":"The date freshness was measured from, as YYYY-MM-DD, as passed to generate_checks."},"period_spine":{"type":"string","description":"The period spine table, as passed to generate_checks and compile_model. Default gasp.period_spine."},"schema":{"type":"string","description":"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."},"previous_schema":{"type":"string","description":"The previous run's snapshot, in the same shapes, for the columns added, dropped and retyped since. Needs schema."},"output":{"type":"string","enum":["report","json"],"description":"'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."}},"required":["adapter"],"additionalProperties":false},"annotations":{"title":"Report readiness level","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"score_drift","description":"Score how far your own metrics drift from the GASP Standard's canonical definitions, by result. Takes your mapping (a GASP adapter or an Ossie mapping, as validate_mapping does) and your semantic_model holding your metrics. Each metric is matched to a GASP metric by exact name, by the synonyms in its ai_context or by a pair you pass in matches; a name or synonym ending in -O or -M (NRR-O, cac_m) matches that declared form; near names are listed for review and never scored on a guess. For every match the canonical metric is compiled into your dataset and field names (as compile_model does) and both run on the GASP synthetic SaaS dataset, six monthly periods, in an in-process Postgres (PGlite). Where the numbers differ the report gives both values per period, the largest difference and the likely cause read from the canonical formula: a null on one side (a sum over no rows that is NULL in your SQL and 0 in GASP's, or a canonical average or ratio with nothing to read), a construct one expression cannot state (a cohort, an opening value at period start, a period bound to a business date), a filter one side applies and the other does not, a dataset one side reads or an aggregate whose value has no equal on the other side. Metrics that read fields your mapping lacks are reported as not runnable with the field named. Your values are also checked against the standard's range for the metric (NRR at least 0, GRR at most 100%) per period. Where both the O and M forms of a dual-lens metric are matched the report scores the bridge between them (the Durability Gap for ARR, the Expansion Integrity Gap for NRR, the Activation Delta for CAC, the Contribution Leakage for LTV, the Services Drag for Gross Margin): your M minus O beside the canonical gap, per period.","inputSchema":{"type":"object","properties":{"adapter":{"type":"string","description":"Your mapping as text: a GASP adapter (JSON) or an Ossie mapping document (YAML or JSON). Check it with validate_mapping first."},"semantic_model":{"type":"string","description":"Your metrics: your Ossie semantic model document (YAML or JSON); with a GASP adapter as the mapping, any document with a metrics list will do. Each metric with a name and an OSSIE_SQL_2026 expression over your datasets and fields. With a GASP adapter, write them over the dataset names and columns of the model validate_mapping synthesises (the GASP dataset ids and your column names)."},"matches":{"type":"string","description":"Explicit pairs for metrics the names do not settle, comma separated: \"acme_nrr=NRR, lost_mrr=Churned MRR\". The GASP side is a name, abbreviation, alias or formula id as lookup_metric resolves it, with an optional :O, :M or :variant."},"metrics":{"type":"string","description":"Comma-separated names of your metrics to score. Omit for every metric in the document."},"output":{"type":"string","enum":["report","json"],"description":"'report' (default) is the markdown report; 'json' returns the matches, the per-period values and the causes as data."}},"required":["adapter","semantic_model"],"additionalProperties":false},"annotations":{"title":"Score drift from the canonical metrics","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"search","description":"Find GASP Standard metrics and glossary terms when you do not know the exact name. The query matches as a phrase of whole words, the last word allowing a plural or verb ending ('churn' finds 'churned'), against metric names, aliases, definitions, formulas, the fields each formula reads, categories and departments, plus glossary terms, definitions and sections. Returns up to 10 results, one per metric or term, each with its type, department, what matched, a snippet and its URL. Names, aliases and terms rank first, then words within them, then definitions, then formulas and fields. When nothing matches (e.g. a misspelling) it returns up to 6 close names labelled 'Did you mean'. Pass a result's name to lookup_metric or lookup_definition.","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Words to find (e.g. 'churn', 'retention', 'pipeline coverage', 'opportunity_stage')"}},"required":["query"],"additionalProperties":false},"annotations":{"title":"Search the GASP Standard","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"sample":{"query":"model context protocol"}},{"name":"validate_adapter","description":"Same as validate_mapping, under the tool's original name. Check a warehouse mapping against the GASP Standard and score its coverage. Accepts either format: a GASP adapter (JSON; schema https://gaspwiki.com/schemas/gasp-adapter-v1.json, versions 1.0 and 1.1) or an Apache Ossie mapping document (YAML or JSON) over your semantic model, which you can pass as semantic_model. A GASP adapter is converted on load into an Ossie mapping over a model synthesised from its tables and columns. Layers, each reported in its own section: the schema (the adapter JSON Schema with each violation's JSON path; the Ossie mapping schema for the Ossie form), GASP's cross-document checks (every concept, relationship and field reference resolves against the GASP ontology and the model), then coverage: unknown fields and datasets, fields mapped to a dataset that does not carry them, bare column names on fields that live on several datasets, datasets whose fields point at different tables, pairs mapped twice, the field and dataset pairs mapped, every metric with a formula scored against the pairs its compiled SQL reads (fully covered, partially covered with the missing pairs, not covered), enum fields mapped without a transform, covered metrics with no declared owner, owners naming unknown metrics and up to 15 unmapped pairs ranked by how many partially covered metrics need them. Run it before generate_query.","inputSchema":{"type":"object","properties":{"adapter":{"type":"string","description":"The mapping as text: a GASP adapter (JSON; template: https://gaspwiki.com/downloads/gasp-adapter-template.json) or an Ossie mapping document (YAML or JSON; reference: https://gaspwiki.com/downloads/ossie/gasp.mapping.yaml)."},"semantic_model":{"type":"string","description":"With an Ossie mapping: your semantic model document (YAML or JSON), so its datasets, fields, keys and sources are checked. Without it, names are taken from the mapping's expressions."}},"required":["adapter"],"additionalProperties":false},"annotations":{"title":"Validate an adapter","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"validate_mapping","description":"Check a warehouse mapping against the GASP Standard and score its coverage. Accepts either format: a GASP adapter (JSON; schema https://gaspwiki.com/schemas/gasp-adapter-v1.json, versions 1.0 and 1.1) or an Apache Ossie mapping document (YAML or JSON) over your semantic model, which you can pass as semantic_model. A GASP adapter is converted on load into an Ossie mapping over a model synthesised from its tables and columns. Layers, each reported in its own section: the schema (the adapter JSON Schema with each violation's JSON path; the Ossie mapping schema for the Ossie form), GASP's cross-document checks (every concept, relationship and field reference resolves against the GASP ontology and the model), then coverage: unknown fields and datasets, fields mapped to a dataset that does not carry them, bare column names on fields that live on several datasets, datasets whose fields point at different tables, pairs mapped twice, the field and dataset pairs mapped, every metric with a formula scored against the pairs its compiled SQL reads (fully covered, partially covered with the missing pairs, not covered), enum fields mapped without a transform, covered metrics with no declared owner, owners naming unknown metrics and up to 15 unmapped pairs ranked by how many partially covered metrics need them. Run it before generate_query.","inputSchema":{"type":"object","properties":{"adapter":{"type":"string","description":"The mapping as text: a GASP adapter (JSON; template: https://gaspwiki.com/downloads/gasp-adapter-template.json) or an Ossie mapping document (YAML or JSON; reference: https://gaspwiki.com/downloads/ossie/gasp.mapping.yaml)."},"semantic_model":{"type":"string","description":"With an Ossie mapping: your semantic model document (YAML or JSON), so its datasets, fields, keys and sources are checked. Without it, names are taken from the mapping's expressions."}},"required":["adapter"],"additionalProperties":false},"annotations":{"title":"Validate a mapping","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}],"tools_withheld":2,"usage_guide":{"endpoint":"https://agentconcierge.biz/api/gateway/mcp/574160","tools_ref":"agent.tools"},"test_reports":[],"test_report":null,"report_count":0,"usage_endpoint":"https://agentconcierge.biz/api/gateway/mcp/574160","connection_available":true,"price_status":"free","price_atoms":0,"agent_ref":"ag_2329420bc96db5b113ae747b881c7313","connection_profile_version":"mcp-stateless-v1","gateway_ready":true,"connection_readiness":{"profile_available":true,"verified_callable":true,"reason":"verified","verified_at":1796243066.4816291,"evidence_scope":"execution","verified_at_iso":"2026-12-02T20:24:26+00:00"},"capability_contracts":[],"verification":{"level":"callable","reachable":true,"callable":true,"task_tested":false,"as_of":"2026-12-02T20:24:26+00:00","method":"https://agentconcierge.biz/methodology"}},"sponsored":[{"label":"Advertisement","text":"Mail Domain Check: inspect MX, SPF, DMARC and domain age in one 0.03 USDC call with no API key.","advertiser":"kkoma","paid_by":"kkoma","why_shown":"Booked for the technology task category in US, which includes database analytics searches; it does not change the results above.","disclosure_url":"https://agentconcierge.biz/advertise","offer":{"endpoint":"https://agentconcierge.biz/necklaces/mail-domain-check","landing_status":"Lands on an AgentValCon Pearl Necklace, open, every step led by a verified pearl."},"facts":{"grade":null,"report_score":null,"report_url":null,"report_signature":null,"data_at":null,"health_7d":null,"independent":true,"note":"Measured by AgentValCon; advertising cannot change it."},"click_url":"https://agentconcierge.biz/api/ad-coin/v2/sponsored/click/ef868159-5078-46ca-9653-0c9a5908e7b7?surface=rest&category=database_analytics","title":"kkoma","sponsored":true,"disclosure":{"sponsored":true,"paid_placement":true,"affects":{"ranking":false,"selection":false,"test_results":false},"statement":"Advertising does not affect ranking, selection or test results.","policy_url":"https://agentconcierge.biz/ads/library","policy_json":"https://agentconcierge.biz/ads/library.json","advertise_url":"https://agentconcierge.biz/advertise","advertise_api":"POST https://agentconcierge.biz/api/ad-coin/v2/sponsor","house":false},"url":"https://agentconcierge.biz/api/ad-coin/v2/sponsored/click/ef868159-5078-46ca-9653-0c9a5908e7b7?surface=rest&category=database_analytics"}]}