Skip to main content
Glama

Expat Living Italy

Get one region's profile

get_region
Read-onlyIdempotent

One Italian region (slug such as abruzzo or friuli-venezia-giulia, or its name): population, foreign residents by citizenship (citizenship, not birthplace), seismicZones (a count of its comuni per official seismic zone, never an average), the region-grain map layers (healthcare scores), its provinces (look each up with get_province) and how much of the region meets each verified tax regime (places, not people). Trentino-Alto Adige/Südtirol is scored by autonomous province, so its regional healthcare value is null with a reason: use get_province for Bolzano and Trento. A section a source lacks is null and listed in missingSections: report it as missing.

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": {
      "slug": "<slug>"
    },
    "name": "get_region"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesA region's slug, e.g. "abruzzo" or "friuli-venezia-giulia", or its name. Find it in a comune's `region` or a province's `regionSlug`.

Output Schema

NameRequiredDescriptionDefault
layersYesEvery region-grain map layer (healthcare scores) for this region. Trentino-Alto Adige/Südtirol is scored by autonomous province, so its regional value is null with a reason: look up Bolzano and Trento with GET /province/{code}. Province- and comune-grain layers are not rolled up here.
regionYes
articlesNoPublished articles that list this region itself among their places (one that names only a province or comune in it is not included) — the reporting behind the numbers. Credit required to reuse.
populationYesSum of the region's comuni.
taxRegimesYesVerified regimes with at least one qualifying comune here. Places, not people; a regime absent here is not a no.
attributionYes
seismicZonesYesHow this region's comuni are spread across the official seismic zones: a count per zone, never an average.
missingSectionsYesEvery part of this profile a source has no figure for, with why.
placesNotPeopleYes
foreignResidentsByCitizenshipYesCitizenship, not birthplace, and only the citizenships this site tracks, so a floor. Summed over the comuni ISTAT has a row for: `coverage` says how many that is, and a comune with no row adds nothing rather than a zero.
foreignResidentsAllCitizenshipsYesISTAT's own all-citizenship total (citizenship, not birthplace), summed over the comuni that have one; `coverage` says how many.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / articles
      Added value: +{
      +  "description": "Published articles that list this region itself among their places (one that names only a province or comune in it is not included) — the reporting behind the numbers. Credit required to reuse.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "markdownUrl": {
      +        "type": "string"
      +      },
      +      "slug": {
      +        "type": "string"
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "slug",
      +      "title",
      +      "url",
      +      "markdownUrl"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, and closed-world, so the safety profile is covered. The description still adds real semantic context beyond that: null-with-reason for Trentino healthcare, and the missingSections/null reporting convention. It does not discuss pagination or payload size, but for a single-entity read that is minor.

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?

Front-loaded with the resource and identifier before the field list, and no sentence is filler. However it is one long run-on sentence with many parentheticals, which makes it harder to scan than a short bulleted breakdown would be.

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?

Covers the edge cases an agent would otherwise get wrong — null regions, missingSections reporting, province-level scoring for Trentino — and an output schema exists so return values need not be re-explained. The detailed field enumeration partly duplicates the output schema, which is the only redundancy against an otherwise complete definition.

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 coverage is 100% and the single slug parameter is fully documented in the schema, including the pattern and examples. The description repeats "slug such as abruzzo or friuli-venezia-giulia, or its name" and adds no format or resolution detail beyond what the schema already states, so baseline 3 applies.

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?

Names a specific resource and scope ("One Italian region") and enumerates what the profile contains — population, foreign residents, seismicZones, map layers, provinces, tax-regime coverage — so it is clearly distinguishable from get_province and get_comune. The slug examples (abruzzo, friuli-venezia-giulia) anchor the identifier format concretely.

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?

Gives explicit routing for the tricky case: provinces are looked up with get_province, and specifically "use get_province for Bolzano and Trento" because Trentino-Alto Adige is scored by autonomous province. It does not state when to prefer a region-grain lookup over search_comuni or get_comune, though the resource itself makes that mostly self-evident.

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