Skip to main content
Glama

Where the surf is good now

surf_now
Read-onlyIdempotent

Where the surf is good around the world in the next days: every town whose best day from today up to within_days ahead is at least min_rating, best first and soonest of equals, each with that day (rating Flat … Epic at its best spot, the spot, its best time, the surf in surfers' words, how sure the forecast is, the sea temperature that day in °C (water: the forecast's, matched to satellite measurements where there are any), and when: today, tomorrow or the weekday in the town's own time) and today's rating. Best first weighs the place in: the day's rating times how good the town's waves are all year (yearSurf: its % of Good and of Great days over three years in Open-Meteo's wave model, and rank, where that stands among Swell Cabin's towns from 0 to 1; null where there is no data, counted as the middle), so a Great day where the surf is often good (Uluwatu) comes before a Great day where it seldom is (Tel Aviv). From Swell Cabin's forecast for every town, worked out twice a day (generated says when; stale is true when it is more than 36 hours old). It answers "where is it good right now / this weekend"; surf_forecast has one town's full forecast, and each town has its url.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
regionNo
countryNoCountry name or ISO code, e.g. "Portugal" or "PT": only its towns.
min_ratingNogood
within_daysNoDays from today, today included.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / country
      Added value: +{
      +  "description": "Country name or ISO code, e.g. \"Portugal\" or \"PT\": only its towns.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations it discloses non-obvious behavior: the ranking is rating × yearSurf climatology, not raw rating; null yearSurf is counted as the middle; data is regenerated twice daily and flagged stale after 36 hours; sea temperature is the forecast's value cross-checked against satellite measurements. These materially change how an agent should interpret and trust the output.

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

Conciseness3/5

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

Content is front-loaded and every clause carries information, but it is delivered as one long run-on sentence with stacked parentheticals, making the ranking rule and return-shape hard to parse on a single read. Splitting the ranking explanation and the per-town return fields into separate sentences would cost no information.

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, so the description must define the return shape — and it fully enumerates it: the chosen day, rating, spot, best time, surfers' description, forecast confidence, sea temperature in °C, relative day in the town's local time, and today's rating. Freshness metadata is covered too, so nothing needed to call or interpret the result is missing.

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?

With only 40% schema coverage the description has to carry weight, and it does for most parameters: within_days ('up to within_days ahead', 'today included'), min_rating ('at least min_rating' plus the Flat-to-Epic scale at the best spot), and limit ('best first' implies truncation of the ranked list). region is never addressed and limit's cap/behavior on truncation is only implied, leaving a small gap the schema does not fill.

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 first clause names a specific resource and condition: every town whose best day within the window meets a threshold, ranked best-first. It also distinguishes itself from the sibling that covers the other granularity ('surf_forecast has one town's full forecast'), so an agent can choose without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the user question it answers ('where is it good right now / this weekend') and routes the alternative case to surf_forecast explicitly. The implicit exclusion (one town's detailed forecast) is stated rather than left to inference.

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