Skip to main content
Glama
Halpph

istat-mcp-server

by Halpph

get_dataset_url

Retrieves the download URL and metadata for an ISTAT dataset by providing its identifier and applying dimension filters.

Instructions

Get the URL to download a dataset with metadata.

Args:
    dataflow_identifier: The identifier of the dataset.
    filters: A dictionary of filters to apply to the dataset.
        Filter keys should be dimension names in lowercase.
        For unfiltered dimensions, omit them or set to None.

Example:
    get_dataset_url(dataflow_identifier="139_176", filters={"freq": "M", "tipo_dato": ["ISAV", "ESAV"], "paese_partner": "WORLD"})

Returns:
    JSON with URL and metadata (content-type, size, etc.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataflow_identifierYes
filtersYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the burden. It describes the return value (JSON with URL and metadata) but does not disclose potential side effects, authentication needs, or limitations like URL expiration. This is adequate but lacks depth.

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 concise and well-structured: a one-sentence purpose, clear argument descriptions with formatting guidance, an example, and return value. Every part adds value without redundancy.

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?

The description covers parameters and return value with an example. It is sufficient for a straightforward tool. However, it could mention if the URL is temporary or requires authentication. The presence of an output schema is noted, but the description adequately explains returns.

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?

The description adds meaningful information beyond the input schema. For dataflow_identifier, it says 'The identifier of the dataset.' For filters, it explains they are a dictionary with keys being lowercase dimension names. The example clarifies correct usage. This compensates for the 0% schema description coverage.

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 clearly states the tool's purpose: 'Get the URL to download a dataset with metadata.' It uses a specific verb-resource pair and distinguishes from sibling tools like download_dataset (which directly downloads) and get_data (which retrieves data).

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 provides usage guidance through an example and explains filter keys should be lowercase dimension names. It implicitly tells when this tool is used (to obtain a URL before downloading), but does not explicitly mention when not to use it or alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Halpph/istat-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server