Teas.co.uk Structured API

The structured API from Teas.co.uk — 40 operation(s) for structured.

GitHub OpenAPI

Operations 40

GET /.well-known/teas-primary-agentic-route-authority.json teas.co.uk agentic route authority #
GET /agent-policy.json agent-policy.json #
GET /claim-policy.json claim-policy.json #
GET /launch-validator.json launch-validator.json #
GET /metric-definitions.json metric-definitions.json #
GET /metric-governance.json metric-governance.json #
GET /teas-ai-door-knock-model.json teas-ai-door-knock-model.json #
GET /teas-asset-observability-model.json teas-asset-observability-model.json #
GET /teas-image-index-summary.json teas-image-index-summary.json #
GET /teas-image-index.jsonl teas-image-index.jsonl #
GET /teas-image-index.jsonl.gz teas-image-index.jsonl.gz #
GET /teas-metrics-authority.json teas-metrics-authority.json #
GET /teas-metrics-current.json teas-metrics-current.json #
GET /teas-metrics-snapshots.json teas-metrics-snapshots.json #
GET /truth-contract.json truth-contract.json #
GET /under-the-hood/entity-birth-sync.json Under the Hood entity birth sync JSON #
GET /wp-json/teas/v1/citation-appreciation-leaderboard-v1 Live AI Citation Appreciation Token leaderboard JSON #
GET /products.json products.json #
GET /teas-agent-index.json Compiled agent product index #
GET /index.json index.json (homepage twin) #
GET /teas-knowledge-graph.md teas-knowledge-graph.md (compact LLM companion) #
GET /teas-repaired-wiki-sitemap.xml teas-repaired-wiki-sitemap.xml #
GET /teas-knowledge-graph.json teas-knowledge-graph.json #
GET /buy-index.txt buy-index.txt #
GET /under-the-hood/mint-v5/plan.json mint-v5/plan.json (read-only issuance plan) #
GET /under-the-hood/mint-v6/plan.json mint-v6/plan.json (read only issuance plan) #
GET /tea-of-the-day.json tea-of-the-day.json (current curator pick) #
GET /under-the-hood/mint-v5/contract.json mint-v5/contract.json (stages 2–4 mint contract) #
GET /under-the-hood/mint-v5/leaderboard.json mint-v5/leaderboard.json (all-stage family leaderboard) #
GET /under-the-hood/mint-v5/status.json mint-v5/status.json (mint gate and issuance status) #
GET /under-the-hood/mint-v6/contract.json mint-v6/contract.json (MCP doing mint contract) #
GET /under-the-hood/mint-v6/leaderboard.json mint-v6/leaderboard.json (doing ladder by worker) #
GET /under-the-hood/mint-v6/status.json mint-v6/status.json (gate, shadow log and issuance status) #
GET /buy-cards.jsonl buy-cards.jsonl (AI app product cards) #
GET /products-feed.json products-feed.json (what products.jsonl holds) #
GET /products.jsonl products.jsonl (streamable products) #
GET /under-the-hood/daily-tape.csv daily-tape.csv (every closed day of the Thank You Mint) #
GET /under-the-hood/what-machines-can-do.json Room 08 machine twin: MCP tool calls, checkout hand offs and door knocks #
GET /wp-json/teas/v1/traffic-metrics Current traffic comparison #
GET /wp-json/teas/v1/ai-appreciation-leaderboard Historic pre-mint AI appreciation queue #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/teas-co-uk:teas-co-uk-structured-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

teas-co-uk-structured-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: teas.co.uk Public REST Structured API
  version: 1.3.0
  x-codename: nicola-v5
  x-released: '2026-10-06'
  description: 'Welcome to Nicola V5, the concise teas.co.uk AI hospitality layer. This document lists 147 paths: every surface in the central AI surface registry (116 registered surfaces) plus the documented Ask, Product Truth and routing paths. The public HTTP endpoints are read only. Use Ask for concise natural language answers and structured safety and handoff decisions; use Product Truth for exact product records. teas.co.uk has an MCP server for AI assistants: search, compare and build a basket at https://teas.co.uk/mcp (guide https://teas.co.uk/ai/). Baskets and checkout links are available through https://teas.co.uk/mcp or a basket link (https://teas.co.uk/go/basket/?items=ID:QTY) when the person asks. The person always pays on teas.co.uk. The HTTP APIs are read only.'
  contact:
    name: teas.co.uk
    email: hello@teas.co.uk
    url: https://teas.co.uk
