Skip to main content
Glama

Get Eurostat Dimension Values

eurostat_get_dimension_values
Read-onlyIdempotent

List every value a Eurostat dataset carries in one dimension, with codes and labels exactly as published: when eurostat_get_dataset_info's sample is not enough, or to confirm filter codes before querying. Narrow a long list with filter (words in a code or label) or code_prefix (the codes under a parent, such as one country's regions), and page with cursor. Pass canvas_id to also stage the whole list as a table, to label a download's codes through a join.

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": {
      "dataset_code": "<dataset_code>",
      "dimension": "<dimension>"
    },
    "name": "eurostat_get_dimension_values"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoValues per page, default 25; values above 1,000 clamp to 1,000 with a notice. Fixed by the first call and ignored with cursor.
cursorNoOpaque nextCursor from the previous page; omit for the first. Bound to dataset_code, dimension (any accepted spelling), geo_level, filter and code_prefix, so send those unchanged.
filterNoWords to find, up to 500 characters: keeps values whose code and label, joined by a space, contain every word as a substring, in any order, ignoring case and accents. Punctuation is part of a word; spellings are not transliterated ("münchen" does not find MUENCHEN). Applies to the whole list at the effective geo_level before paging, in Eurostat's order.
canvas_idNoAlso stage the dimension's whole list on this canvas, whatever filter, code_prefix and limit, narrowed only by an explicit geo_level: columns code and label, plus level for geo (NULL for a code with no NUTS level). Without geo_level a geo table holds every level, aggregates and regions beside the countries they contain, so filter level before summing or averaging. Pass the canvasId of a eurostat_query_dataset or eurostat_download_dataset response; this tool never starts a canvas. First call only, not with cursor. Ignored without a dataframe canvas.
dimensionYesDimension code (e.g., "geo", "unit"), matched exactly, then ignoring case; TIME_PERIOD aliases time. eurostat_get_dataset_info lists them.
geo_levelNoNUTS level, for the "geo" dimension only (rejected with any other): "aggregate" (EU/EA codes), "country" (2-letter codes, the inline default), "nuts1", "nuts2", "nuts3".
code_prefixNoKeep values whose code starts with this text, ignoring case: the codes under a parent where codes nest by prefix ("DE" with geo_level "nuts2" lists the German NUTS 2 regions; a CN heading lists its codes, itself included). Aggregates outside the code tree are not reached. Up to 100 characters, no wildcards. Applies at the effective geo_level, with filter, before paging.
dataset_codeYesDataset code (e.g., "nama_10_gdp", or "DS-045409" for a Comext collection).

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
noticeNoClamp disclosure, continuation routes, why a filter or code_prefix matched nothing, and, for a geo table staged without geo_level, its rows per level and the overlap warning, or the geo_level that lists one of its levels inline.
valuesNoThis page of values in Eurostat's order: for geo, those at geoLevel; with filter or code_prefix, the matches. Up to limit; truncated and nextCursor say when more follow.
canvasIdNoCanvas holding the staged list; omitted when nothing was staged.
geoLevelNoNUTS level of the inline values, for geo only: country when geo_level was omitted.
tableNameNoStaged table (VARCHAR code and label, plus level for geo). Call eurostat_dataframe_describe with canvasId, then join it in eurostat_dataframe_query.
truncatedNoTrue when more values follow; pass nextCursor as cursor for them.
matchCountNoValues passing filter and code_prefix across the whole list, before paging; only when either was passed.
nextCursorNoCursor for the next page. Omitted on the last page.
totalCountNoValues the dimension lists, at geoLevel for geo, before filter, code_prefix and paging. 0 only when the dataset lists no country values and an every-level geo table was staged.
dimensionCodeNoThe dimension code queried.
dimensionLabelNoDimension name.
stagedRowCountNoRows staged: totalCount, or for a geo table staged without geo_level, every level (the dataset's geo valuesCount).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed22 schema fields changed
    • changedInput schema / properties / canvas_id / description
      Previous value: -"Also stage the dimension's whole list on this dataframe canvas: every value it lists, whatever filter, code_prefix and limit are, narrowed only by an explicit geo_level. Columns code and label; a geo table adds level (aggregate, country, nuts1, nuts2, nuts3, or NULL for a code with no NUTS level). Without geo_level a geo table holds every level, and aggregates and regions overlap the countries they contain, so a JOIN on it keeps them beside the countries: filter level before summing or averaging. Pass the canvasId a eurostat_download_dataset or eurostat_query_dataset response returned, then search the staged table with SQL or join it to a download on the dimension column (e.g., d.geo = g.code). Only on a call without cursor; omit to return the values inline only: this tool never starts a canvas. Ignored on deployments without a dataframe canvas."New value: +"Also stage the dimension's whole list on this canvas, whatever filter, code_prefix and limit, narrowed only by an explicit geo_level: columns code and label, plus level for geo (NULL for a code with no NUTS level). Without geo_level a geo table holds every level, aggregates and regions beside the countries they contain, so filter level before summing or averaging. Pass the canvasId of a eurostat_query_dataset or eurostat_download_dataset response; this tool never starts a canvas. First call only, not with cursor. Ignored without a dataframe canvas."
    • changedInput schema / properties / code_prefix / description
      Previous value: -"Keep only values whose code starts with this text, ignoring case — the codes under a parent where codes nest by prefix: \"DE\" with geo_level \"nuts2\" lists the German NUTS 2 regions, \"2204\" on a CN product list lists the codes under that heading, parent code included. Aggregates outside the code tree (COICOP ELC_GAS, NRG) are not reached. Up to 100 characters, no wildcards, surrounding whitespace ignored. Applies within the effective geo_level (country when omitted) beside filter, before paging; matchCount counts the values passing both."New value: +"Keep values whose code starts with this text, ignoring case: the codes under a parent where codes nest by prefix (\"DE\" with geo_level \"nuts2\" lists the German NUTS 2 regions; a CN heading lists its codes, itself included). Aggregates outside the code tree are not reached. Up to 100 characters, no wildcards. Applies at the effective geo_level, with filter, before paging."
    • changedInput schema / properties / cursor / description
      Previous value: -"Opaque nextCursor from the previous page; omit for the first page. It resumes after that page's last code and is bound to dataset_code, dimension, geo_level, filter and code_prefix, so send those unchanged. Cannot be combined with canvas_id on a deployment with a dataframe canvas."New value: +"Opaque nextCursor from the previous page; omit for the first. Bound to dataset_code, dimension (any accepted spelling), geo_level, filter and code_prefix, so send those unchanged."
    • changedInput schema / properties / dimension / description
      Previous value: -"Dimension code to retrieve values for (e.g., \"unit\", \"na_item\", \"geo\"). Exact match first, then case-insensitive; TIME_PERIOD aliases time. Use eurostat_get_dataset_info to see available dimensions."New value: +"Dimension code (e.g., \"geo\", \"unit\"), matched exactly, then ignoring case; TIME_PERIOD aliases time. eurostat_get_dataset_info lists them."
    • changedInput schema / properties / filter / description
      Previous value: -"Words to find, up to 500 characters: keeps only values whose code and label, joined by a space, contain every whitespace-separated word as a substring — in any order, ignoring case and accents (\"palma frankfurt\" finds DE_EDDF_ES_LEPA, \"zurich\" finds Zürich). Punctuation is part of a word, and spellings are not transliterated (\"münchen\" does not find MUENCHEN). Runs over the whole list at the effective geo_level before paging and keeps Eurostat's order, with no ranking; matchCount counts the matches."New value: +"Words to find, up to 500 characters: keeps values whose code and label, joined by a space, contain every word as a substring, in any order, ignoring case and accents. Punctuation is part of a word; spellings are not transliterated (\"münchen\" does not find MUENCHEN). Applies to the whole list at the effective geo_level before paging, in Eurostat's order."
    • changedInput schema / properties / geo_level / description
      Previous value: -"NUTS hierarchy level filter — applies only when dimension is \"geo\"; passing it with any other dimension is rejected. Options: \"aggregate\" (EU/EA codes), \"country\" (2-letter codes, the inline default), \"nuts1\" (3-char), \"nuts2\" (4-char), \"nuts3\" (5-char). With canvas_id, an omitted geo_level stages every level and an explicit one only that level."New value: +"NUTS level, for the \"geo\" dimension only (rejected with any other): \"aggregate\" (EU/EA codes), \"country\" (2-letter codes, the inline default), \"nuts1\", \"nuts2\", \"nuts3\"."
    • changedInput schema / properties / limit / description
      Previous value: -"Most values per page, default 25, maximum 1,000. Larger positive integers clamp with a notice when EUROSTAT_CLAMP_LIMITS is enabled. Fixed by the first call: with cursor, the cursor carries that limit and this field is ignored."New value: +"Values per page, default 25; values above 1,000 clamp to 1,000 with a notice. Fixed by the first call and ignored with cursor."
    • changedOutput schema / properties / canvasId / description
      Previous value: -"Dataframe canvas the values were staged on — the canvas_id supplied. Omitted when nothing was staged: canvas_id was omitted, this deployment runs without a dataframe canvas, or the dimension lists no values."New value: +"Canvas holding the staged list; omitted when nothing was staged."
    • changedOutput schema / properties / dimensionCode / description
      Previous value: -"The dimension code that was queried."New value: +"The dimension code queried."
    • changedOutput schema / properties / dimensionLabel / description
      Previous value: -"Human-readable dimension name."New value: +"Dimension name."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `not_found`: The dataset code or dimension code does not exist. `no_results`: The dataset has no geo values at the effective geo_level. `conflicting_params`: geo_level was combined with a dimension other than \"geo\", where it has no effect; or, on a deployment with a dataframe canvas, canvas_id was combined with cursor, which would stage the list again on every page. `invalid_cursor`: The cursor is malformed, was issued for a different dataset_code, dimension, geo_level, filter or code_prefix, or resumes after a code the list no longer holds. `upstream_fault`: Eurostat returned a dataset structure or content constraint this server cannot read — malformed, truncated, not XML, or missing the requested dataset's dataflow; the structure endpoint 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. `canvas_not_found`: A canvas_id was supplied for staging but is unknown or its lifetime has elapsed. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `not_found`: The dataset code or dimension code does not exist. `no_results`: The dataset has no geo values at the geo_level passed, or at the country default when nothing was staged. `conflicting_params`: geo_level was passed for a dimension other than \"geo\", or canvas_id with cursor where a canvas runs. `invalid_cursor`: The cursor is malformed, belongs to another dataset_code, dimension, geo_level, filter or code_prefix, or resumes after a code the list no longer holds. `upstream_fault`: Eurostat returned a dataset structure this server cannot read, or refused the structure read, which is not retried; marked retryable when the structure endpoint failed or could not be reached on every retry. `canvas_not_found`: The canvas_id is unknown or expired. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / geoLevel / description
      Previous value: -"Effective NUTS hierarchy level of the inline values. Present only for the geo dimension; country is reported when geo_level was omitted, though a geo table staged then holds every level."New value: +"NUTS level of the inline values, for geo only: country when geo_level was omitted."
    • changedOutput schema / properties / matchCount / description
      Previous value: -"Values passing filter and code_prefix across the whole list at geoLevel, before paging. Present only when filter or code_prefix was passed."New value: +"Values passing filter and code_prefix across the whole list, before paging; only when either was passed."
    • changedOutput schema / properties / nextCursor / description
      Previous value: -"Opaque cursor for the next page. Pass it back as cursor with dataset_code, dimension, geo_level, filter and code_prefix unchanged; it resumes after this page's last code. Omitted on the last page."New value: +"Cursor for the next page. Omitted on the last page."
    • changedOutput schema / properties / notice / description
      Previous value: -"Count-limit clamp disclosure, continuation routes (nextCursor, filter, canvas_id), an explanation of a filter or code_prefix that matched nothing, or, for a geo table staged without geo_level that holds more rows than the country values listed, its rows per level and the warning that it holds every level."New value: +"Clamp disclosure, continuation routes, why a filter or code_prefix matched nothing, and, for a geo table staged without geo_level, its rows per level and the overlap warning, or the geo_level that lists one of its levels inline."
    • changedOutput schema / properties / stagedRowCount / description
      Previous value: -"Rows written to the canvas table. Equals totalCount, except for a geo table staged without geo_level, which holds every level: then it equals the dataset's geo valuesCount from eurostat_get_dataset_info. Omitted alongside tableName."New value: +"Rows staged: totalCount, or for a geo table staged without geo_level, every level (the dataset's geo valuesCount)."
    • changedOutput schema / properties / tableName / description
      Previous value: -"Canvas table holding the staged list as VARCHAR columns code and label, plus level for geo. Call eurostat_dataframe_describe with canvasId first to confirm it, then join it in eurostat_dataframe_query. Omitted alongside canvasId."New value: +"Staged table (VARCHAR code and label, plus level for geo). Call eurostat_dataframe_describe with canvasId, then join it in eurostat_dataframe_query."
    • changedOutput schema / properties / totalCount / description
      Previous value: -"Number of distinct values the dimension lists, after geoLevel filtering for geo — every one, whatever filter, code_prefix and paging apply. A geo table staged without geo_level holds every level, so more rows (stagedRowCount)."New value: +"Values the dimension lists, at geoLevel for geo, before filter, code_prefix and paging. 0 only when the dataset lists no country values and an every-level geo table was staged."
    • changedOutput schema / properties / truncated / description
      Previous value: -"True when more values follow this page — pass nextCursor as cursor to fetch them. Omitted on the last page."New value: +"True when more values follow; pass nextCursor as cursor for them."
    • changedOutput schema / properties / values / description
      Previous value: -"This page of dataset-available values, in Eurostat's order — for geo, the subset at geoLevel; with filter or code_prefix, only the matches. A page holds the effective limit (default 25, maximum 1,000), fewer only at the end; truncated and nextCursor are set when more follow."New value: +"This page of values in Eurostat's order: for geo, those at geoLevel; with filter or code_prefix, the matches. Up to limit; truncated and nextCursor say when more follow."
    • changedOutput schema / properties / values / items / properties / code / description
      Previous value: -"Dimension value code. Use these as filter values in eurostat_query_dataset and eurostat_download_dataset."New value: +"Value code, the filter value in eurostat_query_dataset and eurostat_download_dataset."
    • changedOutput schema / properties / values / items / properties / label / description
      Previous value: -"Human-readable label for this value."New value: +"Value label."
  2. Changed13 schema fields changed
    • changedInput schema / properties / canvas_id / description
      Previous value: -"Also stage the values on this dataframe canvas as a table with two columns, code and label, holding every value the dimension lists at the geo_level requested (country when it is omitted), whatever filter and limit are. Pass the canvasId a eurostat_download_dataset or eurostat_query_dataset response returned, then search the staged table with SQL or join it to a download on the dimension column (e.g., d.geo = g.code). Only on a call without cursor; omit to return the values inline only: this tool never starts a canvas. Ignored on deployments without a dataframe canvas."New value: +"Also stage the dimension's whole list on this dataframe canvas: every value it lists, whatever filter, code_prefix and limit are, narrowed only by an explicit geo_level. Columns code and label; a geo table adds level (aggregate, country, nuts1, nuts2, nuts3, or NULL for a code with no NUTS level). Without geo_level a geo table holds every level, and aggregates and regions overlap the countries they contain, so a JOIN on it keeps them beside the countries: filter level before summing or averaging. Pass the canvasId a eurostat_download_dataset or eurostat_query_dataset response returned, then search the staged table with SQL or join it to a download on the dimension column (e.g., d.geo = g.code). Only on a call without cursor; omit to return the values inline only: this tool never starts a canvas. Ignored on deployments without a dataframe canvas."
    • addedInput schema / properties / code_prefix
      Added value: +{
      +  "description": "Keep only values whose code starts with this text, ignoring case — the codes under a parent where codes nest by prefix: \"DE\" with geo_level \"nuts2\" lists the German NUTS 2 regions, \"2204\" on a CN product list lists the codes under that heading, parent code included. Aggregates outside the code tree (COICOP ELC_GAS, NRG) are not reached. Up to 100 characters, no wildcards, surrounding whitespace ignored. Applies within the effective geo_level (country when omitted) beside filter, before paging; matchCount counts the values passing both.",
      +  "maxLength": 100,
      +  "type": "string"
      +}
    • changedInput schema / properties / cursor / description
      Previous value: -"Opaque nextCursor from the previous page; omit for the first page. It resumes after that page's last code and is bound to dataset_code, dimension, geo_level and filter, so send those unchanged. Cannot be combined with canvas_id on a deployment with a dataframe canvas."New value: +"Opaque nextCursor from the previous page; omit for the first page. It resumes after that page's last code and is bound to dataset_code, dimension, geo_level, filter and code_prefix, so send those unchanged. Cannot be combined with canvas_id on a deployment with a dataframe canvas."
    • changedInput schema / properties / geo_level / description
      Previous value: -"NUTS hierarchy level filter — applies only when dimension is \"geo\"; passing it with any other dimension is rejected. Options: \"aggregate\" (EU/EA codes), \"country\" (2-letter codes, default), \"nuts1\" (3-char), \"nuts2\" (4-char), \"nuts3\" (5-char)."New value: +"NUTS hierarchy level filter — applies only when dimension is \"geo\"; passing it with any other dimension is rejected. Options: \"aggregate\" (EU/EA codes), \"country\" (2-letter codes, the inline default), \"nuts1\" (3-char), \"nuts2\" (4-char), \"nuts3\" (5-char). With canvas_id, an omitted geo_level stages every level and an explicit one only that level."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `not_found`: The dataset code or dimension code does not exist. `no_results`: The dataset has no geo values at the effective geo_level. `conflicting_params`: geo_level was combined with a dimension other than \"geo\", where it has no effect; or, on a deployment with a dataframe canvas, canvas_id was combined with cursor, which would stage the list again on every page. `invalid_cursor`: The cursor is malformed, was issued for a different dataset_code, dimension, geo_level or filter, or resumes after a code the list no longer holds. `upstream_fault`: Eurostat returned a dataset structure or content constraint this server cannot read — malformed, truncated, not XML, or missing the requested dataset's dataflow; the structure endpoint 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. `canvas_not_found`: A canvas_id was supplied for staging but is unknown or its lifetime has elapsed. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `not_found`: The dataset code or dimension code does not exist. `no_results`: The dataset has no geo values at the effective geo_level. `conflicting_params`: geo_level was combined with a dimension other than \"geo\", where it has no effect; or, on a deployment with a dataframe canvas, canvas_id was combined with cursor, which would stage the list again on every page. `invalid_cursor`: The cursor is malformed, was issued for a different dataset_code, dimension, geo_level, filter or code_prefix, or resumes after a code the list no longer holds. `upstream_fault`: Eurostat returned a dataset structure or content constraint this server cannot read — malformed, truncated, not XML, or missing the requested dataset's dataflow; the structure endpoint 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. `canvas_not_found`: A canvas_id was supplied for staging but is unknown or its lifetime has elapsed. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / geoLevel / description
      Previous value: -"Effective NUTS hierarchy level for the geo value set. Present only for the geo dimension; country is reported when geo_level was omitted."New value: +"Effective NUTS hierarchy level of the inline values. Present only for the geo dimension; country is reported when geo_level was omitted, though a geo table staged then holds every level."
    • changedOutput schema / properties / matchCount / description
      Previous value: -"Values matching filter across the whole list, before paging. Present only when filter was passed."New value: +"Values passing filter and code_prefix across the whole list at geoLevel, before paging. Present only when filter or code_prefix was passed."
    • changedOutput schema / properties / nextCursor / description
      Previous value: -"Opaque cursor for the next page. Pass it back as cursor with dataset_code, dimension, geo_level and filter unchanged; it resumes after this page's last code. Omitted on the last page."New value: +"Opaque cursor for the next page. Pass it back as cursor with dataset_code, dimension, geo_level, filter and code_prefix unchanged; it resumes after this page's last code. Omitted on the last page."
    • changedOutput schema / properties / notice / description
      Previous value: -"Count-limit clamp disclosure, continuation routes (nextCursor, filter, canvas_id), or an explanation of a filter that matched nothing."New value: +"Count-limit clamp disclosure, continuation routes (nextCursor, filter, canvas_id), an explanation of a filter or code_prefix that matched nothing, or, for a geo table staged without geo_level that holds more rows than the country values listed, its rows per level and the warning that it holds every level."
    • changedOutput schema / properties / stagedRowCount / description
      Previous value: -"Rows written to the canvas table. Equals totalCount. Omitted alongside tableName."New value: +"Rows written to the canvas table. Equals totalCount, except for a geo table staged without geo_level, which holds every level: then it equals the dataset's geo valuesCount from eurostat_get_dataset_info. Omitted alongside tableName."
    • changedOutput schema / properties / tableName / description
      Previous value: -"Canvas table holding every value as two VARCHAR columns, code and label. Call eurostat_dataframe_describe with canvasId first to confirm it, then join it in eurostat_dataframe_query. Omitted alongside canvasId."New value: +"Canvas table holding the staged list as VARCHAR columns code and label, plus level for geo. Call eurostat_dataframe_describe with canvasId first to confirm it, then join it in eurostat_dataframe_query. Omitted alongside canvasId."
    • changedOutput schema / properties / totalCount / description
      Previous value: -"Number of distinct values the dimension lists, after geoLevel filtering for geo — every one, whatever filter and paging apply."New value: +"Number of distinct values the dimension lists, after geoLevel filtering for geo — every one, whatever filter, code_prefix and paging apply. A geo table staged without geo_level holds every level, so more rows (stagedRowCount)."
    • changedOutput schema / properties / values / description
      Previous value: -"This page of dataset-available values, in Eurostat's order — for geo, the subset at geoLevel; with filter, only the matches. A page holds the effective limit (default 25, maximum 1,000), fewer only at the end; truncated and nextCursor are set when more follow."New value: +"This page of dataset-available values, in Eurostat's order — for geo, the subset at geoLevel; with filter or code_prefix, only the matches. A page holds the effective limit (default 25, maximum 1,000), fewer only at the end; truncated and nextCursor are set when more follow."
  3. Changed1 schema field changed
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `not_found`: The dataset code or dimension code does not exist. `no_results`: The dataset has no geo values at the effective geo_level. `conflicting_params`: geo_level was combined with a dimension other than \"geo\", where it has no effect; or, on a deployment with a dataframe canvas, canvas_id was combined with cursor, which would stage the list again on every page. `invalid_cursor`: The cursor is malformed, was issued for a different dataset_code, dimension, geo_level or filter, or resumes after a code the list no longer holds. `upstream_fault`: Eurostat returned a dataset structure or content constraint this server cannot read — malformed, truncated, not XML, or missing the requested dataset's dataflow — or the structure endpoint answered HTTP 5xx or could not be reached on every retry, which the error marks retryable. `canvas_not_found`: A canvas_id was supplied for staging but is unknown or its lifetime has elapsed. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `not_found`: The dataset code or dimension code does not exist. `no_results`: The dataset has no geo values at the effective geo_level. `conflicting_params`: geo_level was combined with a dimension other than \"geo\", where it has no effect; or, on a deployment with a dataframe canvas, canvas_id was combined with cursor, which would stage the list again on every page. `invalid_cursor`: The cursor is malformed, was issued for a different dataset_code, dimension, geo_level or filter, or resumes after a code the list no longer holds. `upstream_fault`: Eurostat returned a dataset structure or content constraint this server cannot read — malformed, truncated, not XML, or missing the requested dataset's dataflow; the structure endpoint 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. `canvas_not_found`: A canvas_id was supplied for staging but is unknown or its lifetime has elapsed. Other values are possible when a failure originates below the handler."
  4. Changed8 schema fields changed
    • changedInput schema / properties / dimension / description
      Previous value: -"Dimension code to retrieve values for (e.g., \"unit\", \"na_item\", \"geo\"). Use eurostat_get_dataset_info to see available dimensions."New value: +"Dimension code to retrieve values for (e.g., \"unit\", \"na_item\", \"geo\"). Exact match first, then case-insensitive; TIME_PERIOD aliases time. Use eurostat_get_dataset_info to see available dimensions."
    • addedInput schema / properties / limit / default
      Added value: +25
    • changedInput schema / properties / limit / description
      Previous value: -"Most values per page. No default and no maximum: without it a page holds as many whole values as fit 64,000 bytes, and with it the page ends at whichever comes first. Fixed by the first call: on a call with cursor, the cursor carries that first limit and this field is ignored."New value: +"Most values per page, default 25, maximum 1,000. Larger positive integers clamp with a notice when EUROSTAT_CLAMP_LIMITS is enabled. Fixed by the first call: with cursor, the cursor carries that limit and this field is ignored."
    • removedInput schema / properties / limit / maximum
      Removed value: -9007199254740991
    • addedInput schema / properties / limit / multipleOf
      Added value: +1
    • changedInput schema / properties / limit / type
      Previous value: -"integer"New value: +"number"
    • changedOutput schema / properties / notice / description
      Previous value: -"On a page with more after it: whether limit or the response budget ended it, and the routes to the rest — nextCursor, filter, and canvas_id. Also explains a filter that matched nothing."New value: +"Count-limit clamp disclosure, continuation routes (nextCursor, filter, canvas_id), or an explanation of a filter that matched nothing."
    • changedOutput schema / properties / values / description
      Previous value: -"This page of the dataset-available values, in Eurostat's order — for geo, the subset at geoLevel; with filter, only the matches. A page ends between whole values, at limit or at 64,000 bytes per response surface, whichever comes first, and holds at least one value; truncated and nextCursor are set when more follow."New value: +"This page of dataset-available values, in Eurostat's order — for geo, the subset at geoLevel; with filter, only the matches. A page holds the effective limit (default 25, maximum 1,000), fewer only at the end; truncated and nextCursor are set when more follow."
  5. Changed14 schema fields changed
    • changedInput schema / properties / canvas_id / description
      Previous value: -"Also stage the values on this dataframe canvas as a table with two columns, code and label, holding every value the dimension lists — past the inline cap too — at the geo_level requested, country when it is omitted. Pass the canvasId a eurostat_download_dataset or eurostat_query_dataset response returned, then search the staged table with SQL or join it to a download on the dimension column (e.g., d.geo = g.code). Omit to return the values inline only: this tool never starts a canvas. Ignored on deployments without a dataframe canvas."New value: +"Also stage the values on this dataframe canvas as a table with two columns, code and label, holding every value the dimension lists at the geo_level requested (country when it is omitted), whatever filter and limit are. Pass the canvasId a eurostat_download_dataset or eurostat_query_dataset response returned, then search the staged table with SQL or join it to a download on the dimension column (e.g., d.geo = g.code). Only on a call without cursor; omit to return the values inline only: this tool never starts a canvas. Ignored on deployments without a dataframe canvas."
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "Opaque nextCursor from the previous page; omit for the first page. It resumes after that page's last code and is bound to dataset_code, dimension, geo_level and filter, so send those unchanged. Cannot be combined with canvas_id on a deployment with a dataframe canvas.",
      +  "type": "string"
      +}
    • addedInput schema / properties / filter
      Added value: +{
      +  "description": "Words to find, up to 500 characters: keeps only values whose code and label, joined by a space, contain every whitespace-separated word as a substring — in any order, ignoring case and accents (\"palma frankfurt\" finds DE_EDDF_ES_LEPA, \"zurich\" finds Zürich). Punctuation is part of a word, and spellings are not transliterated (\"münchen\" does not find MUENCHEN). Runs over the whole list at the effective geo_level before paging and keeps Eurostat's order, with no ranking; matchCount counts the matches.",
      +  "maxLength": 500,
      +  "type": "string"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "Most values per page. No default and no maximum: without it a page holds as many whole values as fit 64,000 bytes, and with it the page ends at whichever comes first. Fixed by the first call: on a call with cursor, the cursor carries that first limit and this field is ignored.",
      +  "maximum": 9007199254740991,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • removedOutput schema / properties / cap
      Removed value: -{
      -  "description": "The inline cap applied. Present alongside truncated.",
      -  "type": "number"
      -}
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `not_found`: The dataset code or dimension code does not exist. `no_results`: The dataset has no geo values at the effective geo_level. `conflicting_params`: geo_level was combined with a dimension other than \"geo\", where it has no effect. `upstream_fault`: Eurostat returned a dataset structure or content constraint this server cannot read: malformed, truncated, not XML, or missing the requested dataset's dataflow. `canvas_not_found`: A canvas_id was supplied for staging but is unknown or its lifetime has elapsed. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `not_found`: The dataset code or dimension code does not exist. `no_results`: The dataset has no geo values at the effective geo_level. `conflicting_params`: geo_level was combined with a dimension other than \"geo\", where it has no effect; or, on a deployment with a dataframe canvas, canvas_id was combined with cursor, which would stage the list again on every page. `invalid_cursor`: The cursor is malformed, was issued for a different dataset_code, dimension, geo_level or filter, or resumes after a code the list no longer holds. `upstream_fault`: Eurostat returned a dataset structure or content constraint this server cannot read — malformed, truncated, not XML, or missing the requested dataset's dataflow — or the structure endpoint answered HTTP 5xx or could not be reached on every retry, which the error marks retryable. `canvas_not_found`: A canvas_id was supplied for staging but is unknown or its lifetime has elapsed. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "not_found",
      -  "no_results",
      -  "conflicting_params",
      -  "upstream_fault",
      -  "canvas_not_found"
      -]New value: +[
      +  "not_found",
      +  "no_results",
      +  "conflicting_params",
      +  "invalid_cursor",
      +  "upstream_fault",
      +  "canvas_not_found"
      +]
    • addedOutput schema / properties / matchCount
      Added value: +{
      +  "description": "Values matching filter across the whole list, before paging. Present only when filter was passed.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / nextCursor
      Added value: +{
      +  "description": "Opaque cursor for the next page. Pass it back as cursor with dataset_code, dimension, geo_level and filter unchanged; it resumes after this page's last code. Omitted on the last page.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / notice / description
      Previous value: -"Where the values past the inline cap are: the staged table when canvas_id was passed, or how to stage them. Present alongside truncated."New value: +"On a page with more after it: whether limit or the response budget ended it, and the routes to the rest — nextCursor, filter, and canvas_id. Also explains a filter that matched nothing."
    • removedOutput schema / properties / shown
      Removed value: -{
      -  "description": "Values returned inline. Present alongside truncated.",
      -  "type": "number"
      -}
    • changedOutput schema / properties / totalCount / description
      Previous value: -"Number of distinct values the dimension lists, after geoLevel filtering for geo — all of them, including any past the inline cap."New value: +"Number of distinct values the dimension lists, after geoLevel filtering for geo — every one, whatever filter and paging apply."
    • changedOutput schema / properties / truncated / description
      Previous value: -"True when the dimension lists more values than the inline cap and values holds only the first of them. Omitted when values holds every one."New value: +"True when more values follow this page — pass nextCursor as cursor to fetch them. Omitted on the last page."
    • changedOutput schema / properties / values / description
      Previous value: -"Dataset-available values for this dimension, in Eurostat's order — for geo, the subset at geoLevel. Holds every value up to 2,000; past that, the first 2,000, with truncated set and the whole list on the canvas table when canvas_id was passed."New value: +"This page of the dataset-available values, in Eurostat's order — for geo, the subset at geoLevel; with filter, only the matches. A page ends between whole values, at limit or at 64,000 bytes per response surface, whichever comes first, and holds at least one value; truncated and nextCursor are set when more follow."
  6. Changed13 schema fields changed
    • addedInput schema / properties / canvas_id
      Added value: +{
      +  "description": "Also stage the values on this dataframe canvas as a table with two columns, code and label, holding every value the dimension lists — past the inline cap too — at the geo_level requested, country when it is omitted. Pass the canvasId a eurostat_download_dataset or eurostat_query_dataset response returned, then search the staged table with SQL or join it to a download on the dimension column (e.g., d.geo = g.code). Omit to return the values inline only: this tool never starts a canvas. Ignored on deployments without a dataframe canvas.",
      +  "pattern": "^[A-Za-z0-9_-]{10}$",
      +  "type": "string"
      +}
    • changedInput schema / properties / dataset_code / description
      Previous value: -"Dataset code (e.g., \"nama_10_gdp\")."New value: +"Dataset code (e.g., \"nama_10_gdp\", or \"DS-045409\" for a Comext collection)."
    • addedOutput schema / properties / canvasId
      Added value: +{
      +  "description": "Dataframe canvas the values were staged on — the canvas_id supplied. Omitted when nothing was staged: canvas_id was omitted, this deployment runs without a dataframe canvas, or the dimension lists no values.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / cap
      Added value: +{
      +  "description": "The inline cap applied. Present alongside truncated.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `not_found`: The dataset code or dimension code does not exist. `async_response`: Eurostat returned an asynchronous-response condition. `no_results`: The dataset has no geo values at the effective geo_level. `conflicting_params`: geo_level was combined with a dimension other than \"geo\", where it has no effect. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `not_found`: The dataset code or dimension code does not exist. `no_results`: The dataset has no geo values at the effective geo_level. `conflicting_params`: geo_level was combined with a dimension other than \"geo\", where it has no effect. `upstream_fault`: Eurostat returned a dataset structure or content constraint this server cannot read: malformed, truncated, not XML, or missing the requested dataset's dataflow. `canvas_not_found`: A canvas_id was supplied for staging but is unknown or its lifetime has elapsed. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "not_found",
      -  "async_response",
      -  "no_results",
      -  "conflicting_params"
      -]New value: +[
      +  "not_found",
      +  "no_results",
      +  "conflicting_params",
      +  "upstream_fault",
      +  "canvas_not_found"
      +]
    • addedOutput schema / properties / notice
      Added value: +{
      +  "description": "Where the values past the inline cap are: the staged table when canvas_id was passed, or how to stage them. Present alongside truncated.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / shown
      Added value: +{
      +  "description": "Values returned inline. Present alongside truncated.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / stagedRowCount
      Added value: +{
      +  "description": "Rows written to the canvas table. Equals totalCount. Omitted alongside tableName.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / tableName
      Added value: +{
      +  "description": "Canvas table holding every value as two VARCHAR columns, code and label. Call eurostat_dataframe_describe with canvasId first to confirm it, then join it in eurostat_dataframe_query. Omitted alongside canvasId.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / totalCount / description
      Previous value: -"Total number of distinct values returned, after geoLevel filtering for geo."New value: +"Number of distinct values the dimension lists, after geoLevel filtering for geo — all of them, including any past the inline cap."
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "description": "True when the dimension lists more values than the inline cap and values holds only the first of them. Omitted when values holds every one.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / values / description
      Previous value: -"All dataset-available values for this dimension. For geo, this is the subset at geoLevel."New value: +"Dataset-available values for this dimension, in Eurostat's order — for geo, the subset at geoLevel. Holds every value up to 2,000; past that, the first 2,000, with truncated set and the whole list on the canvas table when canvas_id was passed."
  7. Changed5 schema fields changed
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `not_found`: The dataset code or dimension code does not exist. `async_response`: Eurostat returned an async warning — the dimension query matched too many observations. `conflicting_params`: geo_level was combined with a dimension other than \"geo\", where it has no effect. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `not_found`: The dataset code or dimension code does not exist. `async_response`: Eurostat returned an asynchronous-response condition. `no_results`: The dataset has no geo values at the effective geo_level. `conflicting_params`: geo_level was combined with a dimension other than \"geo\", where it has no effect. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "not_found",
      -  "async_response",
      -  "conflicting_params"
      -]New value: +[
      +  "not_found",
      +  "async_response",
      +  "no_results",
      +  "conflicting_params"
      +]
    • addedOutput schema / properties / geoLevel
      Added value: +{
      +  "description": "Effective NUTS hierarchy level for the geo value set. Present only for the geo dimension; country is reported when geo_level was omitted.",
      +  "enum": [
      +    "aggregate",
      +    "country",
      +    "nuts1",
      +    "nuts2",
      +    "nuts3"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / totalCount / description
      Previous value: -"Total number of distinct values returned."New value: +"Total number of distinct values returned, after geoLevel filtering for geo."
    • changedOutput schema / properties / values / description
      Previous value: -"All valid values for this dimension in the dataset."New value: +"All dataset-available values for this dimension. For geo, this is the subset at geoLevel."
  8. 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": [
      +      "dimensionCode",
      +      "dimensionLabel",
      +      "values",
      +      "totalCount"
      +    ]
      +  },
      +  {
      +    "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: `not_found`: The dataset code or dimension code does not exist. `async_response`: Eurostat returned an async warning — the dimension query matched too many observations. `conflicting_params`: geo_level was combined with a dimension other than \"geo\", where it has no effect. Other values are possible when a failure originates below the handler.",
      +          "examples": [
      +            "not_found",
      +            "async_response",
      +            "conflicting_params"
      +          ],
      +          "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: -[
      -  "dimensionCode",
      -  "dimensionLabel",
      -  "values",
      -  "totalCount"
      -]
  9. Changed1 schema field changed
    • changedOutput schema / properties / values / items / properties / code / description
      Previous value: -"Dimension value code. Use these as filter values in eurostat_query_dataset."New value: +"Dimension value code. Use these as filter values in eurostat_query_dataset and eurostat_download_dataset."
  10. Changed1 schema field changed
    • changedInput schema / properties / geo_level / description
      Previous value: -"NUTS hierarchy level filter — only relevant when dimension is \"geo\". Options: \"aggregate\" (EU/EA codes), \"country\" (2-letter codes, default), \"nuts1\" (3-char), \"nuts2\" (4-char), \"nuts3\" (5-char)."New value: +"NUTS hierarchy level filter — applies only when dimension is \"geo\"; passing it with any other dimension is rejected. Options: \"aggregate\" (EU/EA codes), \"country\" (2-letter codes, default), \"nuts1\" (3-char), \"nuts2\" (4-char), \"nuts3\" (5-char)."
  11. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations declare read-only, idempotent, open-world access to Eurostat; the description adds genuinely non-obvious behavior on top: paging via an opaque cursor, and that passing canvas_id stages the full list as a table with a join-fodder label column, plus the caveat that it never starts a canvas. The one gap is that the staging side effect (a mutation of workspace state despite readOnlyHint) is only described in terms of grouping and joining, not stated as a write to existing canvas content.

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?

Three sentences, front-loaded with the core action and followed by alternatives and refinement options in a logical order; no filler sentences. The middle sentence is densely parenthesized, which costs a little readability for the volume of information packed in.

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 shape need not be described, and all eight parameters carry descriptions; the prose still covers the things structured fields cannot (when to prefer it, prefix semantics, cursor binding, canvas staging). Nothing an agent needs in order to call this correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns above that by explaining what filter and code_prefix mean operationally (substring words in code+label, prefix-nested codes under a parent, aggregates outside the tree unreachable) and what canvas_id is for. It still defers the finer mechanics (case/accent handling, clamping, geo_level default) to the schema rather than restating them.

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 and resource: listing every value a dataset carries in one dimension, with codes and labels as published. It explicitly distinguishes itself from eurostat_get_dataset_info (whose sample may be insufficient), so an agent can route correctly without opening either 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 concrete when-to-use triggers: when eurostat_get_dataset_info's sample is not enough, or to confirm filter codes before querying another tool. It also names the narrowing mechanisms (filter, code_prefix) and the paging path (cursor), leaving no inference required.

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.