Compare one rule across many places
compare_ruleOne rule across every municipality of a comunidad or provincia (or a list of place_ids), in one call: its value in each, with source, check date and tier. Suited to portfolio and "where can I…" questions, e.g. key alquiler_turistico_licencias over a province (where new tourist rentals are allowed) or ibi_urbana_tipo (property tax by town). Paginated by 150. En español: comparar una norma o impuesto entre municipios (dónde se permite el alquiler turístico, qué municipio tiene el IBI más bajo).
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": {
"key": "<key>"
},
"name": "compare_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | A rule key, e.g. alquiler_turistico_licencias, ibi_urbana_tipo, plusvalia_tipo_gravamen, itp_tipo_general. | |
| date | No | Optional YYYY-MM-DD. Default today. | |
| offset | No | Pagination offset (next_offset of the previous page). | |
| area_id | No | A comunidad or provincia place id from find_place. | |
| place_ids | No | Instead of area_id: up to 200 place ids. |