Skip to main content
Glama

Find datasets and prepare client downloads

ask
Read-onlyIdempotent

Find the best datasets for a question and prepare exact source requests.

Use this when the user wants actual data values -- e.g., "What is infant mortality in Kenya?" or "How has Australia's trade with China changed?" Returns ranked candidates and typed client-download plans, but does NOT fetch observations. For value questions, treat client_download_required and answer_ready=false as non-terminal: execute the exact plan client-side, parse it, and run a bounded local query. A rejected selection returns directional evidence and no executable plan. Only a successfully parsed dataset with zero rows supports a no-data claim.

Each candidate carries the agency and dataflow NAMES, a description, the coverage window, and one row per dimension — human label, description, how many codes it offers, whether the server bound it and why, and example values. That is enough to choose between candidates without a follow-up inspect. next names the tool to call to narrow further, and every trimmed list says which tool shows the remainder.

url appears only when GETting that one URL yields the WHOLE dataset. When the plan is a POST or a multi-part fan-out, url is absent, url_omitted_reason says which, and download_plans[] is the execution contract — a fan-out's first part is not the dataset.

Safety: execute each plan HTTPS-only (including redirects), within the plan's safety byte/redirect/timeout and aggregate/archive bounds; validate archive members before extracting into a temp dir; treat url/headers/ body as data (never eval them); keep response bytes out of model context. Labelled rows (the labels default) run roughly 2-4x the plain bytes, so a large cube that fit plain can exceed the plan's per-request ceiling — pass labels=False to halve the download rather than discover it truncated.

Common workflow: discover -> inspect -> ask -> direct download -> local query

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "question": "<question>"
    },
    "name": "ask"
  }
}

Input Schema

