Skip to main content
Glama
Halpph

istat-mcp-server

by Halpph

get_data_limited

Retrieve a limited number of records from an ISTAT dataset using filters. If retrieval times out or data exceeds size, a downloadable file URL is returned instead.

Instructions

Get limited data from a dataset with filters. Returns only the first N records.
Attempt to retrieve data, if it times out or is too big, return the URL of the file to download.

Args:
    dataflow_identifier: The identifier of the dataset.
    filters: A dictionary of filters to apply to the dataset.
    limit: The maximum number of records to return.

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataflow_identifierYes
filtersYes
limitYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the burden and discloses key behaviors: returns first N records, attempts retrieval, and falls back to a URL on timeout or size limit. Lack of detail on error handling or permissions is acceptable given the scope.

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 description is fairly concise: two summary sentences plus an args list and example. It is front-loaded with purpose. Minor redundancy between the first two sentences could be trimmed, but overall efficient.

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?

Given three required parameters, no annotations, and an output schema present, the description covers the essential aspects: purpose, usage, fallback, and example. No explanation of output format is needed due to output schema, but some guidance on errors or prerequisites would add completeness.

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

Parameters5/5

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

The description adds substantial meaning to all three parameters beyond the schema (which has zero coverage). It explains dataflow_identifier, filters, and limit clearly, and provides a concrete example with actual values, compensating fully for the schema gap.

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 retrieves limited data from a dataset with filters and returns only the first N records. It distinguishes from siblings like get_data (likely full data) and download_dataset (for download) by emphasizing the limit.

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 clear context for when to use this tool (for limited, filtered data) and mentions the fallback to a URL if data is too large or times out. However, it does not explicitly state when not to use it or name alternative tools for different scenarios.

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