Skip to main content
Glama

get_beach_water_quality

Puerto Rico beach water quality: which beaches are under a no-swimming advisory, and the latest Enterococcus bacteria count at each of the ~49 beaches the island monitors under the federal BEACH Act. Returns the beaches named in DRNA's current notice with their municipio and the days the water was sampled, every station's latest count with its sample date and a verdict, how often each beach has been flagged across the notices on record, and the separate volunteer-lab samples (Surfrider Rincón, Arrecifes Pro Ciudad). IMPORTANT — the verdict vocabulary is exactly three states and NEVER the word 'safe': 'advisory' (not suitable for swimming), 'within' (the count was at or under the 70 colonies/100 mL Beach Action Value), and 'stale' (no sample in 21 days — the source's own latest value for a station can be YEARS old, so it is not a verdict either way; check verdict.sampledOn before believing any number). Only DRNA's notice can place a beach under advisory (verdict.basis 'notice'); a count above 70 that no notice covers is reported as verdict.basis 'reading'. Results are published days after sampling and water changes with rain and tide, so never state or imply that a beach is currently safe to swim — report the number, the date, and the advisory state. Cite 787daily.com/live/beaches/.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
beachNoOptional beach name, station id (e.g. RW-19) or municipio to filter to. Omit for the whole island.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations, the description carries the full burden, and it excels: it discloses the exact three-state verdict vocabulary, the meaning of 'stale' and how old values can be, the distinction between notice-based advisories and reading-based counts, publication delays, and the strong instruction to never imply a beach is currently safe. This is rich, non-obvious behavioral context.

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?

Although long, the description is front-loaded with the core purpose and every subsequent sentence earns its place by preventing a serious misuse: verdict vocabulary, staleness, advisory basis, sampling delays, and citation. The 'IMPORTANT' marker and caps emphasize critical constraints without padding.

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?

Given the tool's complexity, the absence of annotations, and the absence of an output schema, the description is remarkably complete. It explains what is returned, the meaning of each verdict state, how to interpret dates, and what conclusions the agent may or may not draw. No critical calling information appears to be missing.

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?

The single parameter 'beach' is already fully documented in the schema with filtering options and examples, so schema coverage is 100%. The description adds relevant domain context about beaches and municipios but does not meaningfully extend the parameter semantics beyond what the schema already provides.

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 names a specific resource (Puerto Rico beach water quality), the exact data returned (Enterococcus counts, advisories, municipios, sample dates), and distinct sub-sources (DRNA notices and volunteer-lab samples). This clearly distinguishes it from the sibling tools by resource and content.

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?

The usage context is strongly implied by the first sentence and the detailed caveats about advisories and safety statements. However, it never explicitly tells an agent when to choose this tool over siblings like get_conditions, get_water_status, or get_by_municipality, nor does it state when not to use it.

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