Skip to main content
Glama

Beach forecast for a Spanish beach

get_beach_forecast

Returns AEMET's 3-day beach forecast for 591 Spanish beaches: sky, wind, waves, temperatures, thermal sensation, and UV index. Search by beach name, municipality, or 7-digit beach code.

Instructions

Returns the AEMET beach forecast for the next three days: sky, wind and waves for morning and afternoon, plus maximum temperature, water temperature, thermal sensation and maximum UV index. Covers the 591 beaches AEMET forecasts during the bathing season. Accepts a beach name (accents optional), optionally narrowed by municipality, or the 7-digit AEMET beach code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoNumber of days to include (1-3, default 3). AEMET publishes three days per beach.
locationYesBeach name, with or without accents ('La Concha', 'Sant Joan', 'Playa de las Canteras'). Add the municipality after a comma when the name repeats ('La Concha, Suances'), or pass the 7-digit AEMET beach code ('3908503'). A coastal municipality name on its own lists its beaches.
municipalityNoMunicipality or province used to disambiguate beaches that share a name ('Suances', 'Cantabria').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses that the forecast covers 591 beaches during the bathing season, which hints at a seasonal limitation, and mentions input flexibility (accents optional, code). It does not disclose error handling, availability, or whether the forecast might be empty outside the season, but for a read-only forecast tool these are minor. The description adds some behavioral context beyond the schema, but not exhaustive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, well-organized paragraph that front-loads the core purpose (three-day forecast with specific fields), then covers scope and input options. Every sentence contributes useful information with no fluff or repetition. It is appropriately sized for the tool's complexity.

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?

The description explains the output (sky, wind, waves, temperatures, UV index) and the input methods, covering both what the tool returns and how to specify location. It does not describe the exact return format (e.g., JSON structure) or error cases, but since there is no output schema, the description provides sufficient context for an agent to call it correctly. Minor gaps like units or error handling are not critical.

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%, so the schema already documents all three parameters thoroughly. The description restates the location options (accents, municipality, code) and adds the note that a municipality alone lists beaches, but this is also present in the schema. The description does not add new semantic meaning beyond what the schema provides, so a baseline 3 is appropriate.

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?

The description uses a specific verb ('Returns') and names the exact resource ('AEMET beach forecast') along with the covered period and data fields. It clearly differentiates from siblings like get_mountain_forecast and get_maritime_forecast by specifying 'beach' and 'AEMET', so an agent can identify it without opening other definitions.

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?

The description implies when to use it: for beach forecasts from AEMET. It also explains input options (name, municipality, code) and mentions seasonal coverage. However, it does not explicitly state 'use this for beaches, not mountains or maritime', leaving some inference to the agent. The clear resource name and sibling names make the intended usage obvious, so this is above average.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.