Skip to main content
Glama

Surf Booking: Surf Lessons & Surf Forecast

Lessons for the conditions

find_lessons_by_conditions
Read-onlyIdempotent

Find bookable surf lessons whose forecast sea, at the lesson's own beach and hour, matches the given criteria: minimum open-sea wave height, minimum surf score (0–10), light wind, and/or a level and zone. Returns real upcoming lessons with date, time (local to the beach), beach, the forecast for that hour, level, price, school, lesson id and booking link. Lessons whose hour has no forecast yet are left out when a sea criterion is given, and the reply says how many. Great for 'find beginner lessons when the sea is at least 1m', 'lessons on days with light wind' or 'surf quando o mar tiver pelo menos 1.5m'. Read-only, SurfBooking zones with schools only: Portugal, Spain and Morocco. Books or charges nothing. It always returns lessons, never a plain ranking of beaches.

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": "find_lessons_by_conditions"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoOptional — how many days ahead to look, from today (default 7, max 14).
zoneNoOptional — zone/region name, e.g. 'Porto' or 'Ericeira'.
levelNoOptional — only lessons for this level.
waveMinNoOptional — minimum open-sea wave height in metres at the lesson's hour, e.g. 1 or 1.5.
scoreMinNoOptional — minimum SurfBooking sea score (0–10) at the lesson's hour.
lightWindNoOptional — if true, only lessons whose hour has wind of 30 km/h or less.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description adds real behavior: lessons without a forecast are dropped when a sea criterion is given and the count of exclusions is reported back. It also encloses scope (Portugal, Spain, Morocco, zones with schools) and states nothing is booked or charged.

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?

Front-loads the core purpose and keeps a tight structure, but 'Read-only' and 'Books or charges nothing' say largely the same thing, and the closing clause slightly restates the opening 'find lessons' framing. Minor redundancy rather than bloat.

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?

No output schema exists, and the description compensates by enumerating the returned fields (date, local time, beach, forecast for the hour, level, price, school, lesson id, booking link). Combined with the exclusion caveat and geo scope, an agent has everything needed to call and interpret results.

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 baseline would be 3, but the description adds the non-obvious semantic that wave/score/wind are evaluated at the lesson's own beach and hour rather than generically per day. It does not restate the default of 7 days or the max of 14, leaving that to the schema.

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?

States a specific verb and resource ('Find bookable surf lessons') and pins the matching logic precisely: the forecast at the lesson's own beach and hour. The closing line 'always returns lessons, never a plain ranking of beaches' distinguishes it from the ranking-oriented siblings like best_surf_today or recommend_spots.

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?

Gives concrete usage examples in three phrasings and clarifies the boundary that it never books or charges, plus the geographic scope where it applies. It stops short of explicitly naming when to pick search_lessons instead, so the alternative routing is only implied.

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