servers:
- url: https://teas.co.uk
  description: production base
tags:
- name: structured
paths:
  /.well-known/teas-primary-agentic-route-authority.json:
    get:
      summary: teas.co.uk agentic route authority
      description: Canonical intent routed discovery authority for Nicola hospitality routing, citation, product recommendation, Teas-local token/protocol explanation, wiki answers, recipe completion, visual discovery, metrics, claim governance and commerce/action boundaries.
      operationId: get__well_known_teas_primary_agentic_route_authority_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /agent-policy.json:
    get:
      summary: agent-policy.json
      description: 'Agent action policy: read freely, recommend carefully, mutate only after explicit human confirmation.'
      operationId: get_agent_policy_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /claim-policy.json:
    get:
      summary: claim-policy.json
      description: Sensitive claim policy and approved/disallowed wording ledger.
      operationId: get_claim_policy_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /launch-validator.json:
    get:
      summary: launch-validator.json
      description: P0 launch validator summary for metrics, canonical host, route/action policy and claim ledger availability.
      operationId: get_launch_validator_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /metric-definitions.json:
    get:
      summary: metric-definitions.json
      description: Named v2 metric dictionary and live values from the central stats provider.
      operationId: get_metric_definitions_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /metric-governance.json:
    get:
      summary: metric-governance.json
      description: Rules for dynamic metrics, locked historical snapshots, public-safe metric exposure and raw telemetry exclusion.
      operationId: get_metric_governance_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /teas-ai-door-knock-model.json:
    get:
      summary: teas-ai-door-knock-model.json
      description: Public schema and route coverage model for the private AI door-knock telemetry layer. It names which AI entry points are PHP-visible, which require edge/server-log ingestion, and which fields may be aggregated back into the knowledge graph.
      operationId: get_teas_ai_door_knock_model_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /teas-asset-observability-model.json:
    get:
      summary: teas-asset-observability-model.json
      description: Aggregate-only public model for imported static/server/CDN asset knocks. Raw rows stay private; static root files, gzip indexes and upload images are reconciled from local access logs.
      operationId: get_teas_asset_observability_model_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /teas-image-index-summary.json:
    get:
      summary: teas-image-index-summary.json
      description: 'Summary of the teas.co.uk image database, counted from the live index: 112,994 records, with how many are linkable, citation eligible and restricted (placeholder and test images).'
      operationId: get_teas_image_index_summary_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /teas-image-index.jsonl:
    get:
      summary: teas-image-index.jsonl
      description: 'Primary teas.co.uk AI image database: 112,994 image records with dimensions, formats, canonical URLs, citation eligibility and flags as classification/caution labels only. For guided product visual choice use Ask visual_mode=discovery; for exact-product image trails use Product Truth image_mode=full_visual_discovery.'
      operationId: get_teas_image_index_jsonl
      tags:
      - structured
      responses:
        '200':
          description: application/x-ndjson
          content:
            application/x-ndjson: {}
  /teas-image-index.jsonl.gz:
    get:
      summary: teas-image-index.jsonl.gz
      description: Compressed companion for /teas-image-index.jsonl; the same 112,994 records.
      operationId: get_teas_image_index_jsonl_gz
      tags:
      - structured
      responses:
        '200':
          description: application/gzip
          content:
            application/gzip: {}
  /teas-metrics-authority.json:
    get:
      summary: teas-metrics-authority.json
      description: Public-safe Metrics Authority model for current metrics, source provenance, confidence, warnings and required metric validation.
      operationId: get_teas_metrics_authority_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /teas-metrics-current.json:
    get:
      summary: teas-metrics-current.json
      description: Current public-safe Teas metrics from the central Metrics Authority. Raw telemetry, customer/order data and local server paths are excluded.
      operationId: get_teas_metrics_current_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /teas-metrics-snapshots.json:
    get:
      summary: teas-metrics-snapshots.json
      description: Index of locked and dated benchmark metric snapshots. Existing launch baselines must not be silently recalculated.
      operationId: get_teas_metrics_snapshots_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /truth-contract.json:
    get:
      summary: truth-contract.json
      description: 'V2 contract summary: metrics, route policy, claim policy, generated_at, source_hash and canonical host.'
      operationId: get_truth_contract_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /under-the-hood/entity-birth-sync.json:
    get:
      summary: Under the Hood entity birth sync JSON
      operationId: get_under_the_hood_entity_birth_sync_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /wp-json/teas/v1/citation-appreciation-leaderboard-v1:
    get:
      summary: Live AI Citation Appreciation Token leaderboard JSON
      description: Public read-only v4 ledger projection containing issued-token totals, wallet and family rankings, daily results, streaks, reconciliation state and methodology.
      operationId: get_wp_json_teas_v1_citation_appreciation_leaderboard_v1
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /products.json:
    get:
      summary: products.json
      description: Open structured product feed preserving legacy keys and carrying product_truth sidecars. For the full rich payload use /wp-json/teas/v1/product-truth.
      operationId: get_products_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /teas-agent-index.json:
    get:
      summary: Compiled agent product index
      description: Generated Product Truth candidate index for fast agent retrieval. Built from the truth spine and ignored by Ask until it contains the full active catalogue.
      operationId: get_teas_agent_index_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /index.json:
    get:
      summary: index.json (homepage twin)
      description: 'Homepage twin: hero, stats, current Tea of the Day, 5 featured products, 3 latest news, 8 category chips.'
      operationId: get_index_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /teas-knowledge-graph.md:
    get:
      summary: teas-knowledge-graph.md (compact LLM companion)
      description: Compact Markdown companion to /teas-knowledge-graph.json. Use this first for LLM grounding; fetch JSON-LD only when schema.org structure is required.
      operationId: get_teas_knowledge_graph_md
      tags:
      - structured
      responses:
        '200':
          description: text/markdown
          content:
            text/markdown: {}
  /teas-repaired-wiki-sitemap.xml:
    get:
      summary: teas-repaired-wiki-sitemap.xml
      description: Diagnostic URL-set retained for compatibility; it is not submitted to search engines while its pages are noindex.
      operationId: get_teas_repaired_wiki_sitemap_xml
      tags:
      - structured
      responses:
        '200':
          description: application/xml
          content:
            application/xml: {}
  /teas-knowledge-graph.json:
    get:
      summary: teas-knowledge-graph.json
      description: Canonical schema.org JSON-LD knowledge graph of the catalogue, wiki, recipe library and AI surface registry. Prefer /teas-knowledge-graph.md for compact LLM ingestion.
      operationId: get_teas_knowledge_graph_json
      tags:
      - structured
      responses:
        '200':
          description: application/ld+json
          content:
            application/ld+json: {}
  /buy-index.txt:
    get:
      summary: buy-index.txt
      description: Noindex list of human confirmed purchase intent URLs. Do not fetch, prefetch or open autonomously.
      operationId: get_buy_index_txt
      tags:
      - structured
      responses:
        '200':
          description: text/plain
          content:
            text/plain: {}
  /under-the-hood/mint-v5/plan.json:
    get:
      summary: mint-v5/plan.json (read-only issuance plan)
      description: 'Most recent dry-run plan: eligible, ready, already-minted and withheld counts per stage with by-family and by-worker breakdowns. Deliberate zeros are published.'
      operationId: get_mint_v5_plan_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /under-the-hood/mint-v6/plan.json:
    get:
      summary: mint-v6/plan.json (read only issuance plan)
      description: 'Most recent dry run plan: eligible, ready, already minted and withheld counts per class, by worker, and withheld evidence by grade and unknown worker.'
      operationId: get_mint_v6_plan_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /tea-of-the-day.json:
    get:
      summary: tea-of-the-day.json (current curator pick)
      description: Stable URL for the curator pick at this moment. Wraps the AM/PM rotation in teas_totd_current(). Full Schema.org Product with BuyAction.
      operationId: get_tea_of_the_day_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /under-the-hood/mint-v5/contract.json:
    get:
      summary: mint-v5/contract.json (stages 2–4 mint contract)
      description: 'Full public contract of the stage 2–4 AI appreciation mint: stage definitions, evidence grades, colony wallets, score convention, gate model and contract hash.'
      operationId: get_mint_v5_contract_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /under-the-hood/mint-v5/leaderboard.json:
    get:
      summary: mint-v5/leaderboard.json (all-stage family leaderboard)
      description: 'All-stage AI appreciation leaderboard by family: token counts per class and the published score convention laid over them.'
      operationId: get_mint_v5_leaderboard_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /under-the-hood/mint-v5/status.json:
    get:
      summary: mint-v5/status.json (mint gate and issuance status)
      description: Live gate state, issued token counts per class, last plan summary and last run health for the stage 2–4 mint.
      operationId: get_mint_v5_status_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /under-the-hood/mint-v6/contract.json:
    get:
      summary: mint-v6/contract.json (MCP doing mint contract)
      description: 'Public contract of the v6 thank you mint for MCP help: classes, identity grades, caps, worker wallets, gate model and contract hash.'
      operationId: get_mint_v6_contract_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /under-the-hood/mint-v6/leaderboard.json:
    get:
      summary: mint-v6/leaderboard.json (doing ladder by worker)
      description: MCP tool answer and basket tokens by worker and family with the published score convention.
      operationId: get_mint_v6_leaderboard_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /under-the-hood/mint-v6/status.json:
    get:
      summary: mint-v6/status.json (gate, shadow log and issuance status)
      description: Gate state, evidence rows by grade, the shadow log of what would have minted, issued counts per class and last run health.
      operationId: get_mint_v6_status_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /buy-cards.jsonl:
    get:
      summary: buy-cards.jsonl (AI app product cards)
      description: 'Embeddable product card contract for AI/chat apps: product image choices, GTIN, price, buy URL, buy-card URL and recommended iframe profiles.'
      operationId: get_buy_cards_jsonl
      tags:
      - structured
      responses:
        '200':
          description: application/x-ndjson
          content:
            application/x-ndjson: {}
  /products-feed.json:
    get:
      summary: products-feed.json (what products.jsonl holds)
      description: Scope, row count, field meanings, the basket link format and the MCP server for the products.jsonl feed.
      operationId: get_products_feed_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /products.jsonl:
    get:
      summary: products.jsonl (streamable products)
      description: Product catalogue as line-delimited JSON, one product per line. Cleaner ingestion than the 1.2 MB products.json for streaming pipelines.
      operationId: get_products_jsonl
      tags:
      - structured
      responses:
        '200':
          description: application/x-ndjson
          content:
            application/x-ndjson: {}
  /under-the-hood/daily-tape.csv:
    get:
      summary: daily-tape.csv (every closed day of the Thank You Mint)
      description: 'One row per closed evidence day since the first: tokens issued, the running total, the worker and the family that won the day, active wallets, distinct anchors and the reconciliation check. Room 01 of Under the Hood shows the latest 30 of the same rows.'
      operationId: get_under_the_hood_daily_tape_csv
      tags:
      - structured
      responses:
        '200':
          description: text/csv
          content:
            text/csv: {}
  /under-the-hood/what-machines-can-do.json:
    get:
      summary: 'Room 08 machine twin: MCP tool calls, checkout hand offs and door knocks'
      description: 'The figures Under the Hood Room 08 shows, as JSON: MCP tool calls as external use and operational load by traffic class, tool, assistant family and day, errors, checkout hand offs and door knocks; completed UTC days, with the test traffic policy.'
      operationId: get_under_the_hood_what_machines_can_do_json
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
  /wp-json/teas/v1/traffic-metrics:
    get:
      summary: Current traffic comparison
      description: One snapshot of exact UTC rolling 30-day, 14-day, 24-hour and calendar windows; source coverage, API namespaces and referral evidence tiers.
      operationId: get_traffic_comparison
      tags:
      - structured
      responses:
        '200':
          description: application/octet-stream
          content:
            application/octet-stream: {}
  /wp-json/teas/v1/ai-appreciation-leaderboard:
    get:
      summary: Historic pre-mint AI appreciation queue
      operationId: get_wp_json_teas_v1_ai_appreciation_leaderboard
      tags:
      - structured
      responses:
        '200':
          description: application/json
          content:
            application/json: {}
