Skip to main content
Glama
gcoos-hfr MCP Server

gcoos-hfr MCP Server

Official
by ioos

get_surface_currents

Retrieve total surface current vectors, mean and max speed summaries, and available radar sources for a location and time window.

Instructions

Combined (total) surface currents.

Without `source`: the available sources (use the `key`, e.g. hfrnet_6km) with their
freshness and bounds. With source, lat and lon: the nearest grid cell over the last
`hours` (1 to 720) as parallel arrays (times, u, v, hdop, nrad), thinned to about
max_points (0 = summary only) with a `summary` of mean and max speed. A 404 "No totals cell near that
position" means the point has no coverage (land, or outside the radar footprint).

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

Input Schema

NameRequiredDescriptionDefault
latNo
lonNo
hoursNo
sourceNo
max_pointsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does substantial work: it discloses the return structure (parallel arrays times, u, v, hdop, nrad), thinning behavior, the `hours` valid range of 1 to 720, and the meaning of a 404 'No totals cell near that position' error as a coverage gap (land or outside the radar footprint). It omits authentication, rate limits, and the unit conventions (e.g., speed units, coordinate reference), 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?

The two-mode structure is sensible and the leading headline is front-loaded, with no filler sentences. The second sentence is long and heavily line-wrapped in the source text, packing array fields, thinning, and the 404 case into one breath, which slightly reduces scanability.

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?

Given five parameters, zero schema description coverage, no annotations, and no output schema, the description is nearly sufficient: it covers both modes, the returned field set, the summary content (mean and max speed), and the failure case. Remaining gaps are units and coordinate format for lat/lon and whether the returned times are ISO or epoch.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 explains every one of the five parameters: `source` as a key like hfrnet_6km, `lat`/`lon` as a position resolved to the nearest grid cell, `hours` bounded 1 to 720, and `max_points` as a thinning target where 0 means summary only. This is meaning well beyond the bare type/default declarations in the schema.

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?

Starts with a specific verb+resource statement ('Combined (total) surface currents') and immediately clarifies that the tool has two modes: source discovery and point time-series retrieval. An agent can tell what the tool returns without opening the schema, though it does not explicitly distinguish itself from siblings such as get_radials.

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?

The description gives conditional usage: omit `source` to discover available sources (with freshness and bounds), or supply `source`, `lat` and `lon` to fetch a cell time series. That is effective when-to-call guidance keyed on the parameters, but no alternative sibling tool is named or excluded.

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