Skip to main content
Glama

find_stations

Locate tide gauge stations by place name or coordinates, returning distance-sorted results with station codes, time zones, and available water-level data series.

Instructions

Find tide gauge stations by place name, or the nearest ones to a point.

    Give `query` (for example "Halifax" or "Saint John"), or both `latitude`
    and `longitude`. With coordinates, results are sorted by distance. Each
    result has the station `code` to use in the other tools, its time zone,
    and which data series it has: wlo (observed water level), wlp (predicted
    water level), wlp-hilo (predicted high and low tides).

    Args:
        query: Part of a station name. Case does not matter.
        latitude: Degrees north, -90 to 90. Needs longitude.
        longitude: Degrees east, -180 to 180 (west is negative). Needs latitude.
        limit: How many stations to return, 1 to 20.
        max_distance_km: Drop stations farther than this from the point.
        include_inactive: Also list stations that are not operating.
    

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_stations"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
latitudeNo
longitudeNo
max_distance_kmNo
include_inactiveNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden well: it discloses distance sorting, the default exclusion of inactive stations via `include_inactive`, the `max_distance_km` filtering behavior, and the content of each result (code, time zone, available series). Gaps remain on no-argument behavior and on how `query` matching works (substring vs. prefix vs. fuzzy), which matter for callers crafting searches.

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?

The two-mode summary is front-loaded and the subsequent Args block is scannable and free of padding. The parameter list slightly duplicates the schema's job but adds genuine semantics rather than restating names.

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, the description usefully explains the shape of each result, including the station `code` and the wlo/wlp/wlp-hilo series flags, which an agent needs to chain into sibling tools. Only the edge cases — neither query nor coordinates supplied, and query-matching semantics — are left unaddressed for a six-parameter, zero-required tool.

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 description coverage is 0%, so the description must compensate, and it does: units ('Degrees north/east'), valid ranges for latitude and longitude, the negative-west convention, case-insensitivity for `query`, the 1–20 bound on `limit`, and the pairing requirement between latitude and longitude. It stops short of stating schema defaults (limit=5, include_inactive=false) or what a missing coordinate pair causes.

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 gives a specific verb and resource ('Find tide gauge stations') and enumerates the two lookup modes: by place name or nearest to a coordinate pair. It also implicitly distinguishes this discovery tool from the data-retrieval siblings by noting the returned `code` is what 'the other tools' consume.

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?

It states the two valid invocations explicitly — give `query`, or give both `latitude` and `longitude` — and notes that coordinate results are distance-sorted. It does not say what happens if neither form is supplied (list everything vs. error), nor does it name which sibling to use once a station code is known.

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