Skip to main content
Glama

Get Start Times

get_start_times
Read-onlyIdempotent

Give trail (required without a partner key). The start times of a trail with the permits left for visitors at each one (as the trail page shows them: a number from 6 up, "few" at 1 to 5, "full" at 0), and a book_url per open start time that opens Reserve on madeira.fun at that time. Today up to 119 days ahead: give trail and date, or from and to (up to 14 days per call). Further ahead, up to 180 days: one trail and one date per call. Start times that have already begun today are never listed. Rate limited; a partner key (Authorization: Bearer mfk_...) gives higher limits, longer ranges and every trail at once (omit trail).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_start_times"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast day of a range (YYYY-MM-DD, a Madeira calendar date).
dateNoOne day (YYYY-MM-DD, a Madeira calendar date).
fromNoFirst day of a range (YYYY-MM-DD, a Madeira calendar date).
trailNoThe 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. Required, except for a partner key asking for every trail.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world, but the description adds what annotations cannot: rate limiting, Bearer partner-key auth with elevated limits, the 119/180-day horizons, the 14-day per-call range cap, and the rule that start times already begun today are excluded. It even encodes the permit-count vocabulary so the agent can interpret the response.

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?

Nearly every clause carries operational information and the key constraint (trail required without a partner key) is front-loaded. The sentences are long and dense, with nesting of date modes and key tiers, so readability suffers slightly, but there is little filler to cut.

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?

There is no output schema, and the description compensates by describing the returned fields (permit counts and their encoding, book_url and where it opens). Auth, rate limits, date windows, and range caps are all covered, leaving nothing an agent needs in order to call it correctly.

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 a 3 is the floor, and the description earns more by tying parameters to behavior: trail is required unless a partner key asks for every trail, date is the single-day mode, and from/to is a range bounded at 14 days. The 119/180-day windows attached to those modes are meaning the schema does not carry.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource and payload: start times per trail, remaining permits per start time (with the page's own encoding: 6+, "few" for 1-5, "full" for 0), and a book_url per open slot. That is far more than a restatement of the name. It does not explicitly distinguish itself from the sibling check_trail_availability, which keeps it from a 5.

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?

It gives concrete invocation rules for two regimes: within 119 days use trail+date or a from/to range of at most 14 days; beyond that up to 180 days use one trail and one date only. It also states the partner-key variant (higher limits, longer ranges, omit trail for all trails). It never says when to prefer this over check_trail_availability or get_permit_fees, so exclusions are missing.

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