Skip to main content
Glama

Search Eurostat Datasets

eurostat_search_datasets
Read-onlyIdempotent

Search the Eurostat catalogue by keyword for dataset codes, with labels, period coverage and theme breadcrumbs; datasets and predefined tables only, no folders. Pass a code to eurostat_get_dataset_info, then eurostat_query_dataset for a slice or eurostat_download_dataset for the whole dataset. The catalogue joins the dissemination table of contents with the Comext host's dataflow list, which adds the DS-* collections (detailed trade by CN8, HS, SITC, BEC and CPA, and PRODCOM); Comext entries report a last-update date but no period coverage or observation count. A collection on neither list, such as the legacy PRODCOM DS-056120, is not disseminated and cannot be reached.

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": {
      "query": "<query>"
    },
    "name": "eurostat_search_datasets"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoDatasets per page, default 20; values above 100 clamp to 100 with a notice. Fixed by the first call and ignored with cursor.
queryYesSearch words, at least one. Every word must match, in any order and ignoring case, somewhere in the dataset label, theme breadcrumb or code. Spacing beside punctuation in the catalogue is ignored ("Rev.2" finds "Rev. 2"); a word keeps its own punctuation ("R&D", "DS-045409"). When no dataset holds every word, a query of up to 10 distinct words is searched again, each word a dataset lacks also matching at the start of a word in the English label of one of its dimension values (time excluded); those rows carry matchedValues. When nothing matches, the error names the words to drop.
cursorNoOpaque nextCursor from the previous page; omit for the first. Bound to its query and to the catalogue snapshot that issued it: sent with another query, or after the catalogue refreshes, it is rejected.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
queryNoSearch terms as submitted.
noticeNoSays when results came through dimension value labels, and names any part of the catalogue missing from this answer and what to do about it.
datasetsNoThis page of matches, up to limit, ordered: the query as a phrase from the start of a label word, then a label or code holding every word, then a match only through the theme breadcrumb; table-of-contents order within each group. Rows with matchedValues come by fewest words found only in value labels, then one value's label carrying all of them, then the groups above.
nextStepNoSuggested next call, when one is clear.
truncatedNoTrue when more matches follow; pass nextCursor as cursor for them.
nextCursorNoCursor for the next page. Omitted on the last page.
totalMatchesNoDistinct datasets matching across all pages.
catalogueLoadedAtNoWhen the catalogue that answered was loaded (ISO 8601); present only when a failed refresh left that older copy in service.
comextListMissingNoTrue when the Comext dataflow list could not be loaded, so the DS-* collections were not searched and totalMatches counts the table of contents alone. Omitted otherwise.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed25 schema fields changed
    • changedInput schema / properties / cursor / description
      Previous value: -"Opaque pagination cursor from a previous call's nextCursor. Omit for the first page; pass it back — with the same query — to fetch the next page of matches over a stable order. A cursor is bound to the query that produced it and to the catalogue snapshot in effect at that time, so reusing one with a different query, or after the catalogue refreshes, is rejected rather than silently paging a different result set."New value: +"Opaque nextCursor from the previous page; omit for the first. Bound to its query and to the catalogue snapshot that issued it: sent with another query, or after the catalogue refreshes, it is rejected."
    • changedInput schema / properties / limit / description
      Previous value: -"Page size — maximum datasets returned per page. Default 20; positive integers above 100 are clamped to 100 with a notice. To retrieve matches beyond one page, pass the returned nextCursor back as cursor; the page size is fixed by this first call and limit is ignored on cursor calls."New value: +"Datasets per page, default 20; values above 100 clamp to 100 with a notice. Fixed by the first call and ignored with cursor."
    • changedInput schema / properties / query / description
      Previous value: -"Search terms — at least one non-whitespace token is required. Split on whitespace into tokens; every token must match (AND), case-insensitively, somewhere across the dataset label, theme breadcrumb, or code. Spacing beside punctuation in the catalogue is ignored, so \"Rev.2\" also finds \"Rev. 2\" and \"2015=100\" finds \"2015 = 100\"; a token keeps its own punctuation, as in \"R&D\", \"non-EU\", or \"DS-045409\". Word order does not matter, so \"business demography NUTS 3\" or \"regional economic accounts\" resolve without naming a label verbatim. When no dataset holds every token, a query of up to 10 distinct tokens is searched again with each token a dataset lacks also matching where it begins a word of the English label of one of its dimension values: \"pharmacist\" finds \"Pharmacists\" (med_spec=PHARM), \"sex\" does not find \"Essex\". When nothing matches, the error names each word whose removal alone would find matches or, when no single removal would and both catalogue sources were searched, the words that match no dataset label, theme breadcrumb, or code, and says when dimension value labels were not searched."New value: +"Search words, at least one. Every word must match, in any order and ignoring case, somewhere in the dataset label, theme breadcrumb or code. Spacing beside punctuation in the catalogue is ignored (\"Rev.2\" finds \"Rev. 2\"); a word keeps its own punctuation (\"R&D\", \"DS-045409\"). When no dataset holds every word, a query of up to 10 distinct words is searched again, each word a dataset lacks also matching at the start of a word in the English label of one of its dimension values (time excluded); those rows carry matchedValues. When nothing matches, the error names the words to drop."
    • changedOutput schema / properties / catalogueLoadedAt / description
      Previous value: -"When the catalogue that answered was loaded (ISO 8601). Present only when a refresh failed and that older copy is still in service; omitted otherwise."New value: +"When the catalogue that answered was loaded (ISO 8601); present only when a failed refresh left that older copy in service."
    • changedOutput schema / properties / comextListMissing / description
      Previous value: -"True when the Comext dataflow list could not be loaded, so the DS-* collections (detailed trade and PRODCOM) were not searched and totalMatches counts the dissemination table of contents alone. Omitted when both sources were searched."New value: +"True when the Comext dataflow list could not be loaded, so the DS-* collections were not searched and totalMatches counts the table of contents alone. Omitted otherwise."
    • changedOutput schema / properties / datasets / description
      Previous value: -"Matching datasets for the current page, up to the requested limit. Ordered first by label phrase matches (the query as a phrase beginning at the start of a word of the label), then datasets whose label or code holds every word, then datasets that match a word only through their theme breadcrumb; table-of-contents order within each group. Rows matched through dimension values (each carrying matchedValues) are ordered by fewer words found only in value labels, then datasets where one value's label carries all of those words, then the groups above over the words the dataset's own text holds, then table-of-contents order."New value: +"This page of matches, up to limit, ordered: the query as a phrase from the start of a label word, then a label or code holding every word, then a match only through the theme breadcrumb; table-of-contents order within each group. Rows with matchedValues come by fewest words found only in value labels, then one value's label carrying all of them, then the groups above."
    • changedOutput schema / properties / datasets / items / properties / code / description
      Previous value: -"Dataset code (e.g., \"nama_10_gdp\"). Use this in eurostat_get_dataset_info, eurostat_query_dataset, and eurostat_download_dataset."New value: +"Dataset code (e.g., \"nama_10_gdp\") for eurostat_get_dataset_info, eurostat_query_dataset and eurostat_download_dataset."
    • changedOutput schema / properties / datasets / items / properties / dataEnd / description
      Previous value: -"Most recent data period available (e.g., \"2025\"). Omitted when not reported by Eurostat."New value: +"Latest period (e.g., \"2025\"); omitted when not reported."
    • changedOutput schema / properties / datasets / items / properties / dataStart / description
      Previous value: -"Earliest data period available (e.g., \"1975\"). Omitted when not reported by Eurostat."New value: +"Earliest period (e.g., \"1975\"); omitted when not reported."
    • changedOutput schema / properties / datasets / items / properties / label / description
      Previous value: -"Human-readable dataset title."New value: +"Dataset title."
    • changedOutput schema / properties / datasets / items / properties / lastUpdated / description
      Previous value: -"Date of last data update (e.g., \"22.05.2026\"). Omitted when not reported."New value: +"Date of the last data update (e.g., \"22.05.2026\"); omitted when not reported."
    • changedOutput schema / properties / datasets / items / properties / matchedValues / description
      Previous value: -"Present only when no dataset's label, theme breadcrumb, or code holds every query word: this dataset's dimension values whose English labels carry the words its own text lacks, those carrying the most of the words first and then in Eurostat's metabase order, each value once. Omitted on every other search."New value: +"Only when no dataset's own text holds every query word: this dataset's dimension values whose labels carry the words its text lacks, those carrying the most words first, then in Eurostat's order."
    • changedOutput schema / properties / datasets / items / properties / matchedValues / items / description
      Previous value: -"A dimension value of this dataset whose label carries a query word."New value: +"A dimension value whose label carries a query word."
    • changedOutput schema / properties / datasets / items / properties / matchedValues / items / properties / code / description
      Previous value: -"The value's code (e.g., \"PHARM\") — the value in eurostat_query_dataset filters."New value: +"Value code (e.g., \"PHARM\"), the value in those filters."
    • changedOutput schema / properties / datasets / items / properties / matchedValues / items / properties / dimension / description
      Previous value: -"Dimension the value belongs to (e.g., \"med_spec\") — the key in eurostat_query_dataset filters."New value: +"Dimension code (e.g., \"med_spec\"), the key in eurostat_query_dataset filters."
    • changedOutput schema / properties / datasets / items / properties / matchedValues / items / properties / label / description
      Previous value: -"The value's English label, which holds a query word at the start of a word."New value: +"The value's English label."
    • changedOutput schema / properties / datasets / items / properties / obsCount / description
      Previous value: -"Approximate number of observations. Omitted when not reported by Eurostat."New value: +"Approximate observation count; omitted when not reported."
    • changedOutput schema / properties / datasets / items / properties / themePath / description
      Previous value: -"Breadcrumb path from root theme to this dataset (e.g., [\"Database by themes\", \"Economy and finance\"]). Eurostat files some datasets under several branches; this is the first branch that matched the query. Empty for top-level entries."New value: +"Breadcrumb from the root theme to this dataset; for a dataset filed under several branches, the first that matched. Empty for top-level entries."
    • changedOutput schema / properties / datasets / items / properties / type / description
      Previous value: -"Entry type: \"dataset\" for standard datasets, \"table\" for predefined tables."New value: +"Entry type: \"dataset\", or \"table\" for a predefined table."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `no_match`: No datasets matched the query string — including a query naming a DS-* code that neither the dissemination table of contents nor the Comext dataflow list carries, which is a collection Eurostat does not disseminate, and any query while the Comext dataflow list cannot be loaded and only the table of contents is searched. `invalid_cursor`: The cursor is malformed, came from a different query, or came from a catalogue snapshot — or, for results matched through dimension values, a value index — that has since refreshed. `upstream_fault`: The server had no catalogue loaded yet, and Eurostat's table of contents answered HTTP 501, which is not retried, or a 4xx status other than 408 and 429, which its URL carries no caller input to cause; or it answered HTTP 408, HTTP 429 or another HTTP 5xx, or could not be reached on every retry, which the error marks retryable. Once a catalogue is loaded, a failed refresh serves that copy instead. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `no_match`: No dataset matched the query. A DS-* code on neither catalogue list is not disseminated; while the Comext list cannot be loaded, only the table of contents is searched. `invalid_cursor`: The cursor is malformed, came from another query, or predates a catalogue or value-index refresh. `upstream_fault`: No catalogue was loaded yet and Eurostat's table of contents could not be read: marked retryable after a timeout, rate limit, server error or unreachable host on every retry, not after a refusal Eurostat would repeat. Once a catalogue is loaded, a failed refresh serves that copy instead. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / nextCursor / description
      Previous value: -"Opaque cursor for the next page of matches. Pass it back as cursor with the same query; it stops working once the catalogue refreshes. Omitted on the last page."New value: +"Cursor for the next page. Omitted on the last page."
    • changedOutput schema / properties / nextStep / description
      Previous value: -"Suggested next action based on these results. Populated when there is a clear follow-up call."New value: +"Suggested next call, when one is clear."
    • changedOutput schema / properties / notice / description
      Previous value: -"Says when the results came through dimension value labels, and names each part of the catalogue this answer is missing — the Comext collections, or updates since a refresh failed — and what to do about it. Omitted when the whole catalogue answered through its own text."New value: +"Says when results came through dimension value labels, and names any part of the catalogue missing from this answer and what to do about it."
    • changedOutput schema / properties / totalMatches / description
      Previous value: -"Total distinct dataset codes matching the query across all pages, before the page limit."New value: +"Distinct datasets matching across all pages."
    • changedOutput schema / properties / truncated / description
      Previous value: -"True when more matches remain beyond this page — pass nextCursor as cursor to fetch them."New value: +"True when more matches follow; pass nextCursor as cursor for them."
  2. Changed5 schema fields changed
    • changedInput schema / properties / query / description
      Previous value: -"Search terms — at least one non-whitespace token is required. Split on whitespace into tokens; every token must match (AND), case-insensitively, somewhere across the dataset label, theme breadcrumb, or code. Spacing beside punctuation in the catalogue is ignored, so \"Rev.2\" also finds \"Rev. 2\" and \"2015=100\" finds \"2015 = 100\"; a token keeps its own punctuation, as in \"R&D\", \"non-EU\", or \"DS-045409\". Word order does not matter, so \"business demography NUTS 3\" or \"regional economic accounts\" resolve without naming a label verbatim. When nothing matches, the error names each word whose removal alone would find matches or, when no single removal would and both catalogue sources were searched, the words that match no dataset label, theme breadcrumb, or code."New value: +"Search terms — at least one non-whitespace token is required. Split on whitespace into tokens; every token must match (AND), case-insensitively, somewhere across the dataset label, theme breadcrumb, or code. Spacing beside punctuation in the catalogue is ignored, so \"Rev.2\" also finds \"Rev. 2\" and \"2015=100\" finds \"2015 = 100\"; a token keeps its own punctuation, as in \"R&D\", \"non-EU\", or \"DS-045409\". Word order does not matter, so \"business demography NUTS 3\" or \"regional economic accounts\" resolve without naming a label verbatim. When no dataset holds every token, a query of up to 10 distinct tokens is searched again with each token a dataset lacks also matching where it begins a word of the English label of one of its dimension values: \"pharmacist\" finds \"Pharmacists\" (med_spec=PHARM), \"sex\" does not find \"Essex\". When nothing matches, the error names each word whose removal alone would find matches or, when no single removal would and both catalogue sources were searched, the words that match no dataset label, theme breadcrumb, or code, and says when dimension value labels were not searched."
    • changedOutput schema / properties / datasets / description
      Previous value: -"Matching datasets for the current page, up to the requested limit."New value: +"Matching datasets for the current page, up to the requested limit. Ordered first by label phrase matches (the query as a phrase beginning at the start of a word of the label), then datasets whose label or code holds every word, then datasets that match a word only through their theme breadcrumb; table-of-contents order within each group. Rows matched through dimension values (each carrying matchedValues) are ordered by fewer words found only in value labels, then datasets where one value's label carries all of those words, then the groups above over the words the dataset's own text holds, then table-of-contents order."
    • addedOutput schema / properties / datasets / items / properties / matchedValues
      Added value: +{
      +  "description": "Present only when no dataset's label, theme breadcrumb, or code holds every query word: this dataset's dimension values whose English labels carry the words its own text lacks, those carrying the most of the words first and then in Eurostat's metabase order, each value once. Omitted on every other search.",
      +  "items": {
      +    "additionalProperties": false,
      +    "description": "A dimension value of this dataset whose label carries a query word.",
      +    "properties": {
      +      "code": {
      +        "description": "The value's code (e.g., \"PHARM\") — the value in eurostat_query_dataset filters.",
      +        "type": "string"
      +      },
      +      "dimension": {
      +        "description": "Dimension the value belongs to (e.g., \"med_spec\") — the key in eurostat_query_dataset filters.",
      +        "type": "string"
      +      },
      +      "label": {
      +        "description": "The value's English label, which holds a query word at the start of a word.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "dimension",
      +      "code",
      +      "label"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `no_match`: No datasets matched the query string — including a query naming a DS-* code that neither the dissemination table of contents nor the Comext dataflow list carries, which is a collection Eurostat does not disseminate, and any query while the Comext dataflow list cannot be loaded and only the table of contents is searched. `invalid_cursor`: The cursor is malformed, came from a different query, or came from a catalogue snapshot that has since refreshed. `upstream_fault`: The server had no catalogue loaded yet, and Eurostat's table of contents answered HTTP 501, which is not retried; or it answered another HTTP 5xx or could not be reached on every retry, which the error marks retryable. Once a catalogue is loaded, a failed refresh serves that copy instead. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `no_match`: No datasets matched the query string — including a query naming a DS-* code that neither the dissemination table of contents nor the Comext dataflow list carries, which is a collection Eurostat does not disseminate, and any query while the Comext dataflow list cannot be loaded and only the table of contents is searched. `invalid_cursor`: The cursor is malformed, came from a different query, or came from a catalogue snapshot — or, for results matched through dimension values, a value index — that has since refreshed. `upstream_fault`: The server had no catalogue loaded yet, and Eurostat's table of contents answered HTTP 501, which is not retried, or a 4xx status other than 408 and 429, which its URL carries no caller input to cause; or it answered HTTP 408, HTTP 429 or another HTTP 5xx, or could not be reached on every retry, which the error marks retryable. Once a catalogue is loaded, a failed refresh serves that copy instead. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / notice / description
      Previous value: -"Names each part of the catalogue this answer is missing — the Comext collections, or updates since a refresh failed — and what to do about it. Omitted when the whole catalogue answered."New value: +"Says when the results came through dimension value labels, and names each part of the catalogue this answer is missing — the Comext collections, or updates since a refresh failed — and what to do about it. Omitted when the whole catalogue answered through its own text."
  3. Changed2 schema fields changed
    • changedInput schema / properties / query / description
      Previous value: -"Search terms — at least one non-whitespace token is required. Split on whitespace into tokens; every token must match (AND), case-insensitively, somewhere across the dataset label, theme breadcrumb, or code. Spacing beside punctuation in the catalogue is ignored, so \"Rev.2\" also finds \"Rev. 2\" and \"2015=100\" finds \"2015 = 100\"; a token keeps its own punctuation, as in \"R&D\", \"non-EU\", or \"DS-045409\". Word order does not matter, so \"business demography NUTS 3\" or \"regional economic accounts\" resolve without naming a label verbatim. When nothing matches, the error names each word whose removal alone would find matches."New value: +"Search terms — at least one non-whitespace token is required. Split on whitespace into tokens; every token must match (AND), case-insensitively, somewhere across the dataset label, theme breadcrumb, or code. Spacing beside punctuation in the catalogue is ignored, so \"Rev.2\" also finds \"Rev. 2\" and \"2015=100\" finds \"2015 = 100\"; a token keeps its own punctuation, as in \"R&D\", \"non-EU\", or \"DS-045409\". Word order does not matter, so \"business demography NUTS 3\" or \"regional economic accounts\" resolve without naming a label verbatim. When nothing matches, the error names each word whose removal alone would find matches or, when no single removal would and both catalogue sources were searched, the words that match no dataset label, theme breadcrumb, or code."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `no_match`: No datasets matched the query string — including a query naming a DS-* code that neither the dissemination table of contents nor the Comext dataflow list carries, which is a collection Eurostat does not disseminate, and any query while the Comext dataflow list cannot be loaded and only the table of contents is searched. `invalid_cursor`: The cursor is malformed, came from a different query, or came from a catalogue snapshot that has since refreshed. `upstream_fault`: The server had no catalogue loaded yet, and Eurostat's table of contents answered HTTP 5xx or could not be reached on every retry, which the error marks retryable. Once a catalogue is loaded, a failed refresh serves that copy instead. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `no_match`: No datasets matched the query string — including a query naming a DS-* code that neither the dissemination table of contents nor the Comext dataflow list carries, which is a collection Eurostat does not disseminate, and any query while the Comext dataflow list cannot be loaded and only the table of contents is searched. `invalid_cursor`: The cursor is malformed, came from a different query, or came from a catalogue snapshot that has since refreshed. `upstream_fault`: The server had no catalogue loaded yet, and Eurostat's table of contents answered HTTP 501, which is not retried; or it answered another HTTP 5xx or could not be reached on every retry, which the error marks retryable. Once a catalogue is loaded, a failed refresh serves that copy instead. Other values are possible when a failure originates below the handler."
  4. Changed4 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Page size — maximum datasets returned per page (1–100). Default is 20. To retrieve matches beyond one page, pass the returned nextCursor back as cursor; the page size is fixed by this first call."New value: +"Page size — maximum datasets returned per page. Default 20; positive integers above 100 are clamped to 100 with a notice. To retrieve matches beyond one page, pass the returned nextCursor back as cursor; the page size is fixed by this first call and limit is ignored on cursor calls."
    • removedInput schema / properties / limit / maximum
      Removed value: -100
    • addedInput schema / properties / limit / multipleOf
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"integer"New value: +"number"
  5. Changed6 schema fields changed
    • changedInput schema / properties / query / description
      Previous value: -"Search terms — at least one non-whitespace token is required. Split on whitespace into tokens; every token must match (AND), case-insensitively, somewhere across the dataset label, theme breadcrumb, or code. Word order does not matter, so \"business demography NUTS 3\" or \"regional economic accounts\" resolve without naming a label verbatim."New value: +"Search terms — at least one non-whitespace token is required. Split on whitespace into tokens; every token must match (AND), case-insensitively, somewhere across the dataset label, theme breadcrumb, or code. Spacing beside punctuation in the catalogue is ignored, so \"Rev.2\" also finds \"Rev. 2\" and \"2015=100\" finds \"2015 = 100\"; a token keeps its own punctuation, as in \"R&D\", \"non-EU\", or \"DS-045409\". Word order does not matter, so \"business demography NUTS 3\" or \"regional economic accounts\" resolve without naming a label verbatim. When nothing matches, the error names each word whose removal alone would find matches."
    • addedOutput schema / properties / catalogueLoadedAt
      Added value: +{
      +  "description": "When the catalogue that answered was loaded (ISO 8601). Present only when a refresh failed and that older copy is still in service; omitted otherwise.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / comextListMissing
      Added value: +{
      +  "description": "True when the Comext dataflow list could not be loaded, so the DS-* collections (detailed trade and PRODCOM) were not searched and totalMatches counts the dissemination table of contents alone. Omitted when both sources were searched.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `no_match`: No datasets matched the query string — including a query naming a DS-* code that neither the dissemination table of contents nor the Comext dataflow list carries, which is a collection Eurostat does not disseminate. `invalid_cursor`: The cursor is malformed, came from a different query, or came from a catalogue snapshot that has since refreshed. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `no_match`: No datasets matched the query string — including a query naming a DS-* code that neither the dissemination table of contents nor the Comext dataflow list carries, which is a collection Eurostat does not disseminate, and any query while the Comext dataflow list cannot be loaded and only the table of contents is searched. `invalid_cursor`: The cursor is malformed, came from a different query, or came from a catalogue snapshot that has since refreshed. `upstream_fault`: The server had no catalogue loaded yet, and Eurostat's table of contents answered HTTP 5xx or could not be reached on every retry, which the error marks retryable. Once a catalogue is loaded, a failed refresh serves that copy instead. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "no_match",
      -  "invalid_cursor"
      -]New value: +[
      +  "no_match",
      +  "invalid_cursor",
      +  "upstream_fault"
      +]
    • addedOutput schema / properties / notice
      Added value: +{
      +  "description": "Names each part of the catalogue this answer is missing — the Comext collections, or updates since a refresh failed — and what to do about it. Omitted when the whole catalogue answered.",
      +  "type": "string"
      +}
  6. Changed1 schema field changed
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `no_match`: No datasets matched the query string. `invalid_cursor`: The cursor is malformed, came from a different query, or came from a catalogue snapshot that has since refreshed. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `no_match`: No datasets matched the query string — including a query naming a DS-* code that neither the dissemination table of contents nor the Comext dataflow list carries, which is a collection Eurostat does not disseminate. `invalid_cursor`: The cursor is malformed, came from a different query, or came from a catalogue snapshot that has since refreshed. Other values are possible when a failure originates below the handler."
  7. Changed6 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / additionalProperties
      Added value: +false
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "datasets",
      +      "query",
      +      "totalMatches",
      +      "truncated"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / error
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Present when the call failed. Absent on success.",
      +  "properties": {
      +    "code": {
      +      "description": "JSON-RPC error code for this failure.",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "data": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "reason": {
      +          "description": "Machine-readable failure mode. Declared by this tool: `no_match`: No datasets matched the query string. `invalid_cursor`: The cursor is malformed, came from a different query, or came from a catalogue snapshot that has since refreshed. Other values are possible when a failure originates below the handler.",
      +          "examples": [
      +            "no_match",
      +            "invalid_cursor"
      +          ],
      +          "type": "string"
      +        },
      +        "recovery": {
      +          "additionalProperties": {},
      +          "description": "Actionable next step for the caller.",
      +          "properties": {
      +            "hint": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hint"
      +          ],
      +          "type": "object"
      +        },
      +        "retryable": {
      +          "description": "Whether retrying may succeed.",
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "message": {
      +      "description": "Human-readable description of what went wrong.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "datasets",
      -  "query",
      -  "totalMatches",
      -  "truncated"
      -]
  8. Changed1 schema field changed
    • changedOutput schema / properties / datasets / items / properties / code / description
      Previous value: -"Dataset code (e.g., \"nama_10_gdp\"). Use this in eurostat_get_dataset_info and eurostat_query_dataset."New value: +"Dataset code (e.g., \"nama_10_gdp\"). Use this in eurostat_get_dataset_info, eurostat_query_dataset, and eurostat_download_dataset."
  9. Changed6 schema fields changed
    • changedInput schema / properties / cursor / description
      Previous value: -"Opaque pagination cursor from a previous call's nextCursor. Omit for the first page; pass it back to fetch the next page of matches over a stable order."New value: +"Opaque pagination cursor from a previous call's nextCursor. Omit for the first page; pass it back — with the same query — to fetch the next page of matches over a stable order. A cursor is bound to the query that produced it and to the catalogue snapshot in effect at that time, so reusing one with a different query, or after the catalogue refreshes, is rejected rather than silently paging a different result set."
    • changedInput schema / properties / query / description
      Previous value: -"Search terms. Split on whitespace into tokens; every token must match (AND), case-insensitively, somewhere across the dataset label, theme breadcrumb, or code. Word order does not matter, so \"business demography NUTS 3\" or \"regional economic accounts\" resolve without naming a label verbatim."New value: +"Search terms — at least one non-whitespace token is required. Split on whitespace into tokens; every token must match (AND), case-insensitively, somewhere across the dataset label, theme breadcrumb, or code. Word order does not matter, so \"business demography NUTS 3\" or \"regional economic accounts\" resolve without naming a label verbatim."
    • addedInput schema / properties / query / pattern
      Added value: +"\\S"
    • changedOutput schema / properties / datasets / items / properties / themePath / description
      Previous value: -"Breadcrumb path from root theme to this dataset (e.g., [\"Economy and finance\", \"National accounts\"]). Empty for top-level entries."New value: +"Breadcrumb path from root theme to this dataset (e.g., [\"Database by themes\", \"Economy and finance\"]). Eurostat files some datasets under several branches; this is the first branch that matched the query. Empty for top-level entries."
    • changedOutput schema / properties / nextCursor / description
      Previous value: -"Opaque cursor for the next page of matches. Pass it back as cursor. Omitted on the last page."New value: +"Opaque cursor for the next page of matches. Pass it back as cursor with the same query; it stops working once the catalogue refreshes. Omitted on the last page."
    • changedOutput schema / properties / totalMatches / description
      Previous value: -"Total datasets matching the query across all pages, before the page limit."New value: +"Total distinct dataset codes matching the query across all pages, before the page limit."
  10. Changed9 schema fields changed
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "Opaque pagination cursor from a previous call's nextCursor. Omit for the first page; pass it back to fetch the next page of matches over a stable order.",
      +  "type": "string"
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of results to return (1–100). Default is 20."New value: +"Page size — maximum datasets returned per page (1–100). Default is 20. To retrieve matches beyond one page, pass the returned nextCursor back as cursor; the page size is fixed by this first call."
    • changedInput schema / properties / query / description
      Previous value: -"Search terms — case-insensitive substring match against dataset labels."New value: +"Search terms. Split on whitespace into tokens; every token must match (AND), case-insensitively, somewhere across the dataset label, theme breadcrumb, or code. Word order does not matter, so \"business demography NUTS 3\" or \"regional economic accounts\" resolve without naming a label verbatim."
    • changedOutput schema / properties / datasets / description
      Previous value: -"Matching datasets, up to the requested limit."New value: +"Matching datasets for the current page, up to the requested limit."
    • addedOutput schema / properties / nextCursor
      Added value: +{
      +  "description": "Opaque cursor for the next page of matches. Pass it back as cursor. Omitted on the last page.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / nextStep
      Added value: +{
      +  "description": "Suggested next action based on these results. Populated when there is a clear follow-up call.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / totalMatches / description
      Previous value: -"Total datasets matching the query before the limit."New value: +"Total datasets matching the query across all pages, before the page limit."
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "description": "True when more matches remain beyond this page — pass nextCursor as cursor to fetch them.",
      +  "type": "boolean"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "datasets",
      -  "query",
      -  "totalMatches"
      -]New value: +[
      +  "datasets",
      +  "query",
      +  "totalMatches",
      +  "truncated"
      +]
  11. Changed3 schema fields changed
    • addedOutput schema / properties / query
      Added value: +{
      +  "description": "Search terms as submitted.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / totalMatches / description
      Previous value: -"Total number of datasets matching the query before the limit is applied."New value: +"Total datasets matching the query before the limit."
    • changedOutput schema / required
      Previous value: -[
      -  "datasets",
      -  "totalMatches"
      -]New value: +[
      +  "datasets",
      +  "query",
      +  "totalMatches"
      +]
  12. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, open-world), and the description adds domain behaviour that no structured field carries. It explains that the catalogue merges the dissemination table of contents with the Comext host's dataflow list, that Comext entries (DS-* trade and PRODCOM collections) report last-update dates but no period coverage or observation counts, and that collections on neither list (e.g. legacy PRODCOM DS-056120) are unreachable. That coverage map sets correct expectations about incomplete results.

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?

It is front-loaded: scope first, then routing, then coverage caveats, and no sentence is filler. The Comext/PRODCOM detail is dense but earns its place by explaining why some results lack period coverage. Only the specific DS-056120 example borders on extraneous.

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

Completeness4/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 need not be described, and the description covers scope, routing, fallback matching and coverage gaps. It does not mention result ordering or pagination mechanics, though those are largely handled by the limit and cursor schema fields.

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%: limit clamping, the all-words match rule, punctuation handling, the matchedValues fallback and cursor binding are all documented in the schema itself. The description adds little parameter-level meaning beyond 'by keyword', so the 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?

The description names a specific action and resource (search the Eurostat catalogue by keyword) and states exactly what is returned (dataset codes, labels, period coverage, theme breadcrumbs) plus what is excluded ('datasets and predefined tables only, no folders'). It is distinguishable from siblings such as eurostat_browse_themes and eurostat_get_dataset_info without opening a schema.

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

Usage Guidelines4/5

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

It gives an explicit downstream workflow: pass a returned code to eurostat_get_dataset_info, then to eurostat_query_dataset for a slice or eurostat_download_dataset for the whole dataset. There is no 'when not to use' guidance, though. It never says to prefer eurostat_browse_themes when the user knows the theme but not the keywords, so an agent facing that case is left to guess.

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.