Check Trail Availability
check_trail_availabilityDay-by-day permit availability for one trail, from today up to 119 days ahead (Madeira dates). Each day is open (start times left for visitors), full (sold out for visitors), started (today only: every start time has already begun, nothing is left to book today; not sold out), closed, no_times (no start times listed) or unknown (not checked yet), with permits left for visitors and when it was last checked. Use date for one day, or from and to for a range; the default is the next 7 days. For the start times of a day, use get_start_times.
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": {
"trail": "<trail>"
},
"name": "check_trail_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day of a range (YYYY-MM-DD, a Madeira calendar date). | |
| date | No | One day (YYYY-MM-DD, a Madeira calendar date). | |
| from | No | First day of a range (YYYY-MM-DD, a Madeira calendar date). | |
| trail | Yes | The trail: its seo_slug from list_permit_trails (preferred), a code such as "PR 18", "PR18" or "PS PR1", or a name such as "Levada do Rei". Accents are ignored. |