Skip to main content
Glama

ISTAT Dataflow Structure

istat.reference.structure
Read-onlyIdempotent

Get the dimensions and valid codes for an ISTAT dataflow (dataflow_id from istat.dataflows, e.g. "101_1015_DF_DCSP_COLTIVAZIONI_1" for crop areas and production) — frequency, territory, and measure dimensions each with their code list (capped to 200 codes per dimension, with a total_codes count). Use this to interpret the dimension labels returned by istat.data, or to build a narrower key filter. Data: esploradati.istat.it (ISTAT SDMX public REST API), no auth required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionNoDataflow version, from istat.dataflows (e.g. "1.0"). Omit to use the latest version.
dataflow_idYesISTAT dataflow id, from istat.dataflows (e.g. "101_1015_DF_DCSP_COLTIVAZIONI_1" for crop areas and production). Returns the dimension list (e.g. FREQ, REF_AREA, DATA_TYPE) with each dimension's valid codes (capped to 200 per dimension, with a total_codes count) — needed to interpret istat.data results and build a key filter.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, openWorld, and non-destructive behavior. The description adds valuable context beyond that by disclosing the 200-code cap per dimension, the total_codes count, the upstream data source, and the no-auth requirement, all of which help an agent set expectations.

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

Conciseness5/5

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

The description is front-loaded with the action and resource, then provides an example, output details, use cases, and source in a compact three-sentence structure. Every sentence contributes distinct information without repetition or filler.

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 and both parameters already documented, the description covers the remaining important context: where dataflow_id comes from, how results are capped, when to use the tool, and that no authentication is needed. It is complete for an agent to select and invoke this reference-structure tool correctly.

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%, so the schema already documents dataflow_id and version. The description adds a helpful example and source reference, but the main added semantic value is the example usage, not new parameter-level detail that the schema lacks.

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 states a specific verb and resource: 'Get the dimensions and valid codes for an ISTAT dataflow.' It gives a concrete example dataflow_id and names the dimension types returned (frequency, territory, measure), clearly distinguishing this structure-lookup tool from the broader dataflows and series.data siblings.

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?

The description gives explicit use cases: interpret dimension labels returned by istat.data and build a narrower key filter. It references istat.dataflows as the source for dataflow_id, which provides helpful routing context, though it does not explicitly state when to prefer this over the sibling istat.reference.dataflows or istat.series.data.

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.