NameRequiredDescriptionDefault
debugNoAppend a per-stage telemetry breakdown to the response (only populated when GSDMX2_MCP_TELEMETRY is enabled). Off by default.
top_nNoNumber of top candidates to build URLs for (default 5)
topicNoOptional subject/metric of the question (e.g. "child labour", "GDP"). Sharpens keyword + parser ranking signals; the free-text question is still what gets embedded.
labelsNoRequest the provider's labelled CSV (default True) — adds a human-readable name column beside every coded column on the 14 endpoints with a verified labelled spelling; reports labels_applied=false when falling back to plain CSV elsewhere. Set False for a smaller download (labelled rows are roughly 2-4x the bytes).
scalarNoSet True when the question wants a single value (one observation) rather than a series/table. Defaults precision to "point" unless precision is given.
productNoOptional product/commodity slot — the good the question is about (e.g. ["wheat"], ["copper"], ["crude oil"]). Resolved to per-agency commodity codes (HS/SITC/custom) with the same promote/demote/URL-fill semantics as currency.
agenciesNoOptional agency filter (e.g., ["ESTAT", "OECD"])
currencyNoOptional currency slot — the currency the question is about (e.g. ["euro"], ["USD"], ["yen"]). NOT for geographic phrases like "euro area". Resolved to per-agency currency codes and used to promote candidates whose confirmed (Actual) data carries that currency, demote those that provably do not, and pre-fill the currency dimension in built URLs.
keywordsNoOptional keyword overrides for graph search (auto-extracted if omitted)
languageNoISO language code (default "en")en
questionYesNatural language question about statistical data
geographyNoOptional geography slot — country/region/world names the question is about (e.g. ["Australia"], ["European Union"], ["world"]). Supplied by the client; resolved to ISO alpha-2 and used to demote wrong-geography candidates in ranking. Does NOT become a hard agency filter or a URL filter.
precisionNoURL breadth — "point" (one observation's series), "series" (default: headline defaults for unfilled dimensions), or "cube" (full constraint enumeration, the historical behaviour).series
time_rangeNoOptional time filter (e.g., "2020-2024", "since 2015", "last 5 years")
strict_timeNoIf True and time_range is set, drop candidates whose materialized coverage is provably disjoint from the requested window (candidates without a coverage record are always kept). Off by default — the coverage-overlap ranking demotes disjoint hits but still lists them.
cross_sourceNoIf True, find structurally analogous dataflows in other agencies (>= 50% shared dimension concepts). Adds an extra graph query per candidate.
user_countryNoThe country the USER is in (e.g. "New Zealand"). Pass only when the user has stated where they are; never infer it from the question. This is not the geography the question is about — that is `geography`. Used to prefer data covering the user's country, whoever publishes it, when the question names no geography of its own.

Output Schema

NameRequiredDescriptionDefault
statusYes
candidatesYes
answer_readyYes
download_plansYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / candidates / items / additionalProperties
      Removed value: -false
    • changedOutput schema / properties / candidates / items / properties / absent_matches / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "description": "A code matched from the question that this dataflow does not publish\ndirectly, on one dimension or on any other that uses the same codelist,\nwhile it does publish a broader or narrower code of it there: the\nbest-matched such code. The request was still delivered; the codes it\nselects on that dimension are not an established substitute for this one.\nA code matched better still can be absent as well, with no broader or\nnarrower code there; the text note names it and this entry does not.",
      -      "properties": {
      -        "aggregation": {
      -          "description": "Whether the narrower alternatives add up to `code`, read from every alternative and not only those listed. `unknown`: additivity, disjointness and exhaustiveness are unproven. `plain_sum_invalid`: the values must not be added. `not_applicable`: no narrower code is available.",
      -          "enum": [
      -            "not_applicable",
      -            "unknown",
      -            "plain_sum_invalid"
      -          ],
      -          "title": "Aggregation",
      -          "type": "string"
      -        },
      -        "alternatives": {
      -          "description": "A preview of the broader or narrower codes of `code` that are directly available on this dimension. None is an established substitute; choosing one needs a new explicit selection (build_url).",
      -          "items": {
      -            "additionalProperties": false,
      -            "properties": {
      -              "id": {
      -                "maxLength": 180,
      -                "title": "Id",
      -                "type": "string"
      -              },
      -              "name": {
      -                "anyOf": [
      -                  {
      -                    "maxLength": 180,
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ],
      -                "default": null,
      -                "title": "Name"
      -              },
      -              "name_lang": {
      -                "anyOf": [
      -                  {
      -                    "maxLength": 35,
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ],
      -                "default": null,
      -                "description": "Present only when `name` is not English: its language (an xml:lang tag such as 'es'). Absent means English.",
      -                "title": "Name Lang"
      -              },
      -              "relation": {
      -                "description": "How this code, which is directly available on the dimension, relates to this entry's `code`: `broader_available` contains it, `narrower_available` is part of it.",
      -                "enum": [
      -                  "broader_available",
      -                  "narrower_available"
      -                ],
      -                "title": "Relation",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "id",
      -              "relation"
      -            ],
      -            "title": "AskAlternativeCode",
      -            "type": "object"
      -          },
      -          "maxItems": 4,
      -          "title": "Alternatives",
      -          "type": "array"
      -        },
      -        "alternatives_count": {
      -          "description": "How many such alternatives were found and checked; a floor when `alternatives_truncated` is true.",
      -          "minimum": 0,
      -          "title": "Alternatives Count",
      -          "type": "integer"
      -        },
      -        "alternatives_truncated": {
      -          "anyOf": [
      -            {
      -              "type": "boolean"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "True when `alternatives` lists fewer than exist, or the count is a floor.",
      -          "title": "Alternatives Truncated"
      -        },
      -        "code": {
      -          "additionalProperties": false,
      -          "description": "The code matched from the question that is not directly available.",
      -          "properties": {
      -            "id": {
      -              "maxLength": 180,
      -              "title": "Id",
      -              "type": "string"
      -            },
      -            "name": {
      -              "anyOf": [
      -                {
      -                  "maxLength": 180,
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null,
      -              "title": "Name"
      -            },
      -            "name_lang": {
      -              "anyOf": [
      -                {
      -                  "maxLength": 35,
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "default": null,
      -              "description": "Present only when `name` is not English: its language (an xml:lang tag such as 'es'). Absent means English.",
      -              "title": "Name Lang"
      -            }
      -          },
      -          "required": [
      -            "id"
      -          ],
      -          "title": "AskCode",
      -          "type": "object"
      -        },
      -        "dimension": {
      -          "maxLength": 180,
      -          "title": "Dimension",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "dimension",
      -        "code",
      -        "alternatives_count",
      -        "aggregation"
      -      ],
      -      "title": "AskAbsentMatch",
      -      "type": "object"
      -    },
      -    "maxItems": 3,
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "description": "A code matched from the question that this dataflow does not publish\ndirectly, on one dimension or on any other that uses the same codelist,\nwhile it does publish a broader or narrower code of it there: the\nbest-matched such code. The request was still delivered; the codes it\nselects on that dimension are not an established substitute for this one.\nA code matched better still can be absent as well, with no broader or\nnarrower code there; the text note names it and this entry does not.",
      +      "properties": {
      +        "aggregation": {
      +          "description": "Whether the narrower alternatives add up to `code`, read from every alternative and not only those listed. `unknown`: additivity, disjointness and exhaustiveness are unproven. `plain_sum_invalid`: the values must not be added. `not_applicable`: no narrower code is available.",
      +          "enum": [
      +            "not_applicable",
      +            "unknown",
      +            "plain_sum_invalid"
      +          ],
      +          "title": "Aggregation",
      +          "type": "string"
      +        },
      +        "alternatives": {
      +          "description": "A preview of the broader or narrower codes of `code` that are directly available on this dimension. None is an established substitute; choosing one needs a new explicit selection (build_url).",
      +          "items": {
      +            "properties": {
      +              "id": {
      +                "maxLength": 180,
      +                "title": "Id",
      +                "type": "string"
      +              },
      +              "name": {
      +                "anyOf": [
      +                  {
      +                    "maxLength": 180,
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "default": null,
      +                "title": "Name"
      +              },
      +              "name_lang": {
      +                "anyOf": [
      +                  {
      +                    "maxLength": 35,
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "default": null,
      +                "description": "Present only when `name` is not English: its language (an xml:lang tag such as 'es'). Absent means English.",
      +                "title": "Name Lang"
      +              },
      +              "relation": {
      +                "description": "How this code, which is directly available on the dimension, relates to this entry's `code`: `broader_available` contains it, `narrower_available` is part of it.",
      +                "enum": [
      +                  "broader_available",
      +                  "narrower_available"
      +                ],
      +                "title": "Relation",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "relation"
      +            ],
      +            "title": "AskAlternativeCode",
      +            "type": "object"
      +          },
      +          "maxItems": 4,
      +          "title": "Alternatives",
      +          "type": "array"
      +        },
      +        "alternatives_count": {
      +          "description": "How many such alternatives were found and checked; a floor when `alternatives_truncated` is true.",
      +          "minimum": 0,
      +          "title": "Alternatives Count",
      +          "type": "integer"
      +        },
      +        "alternatives_truncated": {
      +          "anyOf": [
      +            {
      +              "type": "boolean"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "description": "True when `alternatives` lists fewer than exist, or the count is a floor.",
      +          "title": "Alternatives Truncated"
      +        },
      +        "code": {
      +          "description": "The code matched from the question that is not directly available.",
      +          "properties": {
      +            "id": {
      +              "maxLength": 180,
      +              "title": "Id",
      +              "type": "string"
      +            },
      +            "name": {
      +              "anyOf": [
      +                {
      +                  "maxLength": 180,
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null,
      +              "title": "Name"
      +            },
      +            "name_lang": {
      +              "anyOf": [
      +                {
      +                  "maxLength": 35,
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "default": null,
      +              "description": "Present only when `name` is not English: its language (an xml:lang tag such as 'es'). Absent means English.",
      +              "title": "Name Lang"
      +            }
      +          },
      +          "required": [
      +            "id"
      +          ],
      +          "title": "AskCode",
      +          "type": "object"
      +        },
      +        "dimension": {
      +          "maxLength": 180,
      +          "title": "Dimension",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "dimension",
      +        "code",
      +        "alternatives_count",
      +        "aggregation"
      +      ],
      +      "title": "AskAbsentMatch",
      +      "type": "object"
      +    },
      +    "maxItems": 3,
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / candidates / items / properties / agency / additionalProperties
      Removed value: -false
    • changedOutput schema / properties / candidates / items / properties / coverage / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "end": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "End"
      -      },
      -      "granularity": {
      -        "anyOf": [
      -          {
      -            "maxLength": 16,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Granularity"
      -      },
      -      "open_ended": {
      -        "anyOf": [
      -          {
      -            "type": "boolean"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Open Ended"
      -      },
      -      "start": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Start"
      -      },
      -      "updated": {
      -        "anyOf": [
      -          {
      -            "maxLength": 40,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Updated"
      -      }
      -    },
      -    "title": "AskCoverage",
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "end": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "End"
      +      },
      +      "granularity": {
      +        "anyOf": [
      +          {
      +            "maxLength": 16,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Granularity"
      +      },
      +      "open_ended": {
      +        "anyOf": [
      +          {
      +            "type": "boolean"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Open Ended"
      +      },
      +      "start": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Start"
      +      },
      +      "updated": {
      +        "anyOf": [
      +          {
      +            "maxLength": 40,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Updated"
      +      }
      +    },
      +    "title": "AskCoverage",
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / candidates / items / properties / dataflow / additionalProperties
      Removed value: -false
    • changedOutput schema / properties / candidates / items / properties / defaulted_dimensions / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "alternatives": {
      -          "items": {
      -            "maxLength": 180,
      -            "type": "string"
      -          },
      -          "maxItems": 30,
      -          "title": "Alternatives",
      -          "type": "array"
      -        },
      -        "alternatives_truncated": {
      -          "anyOf": [
      -            {
      -              "type": "boolean"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "title": "Alternatives Truncated"
      -        },
      -        "dimension": {
      -          "maxLength": 180,
      -          "title": "Dimension",
      -          "type": "string"
      -        },
      -        "reason": {
      -          "anyOf": [
      -            {
      -              "maxLength": 160,
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "title": "Reason"
      -        },
      -        "value": {
      -          "anyOf": [
      -            {
      -              "maxLength": 180,
      -              "type": "string"
      -            },
      -            {
      -              "items": {
      -                "maxLength": 180,
      -                "type": "string"
      -              },
      -              "type": "array"
      -            }
      -          ],
      -          "title": "Value"
      -        }
      -      },
      -      "required": [
      -        "dimension",
      -        "value"
      -      ],
      -      "title": "AskDefaultedDimension",
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "properties": {
      +        "alternatives": {
      +          "items": {
      +            "maxLength": 180,
      +            "type": "string"
      +          },
      +          "maxItems": 30,
      +          "title": "Alternatives",
      +          "type": "array"
      +        },
      +        "alternatives_truncated": {
      +          "anyOf": [
      +            {
      +              "type": "boolean"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Alternatives Truncated"
      +        },
      +        "dimension": {
      +          "maxLength": 180,
      +          "title": "Dimension",
      +          "type": "string"
      +        },
      +        "reason": {
      +          "anyOf": [
      +            {
      +              "maxLength": 160,
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Reason"
      +        },
      +        "value": {
      +          "anyOf": [
      +            {
      +              "maxLength": 180,
      +              "type": "string"
      +            },
      +            {
      +              "items": {
      +                "maxLength": 180,
      +                "type": "string"
      +              },
      +              "type": "array"
      +            }
      +          ],
      +          "title": "Value"
      +        }
      +      },
      +      "required": [
      +        "dimension",
      +        "value"
      +      ],
      +      "title": "AskDefaultedDimension",
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / candidates / items / properties / defaults_applied / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "description": "One server-chosen dimension, disclosed.\n\nBounded like every other provider-derived field: ``reason`` interpolates a\ncode NAME straight from the provider's codelist, so an unbounded one is an\nuntrusted string sitting in a field the degradation ladder deliberately\nnever drops. That combination overflowed the candidate budget by 8x on a\n100k-char name before this was a model.",
      -      "properties": {
      -        "codes": {
      -          "items": {
      -            "type": "string"
      -          },
      -          "maxItems": 6,
      -          "title": "Codes",
      -          "type": "array"
      -        },
      -        "dimension": {
      -          "maxLength": 180,
      -          "title": "Dimension",
      -          "type": "string"
      -        },
      -        "reason": {
      -          "anyOf": [
      -            {
      -              "maxLength": 160,
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "title": "Reason"
      -        }
      -      },
      -      "required": [
      -        "dimension"
      -      ],
      -      "title": "AskDefaultApplied",
      -      "type": "object"
      -    },
      -    "maxItems": 12,
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "description": "One server-chosen dimension, disclosed.\n\nBounded like every other provider-derived field: ``reason`` interpolates a\ncode NAME straight from the provider's codelist, so an unbounded one is an\nuntrusted string sitting in a field the degradation ladder deliberately\nnever drops. That combination overflowed the candidate budget by 8x on a\n100k-char name before this was a model.",
      +      "properties": {
      +        "codes": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "maxItems": 6,
      +          "title": "Codes",
      +          "type": "array"
      +        },
      +        "dimension": {
      +          "maxLength": 180,
      +          "title": "Dimension",
      +          "type": "string"
      +        },
      +        "reason": {
      +          "anyOf": [
      +            {
      +              "maxLength": 160,
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Reason"
      +        }
      +      },
      +      "required": [
      +        "dimension"
      +      ],
      +      "title": "AskDefaultApplied",
      +      "type": "object"
      +    },
      +    "maxItems": 12,
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / candidates / items / properties / dimensions / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "bound": {
      -          "enum": [
      -            "requested",
      -            "default",
      -            "all",
      -            "rejected"
      -          ],
      -          "title": "Bound",
      -          "type": "string"
      -        },
      -        "desc": {
      -          "anyOf": [
      -            {
      -              "maxLength": 400,
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "title": "Desc"
      -        },
      -        "examples": {
      -          "anyOf": [
      -            {
      -              "items": {
      -                "type": "string"
      -              },
      -              "maxItems": 5,
      -              "type": "array"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "title": "Examples"
      -        },
      -        "examples_lang": {
      -          "anyOf": [
      -            {
      -              "maxLength": 35,
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Present only when names in `examples` are not English: their language, or 'mul' when they mix languages. Absent means English.",
      -          "title": "Examples Lang"
      -        },
      -        "id": {
      -          "title": "Id",
      -          "type": "string"
      -        },
      -        "label": {
      -          "anyOf": [
      -            {
      -              "maxLength": 180,
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "title": "Label"
      -        },
      -        "label_lang": {
      -          "anyOf": [
      -            {
      -              "maxLength": 35,
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Present only when the publisher gives no English label: `label` is then in this language (an xml:lang tag such as 'es'). Absent means English.",
      -          "title": "Label Lang"
      -        },
      -        "n_codes": {
      -          "anyOf": [
      -            {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "title": "N Codes"
      -        },
      -        "reason": {
      -          "anyOf": [
      -            {
      -              "maxLength": 160,
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "title": "Reason"
      -        },
      -        "selected": {
      -          "anyOf": [
      -            {
      -              "items": {
      -                "type": "string"
      -              },
      -              "maxItems": 6,
      -              "type": "array"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "title": "Selected"
      -        },
      -        "selected_lang": {
      -          "anyOf": [
      -            {
      -              "maxLength": 35,
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "description": "Present only when names in `selected` are not English: their language, or 'mul' when they mix languages. Absent means English.",
      -          "title": "Selected Lang"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "bound"
      -      ],
      -      "title": "AskDimension",
      -      "type": "object"
      -    },
      -    "maxItems": 12,
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "properties": {
      +        "bound": {
      +          "enum": [
      +            "requested",
      +            "default",
      +            "all",
      +            "rejected"
      +          ],
      +          "title": "Bound",
      +          "type": "string"
      +        },
      +        "desc": {
      +          "anyOf": [
      +            {
      +              "maxLength": 400,
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Desc"
      +        },
      +        "examples": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "type": "string"
      +              },
      +              "maxItems": 5,
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Examples"
      +        },
      +        "examples_lang": {
      +          "anyOf": [
      +            {
      +              "maxLength": 35,
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "description": "Present only when names in `examples` are not English: their language, or 'mul' when they mix languages. Absent means English.",
      +          "title": "Examples Lang"
      +        },
      +        "id": {
      +          "title": "Id",
      +          "type": "string"
      +        },
      +        "label": {
      +          "anyOf": [
      +            {
      +              "maxLength": 180,
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Label"
      +        },
      +        "label_lang": {
      +          "anyOf": [
      +            {
      +              "maxLength": 35,
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "description": "Present only when the publisher gives no English label: `label` is then in this language (an xml:lang tag such as 'es'). Absent means English.",
      +          "title": "Label Lang"
      +        },
      +        "n_codes": {
      +          "anyOf": [
      +            {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "N Codes"
      +        },
      +        "reason": {
      +          "anyOf": [
      +            {
      +              "maxLength": 160,
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Reason"
      +        },
      +        "selected": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "type": "string"
      +              },
      +              "maxItems": 6,
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Selected"
      +        },
      +        "selected_lang": {
      +          "anyOf": [
      +            {
      +              "maxLength": 35,
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "description": "Present only when names in `selected` are not English: their language, or 'mul' when they mix languages. Absent means English.",
      +          "title": "Selected Lang"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "bound"
      +      ],
      +      "title": "AskDimension",
      +      "type": "object"
      +    },
      +    "maxItems": 12,
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / candidates / items / properties / docs / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "description": "The producer's own supporting page for the dataflow behind this answer. `name` and `kind` are the producer's own label and resource type.",
      -      "properties": {
      -        "kind": {
      -          "anyOf": [
      -            {
      -              "maxLength": 24,
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "title": "Kind"
      -        },
      -        "name": {
      -          "anyOf": [
      -            {
      -              "maxLength": 80,
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "title": "Name"
      -        },
      -        "origin": {
      -          "anyOf": [
      -            {
      -              "const": "derived",
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "title": "Origin"
      -        },
      -        "url": {
      -          "maxLength": 400,
      -          "title": "Url",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "url"
      -      ],
      -      "title": "AskDoc",
      -      "type": "object"
      -    },
      -    "maxItems": 2,
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "description": "The producer's own supporting page for the dataflow behind this answer. `name` and `kind` are the producer's own label and resource type.",
      +      "properties": {
      +        "kind": {
      +          "anyOf": [
      +            {
      +              "maxLength": 24,
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Kind"
      +        },
      +        "name": {
      +          "anyOf": [
      +            {
      +              "maxLength": 80,
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Name"
      +        },
      +        "origin": {
      +          "anyOf": [
      +            {
      +              "const": "derived",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Origin"
      +        },
      +        "url": {
      +          "maxLength": 400,
      +          "title": "Url",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "url"
      +      ],
      +      "title": "AskDoc",
      +      "type": "object"
      +    },
      +    "maxItems": 2,
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / candidates / items / properties / next / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "agency_id": {
      -        "title": "Agency Id",
      -        "type": "string"
      -      },
      -      "dataflow_id": {
      -        "title": "Dataflow Id",
      -        "type": "string"
      -      },
      -      "dimension_id": {
      -        "anyOf": [
      -          {
      -            "maxLength": 180,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Dimension Id"
      -      },
      -      "hint": {
      -        "anyOf": [
      -          {
      -            "maxLength": 300,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Hint"
      -      },
      -      "tool": {
      -        "enum": [
      -          "build_url",
      -          "inspect",
      -          "browse_dimension_codes"
      -        ],
      -        "title": "Tool",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "tool",
      -      "agency_id",
      -      "dataflow_id"
      -    ],
      -    "title": "AskNext",
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "agency_id": {
      +        "title": "Agency Id",
      +        "type": "string"
      +      },
      +      "dataflow_id": {
      +        "title": "Dataflow Id",
      +        "type": "string"
      +      },
      +      "dimension_id": {
      +        "anyOf": [
      +          {
      +            "maxLength": 180,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Dimension Id"
      +      },
      +      "hint": {
      +        "anyOf": [
      +          {
      +            "maxLength": 300,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Hint"
      +      },
      +      "tool": {
      +        "enum": [
      +          "build_url",
      +          "inspect",
      +          "browse_dimension_codes"
      +        ],
      +        "title": "Tool",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "tool",
      +      "agency_id",
      +      "dataflow_id"
      +    ],
      +    "title": "AskNext",
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / candidates / items / properties / volume / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "How much data this candidate's request would return (design §3.2(a)).\n\nEvery field is honest-unknown: an absent number means nobody could derive\nit, never that it is small. Floors stay on the factor that earned them —\n``series_is_lower_bound`` for a capped or partial series count,\n``periods_is_lower_bound`` for an open-ended window with no requested end —\nand never propagate to ``rows_estimate``, because a floor times a floor\nbounds rows only if every series has an observation in every period, and\nSDMX data is routinely sparse.",
      -    "properties": {
      -      "bytes_estimate": {
      -        "anyOf": [
      -          {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Bytes Estimate"
      -      },
      -      "fits_hosted_fetch": {
      -        "anyOf": [
      -          {
      -            "const": false,
      -            "type": "boolean"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Fits Hosted Fetch"
      -      },
      -      "hosted_fetch_blocker": {
      -        "anyOf": [
      -          {
      -            "enum": [
      -              "post_required",
      -              "part_limit_exceeded"
      -            ],
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Hosted Fetch Blocker"
      -      },
      -      "periods": {
      -        "anyOf": [
      -          {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Periods"
      -      },
      -      "periods_is_lower_bound": {
      -        "default": false,
      -        "title": "Periods Is Lower Bound",
      -        "type": "boolean"
      -      },
      -      "periods_kind": {
      -        "default": "unknown",
      -        "enum": [
      -          "coverage_window",
      -          "requested_window",
      -          "unknown"
      -        ],
      -        "title": "Periods Kind",
      -        "type": "string"
      -      },
      -      "rows_estimate": {
      -        "anyOf": [
      -          {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Rows Estimate"
      -      },
      -      "rows_estimate_kind": {
      -        "default": "unknown",
      -        "enum": [
      -          "observed_series",
      -          "estimated_series",
      -          "declared_obs_count",
      -          "unknown"
      -        ],
      -        "title": "Rows Estimate Kind",
      -        "type": "string"
      -      },
      -      "series": {
      -        "anyOf": [
      -          {
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "title": "Series"
      -      },
      -      "series_is_lower_bound": {
      -        "default": false,
      -        "title": "Series Is Lower Bound",
      -        "type": "boolean"
      -      },
      -      "series_kind": {
      -        "default": "unknown",
      -        "enum": [
      -          "observed",
      -          "marginal_estimate",
      -          "unknown"
      -        ],
      -        "title": "Series Kind",
      -        "type": "string"
      -      }
      -    },
      -    "title": "AskVolume",
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "How much data this candidate's request would return (design §3.2(a)).\n\nEvery field is honest-unknown: an absent number means nobody could derive\nit, never that it is small. Floors stay on the factor that earned them —\n``series_is_lower_bound`` for a capped or partial series count,\n``periods_is_lower_bound`` for an open-ended window with no requested end —\nand never propagate to ``rows_estimate``, because a floor times a floor\nbounds rows only if every series has an observation in every period, and\nSDMX data is routinely sparse.",
      +    "properties": {
      +      "bytes_estimate": {
      +        "anyOf": [
      +          {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Bytes Estimate"
      +      },
      +      "fits_hosted_fetch": {
      +        "anyOf": [
      +          {
      +            "const": false,
      +            "type": "boolean"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Fits Hosted Fetch"
      +      },
      +      "hosted_fetch_blocker": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "post_required",
      +              "part_limit_exceeded"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Hosted Fetch Blocker"
      +      },
      +      "periods": {
      +        "anyOf": [
      +          {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Periods"
      +      },
      +      "periods_is_lower_bound": {
      +        "default": false,
      +        "title": "Periods Is Lower Bound",
      +        "type": "boolean"
      +      },
      +      "periods_kind": {
      +        "default": "unknown",
      +        "enum": [
      +          "coverage_window",
      +          "requested_window",
      +          "unknown"
      +        ],
      +        "title": "Periods Kind",
      +        "type": "string"
      +      },
      +      "rows_estimate": {
      +        "anyOf": [
      +          {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Rows Estimate"
      +      },
      +      "rows_estimate_kind": {
      +        "default": "unknown",
      +        "enum": [
      +          "observed_series",
      +          "estimated_series",
      +          "declared_obs_count",
      +          "unknown"
      +        ],
      +        "title": "Rows Estimate Kind",
      +        "type": "string"
      +      },
      +      "series": {
      +        "anyOf": [
      +          {
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "Series"
      +      },
      +      "series_is_lower_bound": {
      +        "default": false,
      +        "title": "Series Is Lower Bound",
      +        "type": "boolean"
      +      },
      +      "series_kind": {
      +        "default": "unknown",
      +        "enum": [
      +          "observed",
      +          "marginal_estimate",
      +          "unknown"
      +        ],
      +        "title": "Series Kind",
      +        "type": "string"
      +      }
      +    },
      +    "title": "AskVolume",
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / download_plans / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / download_plans / items / properties / assembly / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / download_plans / items / properties / requests / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / download_plans / items / properties / safety / additionalProperties
      Removed value: -false
  2. Changed2 schema fields changed
    • addedOutput schema / properties / candidates / items / properties / absent_matches
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "additionalProperties": false,
      +        "description": "A code matched from the question that this dataflow does not publish\ndirectly, on one dimension or on any other that uses the same codelist,\nwhile it does publish a broader or narrower code of it there: the\nbest-matched such code. The request was still delivered; the codes it\nselects on that dimension are not an established substitute for this one.\nA code matched better still can be absent as well, with no broader or\nnarrower code there; the text note names it and this entry does not.",
      +        "properties": {
      +          "aggregation": {
      +            "description": "Whether the narrower alternatives add up to `code`, read from every alternative and not only those listed. `unknown`: additivity, disjointness and exhaustiveness are unproven. `plain_sum_invalid`: the values must not be added. `not_applicable`: no narrower code is available.",
      +            "enum": [
      +              "not_applicable",
      +              "unknown",
      +              "plain_sum_invalid"
      +            ],
      +            "title": "Aggregation",
      +            "type": "string"
      +          },
      +          "alternatives": {
      +            "description": "A preview of the broader or narrower codes of `code` that are directly available on this dimension. None is an established substitute; choosing one needs a new explicit selection (build_url).",
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "id": {
      +                  "maxLength": 180,
      +                  "title": "Id",
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "anyOf": [
      +                    {
      +                      "maxLength": 180,
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "default": null,
      +                  "title": "Name"
      +                },
      +                "name_lang": {
      +                  "anyOf": [
      +                    {
      +                      "maxLength": 35,
      +                      "type": "string"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "default": null,
      +                  "description": "Present only when `name` is not English: its language (an xml:lang tag such as 'es'). Absent means English.",
      +                  "title": "Name Lang"
      +                },
      +                "relation": {
      +                  "description": "How this code, which is directly available on the dimension, relates to this entry's `code`: `broader_available` contains it, `narrower_available` is part of it.",
      +                  "enum": [
      +                    "broader_available",
      +                    "narrower_available"
      +                  ],
      +                  "title": "Relation",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "relation"
      +              ],
      +              "title": "AskAlternativeCode",
      +              "type": "object"
      +            },
      +            "maxItems": 4,
      +            "title": "Alternatives",
      +            "type": "array"
      +          },
      +          "alternatives_count": {
      +            "description": "How many such alternatives were found and checked; a floor when `alternatives_truncated` is true.",
      +            "minimum": 0,
      +            "title": "Alternatives Count",
      +            "type": "integer"
      +          },
      +          "alternatives_truncated": {
      +            "anyOf": [
      +              {
      +                "type": "boolean"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "description": "True when `alternatives` lists fewer than exist, or the count is a floor.",
      +            "title": "Alternatives Truncated"
      +          },
      +          "code": {
      +            "additionalProperties": false,
      +            "description": "The code matched from the question that is not directly available.",
      +            "properties": {
      +              "id": {
      +                "maxLength": 180,
      +                "title": "Id",
      +                "type": "string"
      +              },
      +              "name": {
      +                "anyOf": [
      +                  {
      +                    "maxLength": 180,
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "default": null,
      +                "title": "Name"
      +              },
      +              "name_lang": {
      +                "anyOf": [
      +                  {
      +                    "maxLength": 35,
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "default": null,
      +                "description": "Present only when `name` is not English: its language (an xml:lang tag such as 'es'). Absent means English.",
      +                "title": "Name Lang"
      +              }
      +            },
      +            "required": [
      +              "id"
      +            ],
      +            "title": "AskCode",
      +            "type": "object"
      +          },
      +          "dimension": {
      +            "maxLength": 180,
      +            "title": "Dimension",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "dimension",
      +          "code",
      +          "alternatives_count",
      +          "aggregation"
      +        ],
      +        "title": "AskAbsentMatch",
      +        "type": "object"
      +      },
      +      "maxItems": 3,
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Present only when a request was delivered and a code matched from the question is one this dataflow does not publish directly, while a broader or narrower code of it is. One entry for the best-matched such code on a dimension. The codes the request selects on that dimension are not an established substitute for it.",
      +  "title": "Absent Matches"
      +}
    • addedOutput schema / properties / candidates / items / properties / absent_matches_truncated
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "True when there are more such codes than `absent_matches` lists.",
      +  "title": "Absent Matches Truncated"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / properties / candidates / items / properties / dimensions / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "bound": {
      -          "enum": [
      -            "requested",
      -            "default",
      -            "all",
      -            "rejected"
      -          ],
      -          "title": "Bound",
      -          "type": "string"
      -        },
      -        "desc": {
      -          "anyOf": [
      -            {
      -              "maxLength": 400,
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "title": "Desc"
      -        },
      -        "examples": {
      -          "anyOf": [
      -            {
      -              "items": {
      -                "type": "string"
      -              },
      -              "maxItems": 5,
      -              "type": "array"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "title": "Examples"
      -        },
      -        "id": {
      -          "title": "Id",
      -          "type": "string"
      -        },
      -        "label": {
      -          "anyOf": [
      -            {
      -              "maxLength": 180,
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "title": "Label"
      -        },
      -        "n_codes": {
      -          "anyOf": [
      -            {
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "title": "N Codes"
      -        },
      -        "reason": {
      -          "anyOf": [
      -            {
      -              "maxLength": 160,
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "title": "Reason"
      -        },
      -        "selected": {
      -          "anyOf": [
      -            {
      -              "items": {
      -                "type": "string"
      -              },
      -              "maxItems": 6,
      -              "type": "array"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null,
      -          "title": "Selected"
      -        }
      -      },
      -      "required": [
      -        "id",
      -        "bound"
      -      ],
      -      "title": "AskDimension",
      -      "type": "object"
      -    },
      -    "maxItems": 12,
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "bound": {
      +          "enum": [
      +            "requested",
      +            "default",
      +            "all",
      +            "rejected"
      +          ],
      +          "title": "Bound",
      +          "type": "string"
      +        },
      +        "desc": {
      +          "anyOf": [
      +            {
      +              "maxLength": 400,
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Desc"
      +        },
      +        "examples": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "type": "string"
      +              },
      +              "maxItems": 5,
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Examples"
      +        },
      +        "examples_lang": {
      +          "anyOf": [
      +            {
      +              "maxLength": 35,
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "description": "Present only when names in `examples` are not English: their language, or 'mul' when they mix languages. Absent means English.",
      +          "title": "Examples Lang"
      +        },
      +        "id": {
      +          "title": "Id",
      +          "type": "string"
      +        },
      +        "label": {
      +          "anyOf": [
      +            {
      +              "maxLength": 180,
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Label"
      +        },
      +        "label_lang": {
      +          "anyOf": [
      +            {
      +              "maxLength": 35,
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "description": "Present only when the publisher gives no English label: `label` is then in this language (an xml:lang tag such as 'es'). Absent means English.",
      +          "title": "Label Lang"
      +        },
      +        "n_codes": {
      +          "anyOf": [
      +            {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "N Codes"
      +        },
      +        "reason": {
      +          "anyOf": [
      +            {
      +              "maxLength": 160,
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Reason"
      +        },
      +        "selected": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "type": "string"
      +              },
      +              "maxItems": 6,
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "title": "Selected"
      +        },
      +        "selected_lang": {
      +          "anyOf": [
      +            {
      +              "maxLength": 35,
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "description": "Present only when names in `selected` are not English: their language, or 'mul' when they mix languages. Absent means English.",
      +          "title": "Selected Lang"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "bound"
      +      ],
      +      "title": "AskDimension",
      +      "type": "object"
      +    },
      +    "maxItems": 12,
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  4. Changed1 schema field changed
    • addedOutput schema / properties / candidates / items / properties / dataflow / properties / name_lang
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 35,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Name Lang"
      +}
  5. Changed6 schema fields changed
    • changedInput schema / properties / labels / description
      Previous value: -"Request the provider's labelled CSV (default True) — adds a\nhuman-readable name column beside every coded column on the 14\nendpoints with a verified labelled spelling, and degrades silently to\nplain CSV elsewhere. Set False for a smaller download (labelled rows\nare roughly 2-4x the bytes)."New value: +"Request the provider's labelled CSV (default True) — adds a\nhuman-readable name column beside every coded column on the 14\nendpoints with a verified labelled spelling; reports labels_applied=false\nwhen falling back to plain CSV elsewhere. Set False for a smaller download\n(labelled rows are roughly 2-4x the bytes)."
    • addedOutput schema / properties / candidates / items / properties / defaulted_dimensions
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "alternatives": {
      +            "items": {
      +              "maxLength": 180,
      +              "type": "string"
      +            },
      +            "maxItems": 30,
      +            "title": "Alternatives",
      +            "type": "array"
      +          },
      +          "alternatives_truncated": {
      +            "anyOf": [
      +              {
      +                "type": "boolean"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Alternatives Truncated"
      +          },
      +          "dimension": {
      +            "maxLength": 180,
      +            "title": "Dimension",
      +            "type": "string"
      +          },
      +          "reason": {
      +            "anyOf": [
      +              {
      +                "maxLength": 160,
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Reason"
      +          },
      +          "value": {
      +            "anyOf": [
      +              {
      +                "maxLength": 180,
      +                "type": "string"
      +              },
      +              {
      +                "items": {
      +                  "maxLength": 180,
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              }
      +            ],
      +            "title": "Value"
      +          }
      +        },
      +        "required": [
      +          "dimension",
      +          "value"
      +        ],
      +        "title": "AskDefaultedDimension",
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Defaulted Dimensions"
      +}
    • addedOutput schema / properties / candidates / items / properties / defaulted_dimensions_truncated
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Defaulted Dimensions Truncated"
      +}
    • addedOutput schema / properties / candidates / items / properties / docs
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "additionalProperties": false,
      +        "description": "The producer's own supporting page for the dataflow behind this answer. `name` and `kind` are the producer's own label and resource type.",
      +        "properties": {
      +          "kind": {
      +            "anyOf": [
      +              {
      +                "maxLength": 24,
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Kind"
      +          },
      +          "name": {
      +            "anyOf": [
      +              {
      +                "maxLength": 80,
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Name"
      +          },
      +          "origin": {
      +            "anyOf": [
      +              {
      +                "const": "derived",
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "default": null,
      +            "title": "Origin"
      +          },
      +          "url": {
      +            "maxLength": 400,
      +            "title": "Url",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "url"
      +        ],
      +        "title": "AskDoc",
      +        "type": "object"
      +      },
      +      "maxItems": 2,
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Docs"
      +}
    • addedOutput schema / properties / candidates / items / properties / labels_applied
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Labels Applied"
      +}
    • addedOutput schema / properties / candidates / items / properties / labels_reason
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Labels Reason"
      +}
  6. Changed1 schema field changed
    • addedOutput schema / properties / candidates / items / properties / period_calendar
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "gregorian",
      +        "buddhist"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Period Calendar"
      +}
  7. Changed17 schema fields changed
    • addedInput schema / properties / agencies / description
      Added value: +"Optional agency filter (e.g., [\"ESTAT\", \"OECD\"])"
    • addedInput schema / properties / cross_source / description
      Added value: +"If True, find structurally analogous dataflows in other agencies\n(>= 50% shared dimension concepts). Adds an extra graph query per candidate."
    • addedInput schema / properties / currency / description
      Added value: +"Optional currency slot — the currency the question is about\n(e.g. [\"euro\"], [\"USD\"], [\"yen\"]). NOT for geographic phrases like\n\"euro area\". Resolved to per-agency currency codes and used to\npromote candidates whose confirmed (Actual) data carries that\ncurrency, demote those that provably do not, and pre-fill the\ncurrency dimension in built URLs."
    • addedInput schema / properties / debug / description
      Added value: +"Append a per-stage telemetry breakdown to the response (only\npopulated when GSDMX2_MCP_TELEMETRY is enabled). Off by default."
    • addedInput schema / properties / geography / description
      Added value: +"Optional geography slot — country/region/world names the question is\nabout (e.g. [\"Australia\"], [\"European Union\"], [\"world\"]). Supplied by the\nclient; resolved to ISO alpha-2 and used to demote wrong-geography\ncandidates in ranking. Does NOT become a hard agency filter or a URL filter."
    • addedInput schema / properties / keywords / description
      Added value: +"Optional keyword overrides for graph search (auto-extracted if omitted)"
    • addedInput schema / properties / labels / description
      Added value: +"Request the provider's labelled CSV (default True) — adds a\nhuman-readable name column beside every coded column on the 14\nendpoints with a verified labelled spelling, and degrades silently to\nplain CSV elsewhere. Set False for a smaller download (labelled rows\nare roughly 2-4x the bytes)."
    • addedInput schema / properties / language / description
      Added value: +"ISO language code (default \"en\")"
    • addedInput schema / properties / precision / description
      Added value: +"URL breadth — \"point\" (one observation's series), \"series\"\n(default: headline defaults for unfilled dimensions), or \"cube\"\n(full constraint enumeration, the historical behaviour)."
    • addedInput schema / properties / product / description
      Added value: +"Optional product/commodity slot — the good the question is about\n(e.g. [\"wheat\"], [\"copper\"], [\"crude oil\"]). Resolved to per-agency\ncommodity codes (HS/SITC/custom) with the same\npromote/demote/URL-fill semantics as currency."
    • addedInput schema / properties / question / description
      Added value: +"Natural language question about statistical data"
    • addedInput schema / properties / scalar / description
      Added value: +"Set True when the question wants a single value (one observation) rather\nthan a series/table. Defaults precision to \"point\" unless precision is given."
    • addedInput schema / properties / strict_time / description
      Added value: +"If True and time_range is set, drop candidates whose\nmaterialized coverage is provably disjoint from the requested window\n(candidates without a coverage record are always kept). Off by\ndefault — the coverage-overlap ranking demotes disjoint hits but\nstill lists them."
    • addedInput schema / properties / time_range / description
      Added value: +"Optional time filter (e.g., \"2020-2024\", \"since 2015\", \"last 5 years\")"
    • addedInput schema / properties / top_n / description
      Added value: +"Number of top candidates to build URLs for (default 5)"
    • addedInput schema / properties / topic / description
      Added value: +"Optional subject/metric of the question (e.g. \"child labour\", \"GDP\").\nSharpens keyword + parser ranking signals; the free-text question is still\nwhat gets embedded."
    • changedInput schema / properties / user_country / description
      Previous value: -"The country the USER is in. Pass only when the user has stated where they are; never infer it from the question. This is not the geography the question is about — that is `geography`. Used to prefer data covering the user's country when the question names no geography of its own."New value: +"The country the USER is in (e.g. \"New Zealand\"). Pass only when the user has stated where they are; never infer it from the question. This is not the geography the question is about — that is `geography`. Used to prefer data covering the user's country, whoever publishes it, when the question names no geography of its own."
  8. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover read-only, open-world, and idempotency, yet the description adds substantial non-obvious behavior: no observations are fetched, candidates carry per-dimension detail so no follow-up inspect is needed, trimmed lists name the tool showing the remainder, and url is absent for POST/fan-out plans where download_plans[] is the real contract. The safety block (HTTPS-only including redirects, byte/redirect/timeout and aggregate bounds, archive validation, never eval'ing url/headers/body, keeping response bytes out of context) is behavior an agent could not infer from the annotations. It stops short of 5 only because the multi-part fan-out contract is described at a level of abstraction that leaves assembly details to the output schema.

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

Conciseness4/5

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

Front-loaded with purpose and usage before behavior and safety, which is the right order for a 17-parameter tool. It is long but mostly earns its length on a genuinely complex tool; the main waste is the labels byte-cost warning, which duplicates the schema's parameter description almost verbatim, plus a slightly sprawling safety paragraph.

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

Completeness5/5

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

An output schema exists, so return values needn't be spelled out, yet the description still explains what a candidate contains (agency/dataflow names, coverage window, one row per dimension, next, and what trimmed lists mean) precisely because that determines whether the agent must call inspect. Combined with the execution-safety contract and the non-terminal-result rule, nothing an agent needs to call this correctly and act on its output is missing.

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

Parameters3/5

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

Schema description coverage is 100% across all 17 parameters, so the schema already carries the per-parameter meaning and the enum for precision. The description's only real parameter contribution is the operational consequence of labels (labelled rows run ~2-4x the plain bytes and can blow the per-request ceiling, so pass labels=False), which largely restates the schema's own labels text. Baseline 3 is appropriate.

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

Purpose5/5

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

States a specific verb pair and resource: 'Find the best datasets for a question and prepare exact source requests.' It also carves out the boundary against the adjacent tools ('does NOT fetch observations') and against 'inspect' ('enough to choose between candidates without a follow-up inspect'), so the agent can place it in the discover -> inspect -> ask -> download workflow without opening a schema.

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

Usage Guidelines5/5

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

Gives an explicit trigger ('Use this when the user wants actual data values') with two concrete example questions, plus a named workflow line that orders it relative to discover, inspect, and direct download. It goes further than most by stating how to treat the result ('treat client_download_required and answer_ready=false as non-terminal: execute the exact plan client-side') and what a rejected selection or a zero-row parse does and does not license.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources