Skip to main content
Glama

get_water_levels

Fetch observed water levels for a station across a chosen time range, returning highest, lowest, mean and data points; use tide predictions for future levels.

Instructions

Get observed (measured) water levels for a station over a time range.

    Returns a summary (highest, lowest, mean) and the points. Some stations
    do not report observed levels, and a station can go quiet for a while;
    the error says so. For the future, use get_tide_predictions instead.

    Args:
        station: Station code like "07735" or a name like "Vancouver".
        start: Start time. "2026-11-24" (whole local day), "2026-11-24T08:00"
            (station local time), "2026-11-24T16:00:00Z" (UTC) or "now".
        end: End time, same formats. A date alone means the end of that day.
            At most 7 days after start.
        resolution_minutes: 15 or 60. At most 200 points are returned.
    

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": {
      "station": "<station>",
      "start": "<start>",
      "end": "<end>"
    },
    "name": "get_water_levels"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYes
startYes
stationYes
resolution_minutesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does most of it: it discloses the return shape (summary of highest/lowest/mean plus the points), the failure behavior (errors say when a station lacks observed levels or went quiet), and two hard limits (max 7 days, max 200 points). It does not mention auth needs, rate limits, or pagination beyond the 200-point cap, which keeps it short of a 5.

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-loaded with the one-line purpose, then behavior, then a per-argument block, so an agent can stop reading after the first two sentences. The wrapped Args block carries some formatting noise, but every sentence adds information and none is filler.

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 and no annotations, yet the description covers return contents, error semantics, and both range and point-count limits relative to a 4-parameter tool. Nothing an agent needs to call it correctly 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?

Schema coverage is 0%, so the description must do all the work, and it does: station accepts a code or name with examples, start/end document three accepted formats plus "now" with local-vs-UTC disambiguation and the date-means-end-of-day rule, and resolution_minutes is constrained to 15 or 60. Only the default value (60) is left 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?

"Get observed (measured) water levels for a station over a time range" is a specific verb+resource+scope, and the description explicitly separates it from the prediction sibling ("For the future, use get_tide_predictions instead"). An agent can distinguish this from tide-prediction tools without opening any 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 use condition (observed levels over a time range) and an explicit exclusion with redirect (future times → get_tide_predictions). It also pre-flags the failure mode where a station reports no observed levels or goes quiet, which is the main reason an agent would otherwise retry blindly.

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