Read the high and low season month of an Italian comune
leggi_affluenza_mensileReads the high and low season of one Italian comune: only the month with the most guest arrivals and the month with the fewest, each with its arrivals per resident. Use it to learn when a comune is busiest or quietest; do not use it for yearly totals (use leggi_dati_comune instead) or a trend (use leggi_serie_comune instead). cod_istat (from cerca_comune) is the only input: the year is the latest with yearly arrivals (anno), and base says if its months are ISTAT figures or estimates. Prices are not measured: the busiest month is usually the priciest, the quietest the cheapest. Seasons that cannot be worked out are null with a nota; an unknown code is an error saying what to pass. 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": {
"cod_istat": "<cod_istat>"
},
"name": "leggi_affluenza_mensile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cod_istat | Yes | 6-digit ISTAT code of the comune, as a string with leading zeros kept ("058091" is Roma). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| anno | Yes | Year of the arrivals the two seasons are worked out on: the latest year with yearly arrivals for the comune. Null when it has no yearly arrivals, no resident population or no territorial profile on the site (see `nota`). | |
| base | Yes | Where the monthly arrivals come from: arrivi = the monthly arrivals ISTAT publishes for the comune; comune = an estimate, the yearly arrivals spread over the months as the comune's own nights spent are; provincia, regione, italia = an estimate, the yearly arrivals spread with the average seasonal shape of the comuni of its province, of its region or of Italy. Null when the seasons are. | |
| nome | Yes | Official name of the comune. | |
| nota | Yes | Notes in English on reading the two seasons: the months in words, what the index measures, that prices are not measured, whether the monthly arrivals are an estimate, or why the seasons are null. | |
| fonte | Yes | Source to cite with the figures: processed by DatiTuristici.it from institutional data (ISTAT). | |
| scheda | Yes | Link to the comune's public page on datituristici.it, to cite. | |
| regione | Yes | Region as recorded by ISTAT (Bolzano and Trento are provinces of TRENTINO-ALTO ADIGE); null if not recorded. | |
| cod_istat | Yes | 6-digit ISTAT code of the comune, as a string with leading zeros kept. | |
| provincia | Yes | Province (or metropolitan city) as recorded by ISTAT; null if not recorded. | |
| alta_stagione | Yes | The high season of the comune in `anno`: the month with the most guest arrivals. Null when it cannot be worked out (see `nota`). | |
| bassa_stagione | Yes | The low season of the comune in `anno`: the month with the fewest guest arrivals. Null when it cannot be worked out (see `nota`). | |
| anno_popolazione | Yes | Year of the resident population that divides the arrivals: `anno`, or the closest year available. Null when `anno` is. |