Skip to main content
Glama

Describe Eurostat Dataframes

eurostat_dataframe_describe
Read-onlyIdempotent

List the tables on a Eurostat dataframe canvas with row counts and column names and types; call it before eurostat_dataframe_query for the names to write SQL against, and read the columns here rather than assuming them. eurostat_query_dataset tables give each dimension a code column (e.g. "geo") and a label column ("geo_label"); eurostat_download_dataset tables carry code columns only, plus "time". Both write the same measure columns (obs_value, obs_flag, obs_flag_label, conf_status, conf_status_label) with the same codes, so they join on dimension codes and time; DS-* tables add obs_value_text for a value published as text. A eurostat_get_dimension_values table has code and label, plus level for geo (NULL for a code with no NUTS level), and labels a download's codes through a join (d.geo = g.code); staged without geo_level, a geo list holds every level, so filter level before aggregating.

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": {
      "canvas_id": "<canvas_id>"
    },
    "name": "eurostat_dataframe_describe"
  }
}

Input Schema

NameRequiredDescriptionDefault
canvas_idYesThe canvasId a eurostat_query_dataset, eurostat_download_dataset or eurostat_get_dimension_values response returned.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
noticeNoGuidance when the canvas holds no tables.
tablesNoStaged tables; empty when none is staged or all have expired.
canvasIdNoCanvas the tables were read from.
expiresAtNoISO 8601 expiry of the canvas; each call on it slides this forward.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / properties / canvas_id / description
      Previous value: -"Canvas identifier returned as canvasId by eurostat_query_dataset, eurostat_download_dataset, or eurostat_get_dimension_values. Identifies the workspace holding the staged tables."New value: +"The canvasId a eurostat_query_dataset, eurostat_download_dataset or eurostat_get_dimension_values response returned."
    • changedOutput schema / properties / canvasId / description
      Previous value: -"Canvas identifier the tables were read from."New value: +"Canvas the tables were read from."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `canvas_disabled`: This deployment runs without a dataframe canvas, so there is nothing to describe. `canvas_not_found`: The canvas_id 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: `canvas_disabled`: This deployment runs without a dataframe canvas. `canvas_not_found`: The canvas_id is unknown or expired. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / expiresAt / description
      Previous value: -"ISO 8601 timestamp when the canvas expires. Every call on it slides this forward."New value: +"ISO 8601 expiry of the canvas; each call on it slides this forward."
    • changedOutput schema / properties / notice / description
      Previous value: -"Guidance when the canvas holds no tables. Omitted when it holds at least one."New value: +"Guidance when the canvas holds no tables."
    • changedOutput schema / properties / tables / description
      Previous value: -"Tables staged on this canvas. Empty when nothing has been staged yet, or when every staged table has expired."New value: +"Staged tables; empty when none is staged or all have expired."
    • changedOutput schema / properties / tables / items / properties / expiresAt / description
      Previous value: -"ISO 8601 expiry of this table specifically. Omitted when the table ages with the canvas rather than on its own clock."New value: +"ISO 8601 expiry of this table; omitted when it ages with the canvas."
    • changedOutput schema / properties / tables / items / properties / kind / description
      Previous value: -"Whether the entry is a base table or a view."New value: +"Base table or view."
  2. Changed1 schema field changed
    • changedInput schema / properties / canvas_id / description
      Previous value: -"Canvas identifier returned as canvasId by eurostat_query_dataset or eurostat_download_dataset. Identifies the workspace holding the staged tables."New value: +"Canvas identifier returned as canvasId by eurostat_query_dataset, eurostat_download_dataset, or eurostat_get_dimension_values. Identifies the workspace holding the staged tables."
  3. Changed2 schema fields changed
    • removedInput schema / properties / canvas_id / minLength
      Removed value: -1
    • addedInput schema / properties / canvas_id / pattern
      Added value: +"^[A-Za-z0-9_-]{10}$"
  4. 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": [
      +      "canvasId",
      +      "expiresAt",
      +      "tables"
      +    ]
      +  },
      +  {
      +    "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: `canvas_disabled`: This deployment runs without a dataframe canvas, so there is nothing to describe. `canvas_not_found`: The canvas_id is unknown or its lifetime has elapsed. Other values are possible when a failure originates below the handler.",
      +          "examples": [
      +            "canvas_disabled",
      +            "canvas_not_found"
      +          ],
      +          "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: -[
      -  "canvasId",
      -  "expiresAt",
      -  "tables"
      -]
  5. Changed1 schema field changed
    • changedInput schema / properties / canvas_id / description
      Previous value: -"Canvas identifier returned by eurostat_query_dataset as canvasId. Identifies the workspace holding the staged tables."New value: +"Canvas identifier returned as canvasId by eurostat_query_dataset or eurostat_download_dataset. Identifies the workspace holding the staged tables."
  6. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the read-only/idempotent annotations, the description discloses table shapes, join keys, measure columns, the DS-* special case, and NULL level semantics. These are substantive behavioral and data-model details an agent needs to interpret and query the listed tables.

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?

The purpose is front-loaded and the extra sentences mostly earn their place by explaining how to read the returned columns. However, it is a dense single paragraph with cross-tool schema detail, so structure could be clearer.

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?

With an output schema present, the description need not explain return values, and it still supplies enough schema and join context to use the output correctly. Annotations cover safety, leaving no major behavioral gap.

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?

The input schema already documents the single canvas_id parameter at 100% coverage, including its pattern and origin. The description adds no additional parameter meaning beyond referring to a canvas.

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 first clause states a specific verb and resource: listing tables on a Eurostat dataframe canvas with row counts, column names, and types. It also distinguishes the tool from eurostat_dataframe_query by framing itself as the pre-query inspection step.

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?

It gives an explicit workflow instruction to call this before eurostat_dataframe_query and to read columns here rather than assume them. It also supplies conditional guidance for reading dimension table columns, such as filtering level before aggregating.

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.