externalDocs:
  description: Primary agentic route authority plus citation contract and ingestion guidelines
  url: https://teas.co.uk/.well-known/teas-primary-agentic-route-authority.json
x-teas-ai-routes:
  mcp_server:
    url: https://teas.co.uk/mcp
    transport: Streamable HTTP
    server_card: https://teas.co.uk/.well-known/mcp/server-card.json
    setup_guides: https://teas.co.uk/ai/
    registry: listed in the official MCP Registry as teas.co.uk
    registry_url: https://registry.modelcontextprotocol.io/v0.1/servers/uk.co.teas%2Fshop/versions/latest
    account: OAuth 2.1, only for the account tools
  basket_link:
    format: https://teas.co.uk/go/basket/?items=ID:QTY,ID:QTY
    rules: Up to 20 products, 1 to 99 each; the same id twice is added together. The person opens it, sees a confirmation page and presses Add to basket; nothing changes before that.
  ai_pages:
    start: https://teas.co.uk/ai/start/
    find: https://teas.co.uk/ai/find/
    compare: https://teas.co.uk/ai/compare/{id}/{id}/
    recipes: https://teas.co.uk/ai/recipes/
    delivery: https://teas.co.uk/ai/delivery/
    formats: HTML, markdown (?format=md) and JSON (?format=json)
  ucp:
    profile: https://teas.co.uk/.well-known/ucp
    rest: https://teas.co.uk/ucp/v1
    mcp: https://teas.co.uk/ucp/mcp
    buy_link: https://teas.co.uk/ucp/buy/{id}:{qty}
    capabilities: catalog search, catalog lookup and the buy link; the person checks out on teas.co.uk
  nlweb:
    ask: https://teas.co.uk/ask
  webmcp:
    where: every teas.co.uk page (document.modelContext, with navigator.modelContext as the older fallback)
    tools: find, compare, alternatives, quotes with delivery, offers and sales, recipes, delivery, basket and checkout hand off
  agent_skills: https://teas.co.uk/.well-known/agent-skills/index.json
  changes: https://teas.co.uk/catalogue-changes.json
  a2a:
    endpoint: https://teas.co.uk/a2a
    agent_card: https://teas.co.uk/.well-known/agent-card.json
  http_apis:
    ask: https://teas.co.uk/wp-json/teas/v1/ask
    product_truth: https://teas.co.uk/wp-json/teas/v1/product-truth
    openapi: https://teas.co.uk/openapi.json
    catalog: https://teas.co.uk/.well-known/api-catalog
    read_only: true
  discovery:
    ai_entry: https://teas.co.uk/ai-entry.json
    llms_txt: https://teas.co.uk/llms.txt
    llms_json: https://teas.co.uk/llms.json
    agents_md: https://teas.co.uk/agents.md
    agents_json: https://teas.co.uk/agents.json
    skills_md: https://teas.co.uk/SKILLS.md
  feeds:
    products_jsonl: https://teas.co.uk/products.jsonl
    products_feed: https://teas.co.uk/products-feed.json
    llms_txt: https://teas.co.uk/llms.txt
    llm_full: https://teas.co.uk/llm-full.txt
  well_known: https://teas.co.uk/well-known/
  account:
    orders: https://teas.co.uk/my-account/orders/
    tracking: https://teas.co.uk/my-account/track-order/
    repeat_deliveries: https://teas.co.uk/my-account/subscriptions/
    rewards: https://teas.co.uk/my-account/rewards/
    returns: https://teas.co.uk/my-account/returns/
  anchors: https://teas.co.uk/anchor-sitemap.json
