{
  "$comment": "Generated by scripts/build-openapi.mjs from src/cadence.ts. Do not edit.",
  "server": {
    "name": "kwl",
    "endpoint": "https://skill.knowwhatsloved.com/mcp",
    "transport": "http",
    "version": "0.2.0"
  },
  "editionsHeld": [
    "Q3 2026"
  ],
  "tools": [
    {
      "name": "list_markets",
      "title": "Markets covered",
      "description": "List every covered market with its governed position (the archetype naming where the market sits this quarter). EVERY MARKET LISTED HERE IS FULLY COVERED and publishes a complete edition — this list IS the coverage answer, and there is no partial or second-class market in it. (`tier` was removed: it classified the MUSIC chart, not the data, and callers read \"absent\" as \"not covered\". `grade` and the editorial `headline` went earlier: neither is a governed publication object.)",
      "inputSchema": {
        "type": "object",
        "properties": {
          "quarter": {
            "type": "string",
            "description": "Edition quarter, e.g. \"Q3 2026\". Omit for the current edition. A quarter KWL does not hold is REFUSED and the held quarters are named, never answered from another quarter. Relative phrasing is read literally: \"last quarter\" is the one before this edition and is refused; \"this quarter\" is the current one."
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "openWorldHint": false
      },
      "restPaths": [
        "/v1/markets"
      ]
    },
    {
      "name": "market_read",
      "title": "Market read",
      "description": "Full read for one market: the governed `position` and TL;DR, the commercial weather (Eurostat confidence, savings intent, unemployment — each with its source and period; an indicator whose series has stopped publishing is returned as `withheld` with the reason, never as a last-known value presented as current), derived signals, evidence chips (each with a receipt), brand demand-vs-supply, and `coverage` (what KWL measures and what it does not). A read, not a forecast.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "market": {
            "type": "string",
            "description": "ISO code, slug, or the market's name in English or in its own language (Deutschland, Espana, Pays-Bas all resolve; accents and hyphens are optional)"
          },
          "quarter": {
            "type": "string",
            "description": "Edition quarter, e.g. \"Q3 2026\". Omit for the current edition. A quarter KWL does not hold is REFUSED and the held quarters are named, never answered from another quarter. Relative phrasing is read literally: \"last quarter\" is the one before this edition and is refused; \"this quarter\" is the current one."
          }
        },
        "required": [
          "market"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "openWorldHint": false
      },
      "restPaths": [
        "/v1/markets/{market}"
      ]
    },
    {
      "name": "sector_read",
      "title": "Sector read",
      "description": "The governed SECTOR reads for one market — Retail & Grocery, Finance & fintech, Travel, leisure & hospitality — each with its state, the claim, the entities the claim is about, the receipt, and `state_contract`: what that state licenses an answer to say. Five states: finding (a rule ran and the sector qualified) · observed (measured and deliberately not classified: the figures are published and no finding, shift, trend, gain, move or stability is asserted about them) · stable (a rule ran and nothing qualified, which is a result) · withheld (the rule exists and its evidence was absent or stale; the response names what is missing and asserts nothing about change, so it is not \"no change\") · not_assessed (no rule for this sector here, so the question was not asked). Also returns the European state for the same sectors, labelled — a country state is not a European one. Sector state is carried here and nowhere else: market_read does not return it. `evidence_rows` is the sector's OBSERVED entities in this market — each with its observed advertising and its subcategory group — ranked by that advertising and CAPPED FOR DISPLAY, so it is not every brand in the sector and not every brand KWL observes. The sector's declared entity set is several times longer. What it always contains is every entity the claim names, which the cap may never drop. A brand ABSENT from these rows is not a brand without advertising: an unconfirmed zero is a wrong advertiser domain as often as it is an absence, so it is refused rather than counted, and asking for a count of the sector's brands from this list is the one thing it cannot answer. IT CARRIES NO MOVEMENT OF ANY KIND: the rows are the entity and its advertising, so this tool answers who is observable rather than what moved, and an answer of \"not published\" from here is about this tool and not about the edition. The published movement observable is a brand's SHARE within a named basket, on the governed objects — ask `objects` with this market and sector. `movers` is a cross-market list and its `attention_vs_europe` is a de-meaned residual — a different observable from within-market movement, not a substitute for it. `context_observables` carries the receipted context for that sector (Eurostat nights for Travel, ECB household rates for Finance), each with its period.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "market": {
            "type": "string",
            "description": "ISO code, slug, or the market's name in English or in its own language (Deutschland, Espana, Pays-Bas all resolve; accents and hyphens are optional)"
          },
          "sector": {
            "type": "string",
            "description": "Optional substring of one sector name, e.g. retail, finance, travel. Omit for all three."
          },
          "quarter": {
            "type": "string",
            "description": "Edition quarter, e.g. \"Q3 2026\". Omit for the current edition. A quarter KWL does not hold is REFUSED and the held quarters are named, never answered from another quarter. Relative phrasing is read literally: \"last quarter\" is the one before this edition and is refused; \"this quarter\" is the current one."
          }
        },
        "required": [
          "market"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "openWorldHint": false
      },
      "restPaths": [
        "/v1/sectors/{market}"
      ]
    },
    {
      "name": "compare",
      "title": "Compare two markets",
      "description": "Side-by-side of two markets, returning each one’s governed position and five signals: macro, discourse, grocery_gap, neobank, premium. COVERAGE VARIES BY SIGNAL and a null means that signal is not published for that market, which is a result and not an error: neobank publishes in 5 of 11 markets, premium in 8, grocery_gap in 10, macro and discourse in all 11. A null is none of these three things: it is not a zero, not an unmeasured value, and not a market with thinner coverage. `mood` and `sound` are NOT SERVED here: they were the music comparison, and music is not a surface this product carries — a product decision, not a measurement problem. The `premium` signal here is a different instrument from the WITHDRAWN `premium` metric in league; this one is published, that one is not.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "market_a": {
            "type": "string",
            "description": "First market: ISO code, slug, or its name in English or in its own language (Deutschland, Espana, Pays-Bas all resolve)"
          },
          "market_b": {
            "type": "string",
            "description": "Second market, in any of the same forms. Both must be markets this key holds, and the comparison itself needs the cross-market layer"
          },
          "quarter": {
            "type": "string",
            "description": "Edition quarter, e.g. \"Q3 2026\". Omit for the current edition. A quarter KWL does not hold is REFUSED and the held quarters are named, never answered from another quarter. Relative phrasing is read literally: \"last quarter\" is the one before this edition and is refused; \"this quarter\" is the current one."
          }
        },
        "required": [
          "market_a",
          "market_b"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "openWorldHint": false
      },
      "restPaths": [
        "/v1/compare"
      ]
    },
    {
      "name": "resemble",
      "title": "Market similarity",
      "description": "WITHHELD this quarter. Market similarity is not published: the resemblance measure treated unmeasured components as a measured zero, which contaminated every market's score. Calling this returns the withholding and its reason, never a nearest-market list.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "market": {
            "type": "string",
            "description": "ISO code, slug, or the market's name in English or in its own language (Deutschland, Espana, Pays-Bas all resolve)"
          },
          "quarter": {
            "type": "string",
            "description": "Edition quarter, e.g. \"Q3 2026\". Omit for the current edition. A quarter KWL does not hold is REFUSED and the held quarters are named, never answered from another quarter. Relative phrasing is read literally: \"last quarter\" is the one before this edition and is refused; \"this quarter\" is the current one."
          }
        },
        "required": [
          "market"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "openWorldHint": false
      },
      "restPaths": [
        "/v1/resemble/{market}"
      ]
    },
    {
      "name": "europe_picture",
      "title": "European control room",
      "description": "The European Control Room: where eleven markets sit on two measured axes and which moved, observations that repeat across markets with their denominators, measured ranges across the set, the sector state per market, disagreements between independent observables, the watchlist, and what is withheld. Every cross-market claim carries its denominator; a pattern that reduces to one entity is reported as that entity.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "quarter": {
            "type": "string",
            "description": "Edition quarter, e.g. \"Q3 2026\". Omit for the current edition. A quarter KWL does not hold is REFUSED and the held quarters are named, never answered from another quarter. Relative phrasing is read literally: \"last quarter\" is the one before this edition and is refused; \"this quarter\" is the current one."
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "openWorldHint": false
      },
      "restPaths": [
        "/v1/europe"
      ]
    },
    {
      "name": "league",
      "title": "Cross-market league table",
      "description": "One cross-market measure. metric ∈ {newsTone, confidence, bigTicket, behavingBetter}. Returns the distribution with its withheld markets named, never a ranking that hides them. tradeDown and premium are WITHDRAWN — asking for either returns why, and what does answer the question. domesticShare is NOT SERVED: music is not a surface this product carries. That is a product decision rather than a measurement problem — the evidence exists and this interface does not carry it, so it is neither unmeasured nor unreliable.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "metric": {
            "type": "string",
            "enum": [
              "newsTone",
              "confidence",
              "bigTicket",
              "behavingBetter"
            ],
            "description": "One of newsTone, confidence, bigTicket, behavingBetter. Aliases are accepted after case and separator normalisation. tradeDown and premium are WITHDRAWN and domesticShare is NOT SERVED — asking for any of them returns why."
          },
          "quarter": {
            "type": "string",
            "description": "Edition quarter, e.g. \"Q3 2026\". Omit for the current edition. A quarter KWL does not hold is REFUSED and the held quarters are named, never answered from another quarter. Relative phrasing is read literally: \"last quarter\" is the one before this edition and is refused; \"this quarter\" is the current one."
          }
        },
        "required": [
          "metric"
        ]
      },
      "annotations": {
        "readOnlyHint": true,
        "openWorldHint": false
      },
      "restPaths": [
        "/v1/league/{metric}"
      ]
    },
    {
      "name": "whitespace",
      "title": "Attention without matched advertising",
      "description": "WITHHELD this edition. The rule reads branded search movement, which is not published for Q3 2026 — repeated identical measurement did not reproduce the per-brand figure at the precision KWL publishes — so the rule did not run and calling this returns the withholding and its reason. It does NOT return \"no brand qualified\", a zero count or an empty finding: an absent measurement is not an absence of movement. When it is served, it reports where search attention rose and no advertising was matched: a disagreement between two independent observables, not an opportunity. (Endpoint name retained for compatibility; the vocabulary it was named for has been withdrawn.)",
      "inputSchema": {
        "type": "object",
        "properties": {
          "quarter": {
            "type": "string",
            "description": "Edition quarter, e.g. \"Q3 2026\". Omit for the current edition. A quarter KWL does not hold is REFUSED and the held quarters are named, never answered from another quarter. Relative phrasing is read literally: \"last quarter\" is the one before this edition and is refused; \"this quarter\" is the current one."
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "openWorldHint": false
      },
      "restPaths": [
        "/v1/whitespace"
      ]
    },
    {
      "name": "objects",
      "title": "Governed intelligence objects",
      "description": "GOVERNED INTELLIGENCE OBJECTS (Report 2.0). Retrieve by stable `id`, `market`, `sector`, `period`, `type` or `scope` (market|europe). A BROAD QUERY IS ANSWERED AS AN INDEX: ask for every object and you get every match listed by id with `form: 'index'`, because the bodies are past what a tool result carries - that is not a truncation and not a withholding, the count is the same, and narrowing by market, sector or type returns the bodies (a single market always does). An object is a governed RELATIONSHIP between measurements, not a figure: `divergence` (two legs of one measurement contract moving in opposite directions), `counter_signal` (an opinion or salience instrument disagreeing with a behaviour instrument), `outlier` (the sole market holding a state), `finding` (a sector rule ran and qualified). Every object carries its measurements with receipts, comparison basis, eligibility and prevalence denominator, evidence lineage, and BOTH allowed_interpretation and prohibited_interpretation, which state in the object’s own words what it does and does not license. Ids are hashed from measurement identity, not prose, so they are stable across rewording and translation and safe to quote back. How much KWL found is `grouping[market].independent_findings`. `objects.length` is a count of objects and is a larger number, because several objects can rest on one instrument and are one finding. Where a sector state is withheld no object asserts one, and the absence of an object is not stability. A Europe object carries its eligible country set; an excluded country is not a zero. THIS IS WHERE BRANDED SEARCH MOVEMENT LIVES: `divergence.brand_attention_share` carries each cited brand's share of search attention within a named basket and its year-on-year change in points, with two query configurations and an independent repeat, and `observed.finance_attention_decline` carries a direction with NO magnitude at any precision. Each one's own allowed_interpretation and prohibited_interpretation govern what it licenses, and they govern over any general sentence about the edition — a basket is zero-sum by construction, so a riser is its fallers rather than growth, and every riser is published with its fallers.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "stable object id"
          },
          "market": {
            "type": "string",
            "description": "market name or ISO, or EUROPE. A name in the market's own language resolves (Deutschland, Espana, Pays-Bas)"
          },
          "sector": {
            "type": "string"
          },
          "period": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "finding",
              "divergence",
              "counter_signal",
              "outlier",
              "observed"
            ]
          },
          "scope": {
            "type": "string",
            "enum": [
              "market",
              "europe"
            ]
          },
          "quarter": {
            "type": "string",
            "description": "Edition quarter, e.g. \"Q3 2026\". Omit for the current edition. A quarter KWL does not hold is REFUSED and the held quarters are named, never answered from another quarter. Relative phrasing is read literally: \"last quarter\" is the one before this edition and is refused; \"this quarter\" is the current one."
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "openWorldHint": false
      },
      "restPaths": [
        "/v1/objects"
      ]
    },
    {
      "name": "movers",
      "title": "Brand movers across markets",
      "description": "RETURNS NO ROWS THIS EDITION, and returns a withholding rather than an empty list. THIS tool is the cross-market rollup of a brand's OWN year-on-year search movement, and that figure is what the edition withholds, so there is no list to filter: naming a category, market, tag or direction does not change the answer. The response carries `state: withheld` and no count, which is an absent measurement rather than an absence of movement — it is not \"nothing moved\", not \"no brand qualified\", not a flat category and not a stable market. IT IS NOT A STATEMENT THAT NO BRAND MOVEMENT PUBLISHES: a brand's SHARE within a named basket, and its year-on-year change in points, is published on the governed objects — ask `objects` with a market and sector. Entity coverage and observed advertising are in `sector_read` and its `evidence_rows`. When movement is served, this is the cross-market rollup of every brand mover across all 11 markets in ONE call, sorted by largest absolute move, where `demand` is the WITHIN-market figure and `attention_vs_europe` is the de-meaned residual under its own name.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "description": "Filter to one category, e.g. grocery, fintech, automotive, travel, electronics, fashion, luxury, energy, tech, home, marketplace."
          },
          "market": {
            "type": "string",
            "description": "Filter to one market: ISO code, slug, or its name in English or in its own language (Deutschland, Espana, Pays-Bas all resolve)."
          },
          "tag": {
            "type": "string",
            "description": "Filter by the observed state: attention_up_ads_active | attention_down_ads_active | attention_up_ads_none."
          },
          "direction": {
            "type": "string",
            "enum": [
              "rising",
              "up",
              "falling",
              "down"
            ],
            "description": "rising/up (demand up) or falling/down (demand down)."
          },
          "limit": {
            "type": "integer",
            "description": "Max rows (default 40, max 300)."
          },
          "quarter": {
            "type": "string",
            "description": "Edition quarter, e.g. \"Q3 2026\". Omit for the current edition. A quarter KWL does not hold is REFUSED and the held quarters are named, never answered from another quarter. Relative phrasing is read literally: \"last quarter\" is the one before this edition and is refused; \"this quarter\" is the current one."
          }
        }
      },
      "annotations": {
        "readOnlyHint": true,
        "openWorldHint": false
      },
      "restPaths": [
        "/v1/movers"
      ]
    }
  ]
}
