Skip to main content
Glama

DatiTuristici.it

List Italian regions, provinces and comuni

elenca_territori
Read-onlyIdempotent

Lists Italian regions, provinces or comuni alphabetically, with the counts of provinces and comuni they contain. Use it to browse the territory and get the names classifica_territori accepts; do not use it to rank places (use that tool instead) or to find a comune by name (use cerca_comune instead). regione and provincia keep only that region or province and its contents, at any livello; together they must agree. Names ignore case, accents and punctuation (Bolzano and Trento are provinces of Trentino-Alto Adige); an unknown or ambiguous name is an error listing the names to use. For the next page add limite to offset while ha_altri is true; past the end comes an empty list. Public, no authentication; 30 requests per minute per client, shared across tools.

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": {
      "livello": "<livello>"
    },
    "name": "elenca_territori"
  }
}

Input Schema

NameRequiredDescriptionDefault
limiteNoItems per page, 1-200, default 50.
offsetNoItems to skip before the page, default 0.
livelloYesWhat to list: "regione", "provincia" or "comune".
regioneNoItalian name of a region ("Toscana", "trentino alto adige").
provinciaNoItalian name of a province ("Firenze", "Bolzano", "Monza e Brianza").

Output Schema

NameRequiredDescriptionDefault
fonteYesSource to cite with the figures: processed by DatiTuristici.it from institutional data (ISTAT).
offsetYesItems skipped before this page, as requested.
totaleYesNumber of matching items across all pages.
elementiYesThe page of regions, provinces or comuni in alphabetical order; an empty list past the last page.
ha_altriYesTrue when more items follow this page: ask again with a larger `offset`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / livello / description
      Previous value: -"What to list: \"regione\" (regions), \"provincia\" (provinces, optionally of one `regione`) or \"comune\" (comuni, optionally of one `regione` or `provincia`)."New value: +"What to list: \"regione\", \"provincia\" or \"comune\"."
    • changedInput schema / properties / offset / description
      Previous value: -"Items to skip, default 0: for the next page pass the previous `offset` plus `limite` while `ha_altri` is true."New value: +"Items to skip before the page, default 0."
    • changedInput schema / properties / provincia / description
      Previous value: -"Optional: only the comuni of this province, by its Italian name in any case (\"Firenze\", \"Bolzano\", \"Monza e Brianza\")."New value: +"Italian name of a province (\"Firenze\", \"Bolzano\", \"Monza e Brianza\")."
    • changedInput schema / properties / regione / description
      Previous value: -"Optional: only the provinces or comuni of this region, by its Italian name in any case (\"Toscana\", \"trentino alto adige\")."New value: +"Italian name of a region (\"Toscana\", \"trentino alto adige\")."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds substantial context beyond them: pagination mechanics (add `limite` to `offset` while `ha_altri` is true, empty list past the end), error behavior for unknown or ambiguous names, accent/case/punctuation-insensitive matching, no authentication, and a 30 requests/minute per-client limit shared across tools.

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?

Purpose and the browse-vs-rank-vs-lookup distinction are front-loaded, and every later clause (filters, name normalization, pagination, rate limit) carries information an agent needs. It is dense and semicolon-chained, so it is slightly harder to scan than it could be, but nothing is padding.

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 values need no explanation, and the description still covers filtering interaction, name-matching rules, pagination termination and access limits. For a 5-parameter read tool with rich annotations, nothing an agent needs in order to call it 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 would be 3, but the description adds real meaning: `regione` and `provincia` narrow to that entity and its contents at any `livello` and must agree with each other, and names are matched ignoring case, accents and punctuation. It does not restate the `limite`/`offset` bounds, which the schema already documents.

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?

Opens with a specific verb and resource: 'Lists Italian regions, provinces or comuni alphabetically, with the counts of provinces and comuni they contain.' It also names the two siblings it is not (classifica_territori for ranking, cerca_comune for name lookup), so an agent can pick it without opening another 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?

Explicit positive case ('browse the territory and get the names classifica_territori accepts') plus two explicit negative cases routing to classifica_territori and cerca_comune. The when-not guidance is stated as a direct instruction, not inferred from the sibling list.

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.

Resources