Skip to main content
Glama

Surf Booking: Surf Lessons & Surf Forecast

Search surf lessons

search_lessons
Read-onlyIdempotent

Search bookable surf lessons on SurfBooking by free-text query (zone, beach, level, activity), with optional structured filters (level, maxPrice, date range). Returns upcoming lessons with date, time, spot, level, school, price and a booking link, and says how many matched. All times are the local time of the beach. SurfBooking zones with schools only: Portugal, Spain and Morocco. Read-only — does not book or charge anything. It returns lessons, not a ranking of where the surf is good right now. Great for 'aulas de surf na Ericeira', 'beginner lessons this weekend' or 'surf lesson under 40 euros'. This is the general search by place, level, date and price; it does not filter by what the sea is doing, and it does not search hotels.

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": {
      "query": "<query>"
    },
    "name": "search_lessons"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoOptional — latest date, YYYY-MM-DD (local date at the beach).
fromNoOptional — earliest date, YYYY-MM-DD (local date at the beach). For a single day, set from and to to the same date.
levelNoOptional — only this level.
queryYesFree text in Portuguese, English, Spanish, French, German or Italian, e.g. 'beginner Carcavelos', 'aulas iniciante Ericeira', 'kurs morgen Ericeira' or 'cours debutant Peniche'. Min 2 chars.
maxPriceNoOptional — only lessons at or below this price in EUR, e.g. 50.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / from / description
      Previous value: -"Optional — earliest date, YYYY-MM-DD (Europe/Lisbon). For a single day, set from and to to the same date."New value: +"Optional — earliest date, YYYY-MM-DD (local date at the beach). For a single day, set from and to to the same date."
    • changedInput schema / properties / to / description
      Previous value: -"Optional — latest date, YYYY-MM-DD (Europe/Lisbon)."New value: +"Optional — latest date, YYYY-MM-DD (local date at the beach)."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the "does not book or charge anything" line is confirmation rather than new information. The description does add genuinely non-structured behavior: results are upcoming lessons with a matched count, all times are beach-local, and the catalog is limited to Portugal, Spain and Morocco — all things an agent cannot learn from the annotations.

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?

Purpose, return shape and coverage come first, with examples last — good front-loading. The final sentence restates exclusions already made (not sea conditions, not hotels), which is mild redundancy rather than wasted space.

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?

With no output schema, the description carries the return contract and does so: upcoming lessons with date, time, spot, level, school, price, booking link and a total count. Combined with zone coverage, timezone semantics and the read-only guarantee, nothing an agent needs before calling is missing.

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 level, maxPrice, from and to are already fully documented, including the same-day hint and EUR pricing. The description only adds that the free-text query can encode zone, beach, level or activity and reiterates beach-local time for dates — useful but marginal over a complete schema, so the baseline of 3 applies.

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?

"Search bookable surf lessons on SurfBooking by free-text query ... with optional structured filters" states a specific verb, resource, and search mechanism, and the closing sentences carve out what it is not (not the sea-condition search, not hotels), which separates it from find_lessons_by_conditions and best_surf_today.

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 when-to-use examples ('aulas de surf na Ericeira', 'beginner lessons this weekend', 'surf lesson under 40 euros') plus explicit exclusions (no sea-condition filtering, no hotels), and notes the supported zone coverage. No sibling tool is named as the alternative, so the agent must map the negative descriptions to find_lessons_by_conditions or surf_forecast itself.

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