Skip to main content
Glama

Get a surf town

get_town
Read-onlyIdempotent

Full profile of one surf town: description, season, water temperature, wave types, levels and curated surf spots (each with its type, level, the way its coast faces in degrees (facing), its best tide where known (tide, e.g. "low to mid, rising", with tideSources), the size of surf it works at where its guides say (size: [from, to] in metres of wave face, either end null when the guides do not say or disagree, with sizeSources: Waimea Bay [4.6, 9.1] only breaks when it is huge; surf_forecast rates each spot inside its window), reviewed photos of surf at that break when there are any (photo: the first; photos: up to 5, someone surfing first, each with the author and licence its credit names; most are freely licensed, but those with source "owned" are Swell Cabin's own, bought (Swell Cabin uses them on its site and its own social posts, credited "Swell Cabin"): they are licensed for showing only with a link to the town page, not for reuse elsewhere; the town's own photo, photo, may be one too), and reviewed YouTube surf clips filmed there: clips[].url). stories are a few true things worth telling about the town, each fact-checked against the pages in its sources: its surf history (kind history, with the year), a fact about the place or its waves (fact) and a place worth a stop (place); they answer what a town is known for, and each story's own page on Swell Cabin (url: /town//story/) carries the whole story, the outside pages being its sources. dataQuality says how far to trust the town's data (trust 0–100 and level high/medium/low, when it was last checked against sources, how many spots are verified, open audit warnings): low trust, or data never checked, means its figures may be wrong. surfByMonth gives, for each month, how often the surf was good there over the last three years, from Open-Meteo's wave and weather models (goodDays, greatDays: % of days rated Good or better / Great or better at the best spot; seaTempC: the mean sea temperature measured by satellite, NASA JPL MUR SST; waveHeightM; rainMm: the mean rain of the month in town) and drySeason (the dry months by Open-Meteo's weather model, or all/none), with its source: the answer to "when should I go" from three years of data (the waves, and the weather for the trip), not a forecast. seasons answers "is it worth going outside the season, and what should I expect": season (the best months with their good/great days, wave height, sea and rain over three years), allYear, and rest: the other months in runs (Biarritz: summer and winter), each compared with the season (waves smaller/bigger/same, water warmer/colder, rain wetter/drier, surf worth/fewer/rare), forLearners (smaller waves at a town with beginner spots), nearlyAsGood (a month in the run nearly as good as the season: a shoulder month) and inSeasonNearby (towns within 300 km whose own season it is then, e.g. Keramas on Bali's east coast when the Bukit's season is over). links.tides, where the town has a tide gauge, is its tide page on Swell Cabin: the tide chart and tide times (highs and lows) for the coming days, the gauge, and each spot's best tide; surf_forecast has the tides in its days. links.lessons, where the town has a surf school or surf camp mapped, is its surf lessons page on Swell Cabin: the surf schools and surf camps with their contacts (closest to a surf spot first), the spots for beginners with their best tide, the best months and the wetsuit; nearby_places (category surf) lists every one. links.water, where the town's sea temperature is measured, is its water temperature page on Swell Cabin: today's sea temperature with its date (from the forecast) and each month's mean measured by satellite, with the wetsuit for it.

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": {
      "slug": "<slug>"
    },
    "name": "get_town"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesTown slug from search_towns, e.g. "ericeira".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, non-destructive and closed-world, so the bar is lower, yet the description adds real behavioral context: dataQuality trust scoring and audit warnings that signal when figures may be wrong, and licensing constraints on photos (source "owned" images may only be shown with a link to the town page, not reused). That licensing caveat is exactly the kind of operational constraint annotations cannot express.

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

Conciseness2/5

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

The description is a single sprawling block of roughly 600 words built from deeply nested parentheses, with no paragraphing or lists, making it hard to parse. The content is dense and largely relevant, but the structure works against comprehension and the front-loading benefit is lost after the first clause.

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?

With no output schema and a very large, complex return payload, the description carries the full documentation burden and does so exhaustively, covering stories, dataQuality, surfByMonth, seasons and every conditional link field. It omits error behavior (unknown or invalid slug) and gives no sense of payload size or truncation, which are the remaining gaps.

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?

There is a single parameter and schema description coverage is 100%, with the schema itself explaining the slug format and its origin in search_towns. The description adds no additional meaning about the slug, so the baseline of 3 for schema-complete parameters applies.

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 opening clause 'Full profile of one surf town' gives a specific resource and scope (single town, complete profile), and the enumeration of contained fields makes clear it is not a search or a forecast tool. It never names a sibling (search_towns, surf_forecast) as an alternative, so differentiation is implied by content rather than stated.

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

Usage Guidelines3/5

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

Usage is framed indirectly through questions the data answers — 'the answer to "when should I go"', 'is it worth going outside the season' — and it explicitly contrasts surfByMonth with 'not a forecast'. There is no explicit when-to-use/when-not statement and no routing to siblings such as surf_forecast for day-level conditions.

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