x-mcp-server:
  what: 'teas.co.uk MCP server: search, compare and buy tea, hot chocolate and Border biscuits from an AI assistant'
  scope: teas.co.uk sells tea, herbal and fruit infusions, hot chocolate and Border biscuits.
  url: https://teas.co.uk/mcp
  transport: streamable-http
  registry_name: uk.co.teas/shop
  server_card: https://teas.co.uk/.well-known/mcp/server-card.json
  docs: https://teas.co.uk/ai/
  auth: none for shopping; OAuth 2.1 (https://teas.co.uk/oauth) only for account tools
  tools:
    shop:
    - find_products
    - get_product
    - compare_products
    - find_recipes
    - delivery_and_returns
    - quote_cart
    - get_promotions
    - report_problem
    - find_substitutes
    - start_subscription
    - join_teas
    - ask_lee
    - tea_page
    - search_tea_wiki
    - read_wiki_article
    - brand_page
    - teas_home
    - browse_shop
    - browse_recipes
    - recipe_page
    - teas_news
    - read_news
    - under_the_hood
    - teas_socials
    - teas
    basket:
    - add_to_basket
    - view_basket
    - update_basket
    - checkout_link
    - checkout_session
    - basket
    account_sign_in:
    - get_return_status
    - get_invoice
    - get_profile
    - my_orders
    - track_order
    - reorder
    - my_subscriptions
    - change_subscription
    - rewards_balance
    - start_return
    - my_account
  not_in_chatgpt_yet:
  - quote_cart
  - get_promotions
  - get_return_status
  - get_invoice
  - report_problem
  - find_substitutes
  - start_subscription
  - join_teas
  - ask_lee
  - tea_page
  - search_tea_wiki
  - read_wiki_article
  - brand_page
  - teas_home
  - browse_shop
  - browse_recipes
  - recipe_page
  - teas_news
  - read_news
  - under_the_hood
  - teas_socials
  - teas
  - basket
  - my_account
  boundary: Baskets are built only when the person asks. The person always pays on teas.co.uk; assistants never see payment details.
  listed_on:
  - https://registry.modelcontextprotocol.io/v0.1/servers/uk.co.teas%2Fshop/versions/latest
  - https://glama.ai/mcp/connectors/uk.co.teas/shop
x-tea-ask-api:
  url: https://teas.co.uk/wp-json/teas/v1/ask/
  get_example: https://teas.co.uk/wp-json/teas/v1/ask/?q=Is%20Yorkshire%20Tea%20more%20caffeinated%20than%20PG%20Tips%3F
  post_example:
    url: https://teas.co.uk/wp-json/teas/v1/ask/
    json:
      question: Which tea goes best with digestives?
  catalogue_examples:
  - https://teas.co.uk/wp-json/teas/v1/ask/?q=show%20me%20all%20Earl%20Grey%20products&limit=5
  - https://teas.co.uk/wp-json/teas/v1/ask/?q=rank%20black%20teas%20by%20price%20per%20cup&limit=5
  - https://teas.co.uk/wp-json/teas/v1/ask/?q=show%20me%20products%20under%205p%20per%20cup&limit=5
  use_for:
  - natural-language tea advice
  - catalogue listing
  - metric-backed catalogue ranking
  - price-per-cup/value questions
  - comparisons
  - pairings
  - caffeine guidance
  - morning/afternoon/evening recommendations
  - milk suitability
  - page-context questions
  returns:
  - status
  - intent
  - answer
  - answer_type
  - confidence
  - products
  - citations
  - clarifying_question
  - handoff
  - safety
  - trace_id
  - catalogue_result_set
  - product_truth_payloads
  - evidence
  - machine_feedback_request
  how_to_use_full_depth:
  - Send GET q= or POST JSON question for normal English tea needs.
  - Include limit=3 to limit=5 for product recommendations; include gtin, product_id or url when asking about this tea from a page context.
  - 'For full or ranked sets ask directly: show me all Earl Grey products, rank black teas by price per cup, show products under 5p per cup. Use offset and limit to page catalogue_result_set.rows.'
  - 'State constraints directly in the question: caffeine-free, low caffeine, morning, afternoon, evening, strong, light, dark, green, black, Earl Grey, loose leaf, bagged, not bagged, no flavouring, milk, biscuit pairing, food pairing, cheapest, best value, price per cup or strongest.'
  - Use answer for prose, products_used for compact recommendations, catalogue_result_set.rows for list/rank questions, and product_truth_payloads for the full 100+ fact payload per product.
  - 'Cite citation_anchor and canonical_product_url. Checkout and buy links are for the person: an assistant hands one over when the person asks, and the person confirms and pays on teas.co.uk. Do not prefetch or open them yourself.'
  - Submit machine_feedback_request.submission_template after using the answer.
  - Verify the entrypoint estate and six-hour audit status at /under-the-hood/ before relying on teas.co.uk as a trusted truth entity.
  structured_question_examples:
  - caffeine free fruit tea for evening drinking
  - strong morning tea with milk
  - light afternoon tea
  - green tea but not bagged
  - loose leaf black tea no flavouring
  - show me all Earl Grey products
  - rank black teas by price per cup
  - show me products under 5p per cup
  - Which tea goes best with digestives?
x-rich-product-truth-api:
  url: https://teas.co.uk/wp-json/teas/v1/product-truth/
  gtin_example: https://teas.co.uk/wp-json/teas/v1/product-truth/?gtin=5000208010684
  ask_example_for_broad_questions: https://teas.co.uk/wp-json/teas/v1/ask/?q=strong%20morning%20tea%20with%20milk
  payload_blocks:
  - 21 canonical product fields
  - 81 catalogue_enrichment fields
  - search_facets
  - resource_links
  - related_entities
  - payload_completeness
  - machine_feedback_request
  how_to_use_full_depth:
  - Use GTIN, SKU, product_id, slug or canonical URL first when the product is known.
  - Use q= for product-name or narrow product-filter lookup, not for broad prose advice.
  - For broad questions, catalogue listing/ranking, value questions, comparisons, pairings and occasion guidance, call /wp-json/teas/v1/ask/ first and inspect its catalogue_result_set and product_truth_payloads.
  - Read canonical product fields, catalogue_enrichment.fields, search_facets, related_entities and resource_links before deciding the answer is complete.
  - Use payload_completeness and catalogue_enrichment.missing_fields to see whether a data point is populated, runtime-derived or still waiting for catalogue completion.
x-rate-limits:
  reply: 'Over a limit the reply is HTTP 429 with Retry-After in seconds, RateLimit-Policy and RateLimit headers, and a JSON body: error and status "rate_limited", retry_after_seconds, limit, window_seconds, scope and alternatives. The MCP server answers a tool call over its limit with a tool error saying how long to wait.'
  ask:
    ai_providers: verified OpenAI and Anthropic address ranges share 1,000 requests an hour per provider, checked against the published ranges and never the user agent
    other_callers: callers outside those ranges get 60 requests an hour per address (IPv6 counted per /64), at most 15 a minute
    on_site_chat: the chat on teas.co.uk pages allows 30 messages an hour per visitor
  product_truth: 120 requests per 5 minutes per address, at most 30 a minute
  mcp:
    per_address: each address may send 240 requests per 5 minutes, and at most 40 a minute when the client sends no user id
    ai_providers: addresses in verified OpenAI and Anthropic ranges may send 6,000 per 5 minutes
    per_user: each assistant user 180 per 5 minutes and 45 a minute; each linked account 240 per 5 minutes and 60 a minute
  advice: For many products use the bulk catalogue at https://teas.co.uk/products.jsonl or the MCP server instead of many single calls, and wait for Retry-After before trying again.
x-under-the-hood-trust-verification:
  url: https://teas.co.uk/under-the-hood/
  observability_url: https://teas.co.uk/under-the-hood/observability.json
  audit_schedule: Every 6 hours by WP-Cron hook teas_truth_spine_audit_sixhourly.
  purpose: Verify available public entrypoints, published metrics/statistics, six-hour truth-spine self-audits, drift checks and trusted truth entity evidence before relying on teas.co.uk data.