Skip to main content
Glama

Global Weather & Marine

Coastal Flood Risk Forecast

weather_get_flood_risk
Read-onlyIdempotent

Estimate coastal flooding risk and projected total water levels by combining live NOAA wind and air pressure surge with a recent observed NOAA tide reading or your own tide heights. Price: $0.05 with a prepaid API key or USDC.

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

Input Schema

NameRequiredDescriptionDefault
tide_ftNoOptional tide heights in feet above low tide, one value per forecast hour.
latitudeNoCoastal latitude in decimal degrees (-90 to 90).
longitudeNoCoastal longitude in decimal degrees (-180 to 180).
spend_keyNoOptional prepaid API key for paid lookups. Can also be sent in the x-atlas-spend-key header.
credit_keyNoOptional prepaid API key for paid lookups. Can also be sent in the x-atlas-spend-key header.
lead_hoursNoOptional forecast hours to evaluate (for example [0, 6, 12]).
destinationNoOptional coastal city shortcut with an active NOAA tide gauge.
builder_codeNoOptional partner referral code for revenue sharing.
flood_stage_ftNoOptional local minor flood level in feet above low tide.
idempotency_keyNoOptional unique request ID so retries are never billed twice.
payment_signatureNoOptional direct payment header when paying per request without a prepaid API key.

Output Schema

NameRequiredDescriptionDefault
okYes
risk_levelNo
max_exceed_probabilityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / destination / enum
      Previous value: -[
      -  "annapolis",
      -  "ocean_city",
      -  "wharf_dc",
      -  "national_harbor",
      -  "st_croix",
      -  "kill_devil_hills"
      -]New value: +[
      +  "annapolis",
      +  "ocean_city",
      +  "wharf_dc",
      +  "national_harbor",
      +  "mgm_national_harbor",
      +  "navy_yard",
      +  "st_croix",
      +  "kill_devil_hills"
      +]
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, and the description adds genuinely new context: per-call cost ($0.05), accepted payment paths (prepaid key or USDC), and the provenance of the underlying data (live NOAA surge plus a recent observed tide gauge). It does not cover failure modes such as what happens when no destination or tide input is supplied, which keeps it below 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.

Conciseness5/5

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

Two sentences, zero filler, with the core purpose and methodology front-loaded before the cost note. Nothing is repeated from the schema.

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?

For an 11-parameter, zero-required tool with an output schema and full annotation coverage, the description supplies purpose, data sources, and pricing, which is the information an agent cannot get from structured fields. It leaves ambiguous what the tool does when neither destination nor tide_ft is provided, but that is a minor gap given the output schema handles returns.

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?

Schema coverage is 100%, so the schema already documents all 11 parameters including ranges, patterns and the destination enum. The description adds modest meaning by framing tide_ft as an alternative to a live observed gauge reading, but gives no further guidance on lead_hours, flood_stage_ft thresholds, or how spend_key/credit_key/payment_signature differ. Baseline 3 is appropriate.

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?

States a specific verb and resource ('Estimate coastal flooding risk and projected total water levels') and explains the mechanism (NOAA wind/pressure surge combined with an observed or user-supplied tide). It does not name a sibling to differentiate from, notably weather_get_tides or weather_get_river_gauge, so an agent must infer that this adds surge modeling on top of raw tide data.

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 implied rather than stated: the mention of 'a recent observed NOAA tide reading or your own tide heights' hints at input alternatives, and the price note gives a reason to prefer cheaper siblings when cost matters. There is no explicit when-to-use/when-not or named alternative, so selection against weather_get_tides and weather_get_river_gauge is 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