Skip to main content
Glama

Wqp Results Near Point

wqp_results_near_point
Read-onlyIdempotent

Water-quality sample results within a radius of a latitude/longitude, the "is the water near me tested, and what did it say" tool. Returns measured values with their station, date and unit. Sourced from the USGS/EPA Water Quality Portal.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 5,
      "latitude": 37.77,
      "longitude": -122.42,
      "startDate": "2020-01-01",
      "within_miles": 5,
      "characteristicName": "pH"
    },
    "name": "wqp_results_near_point"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results to return (default 100, max 1000)
endDateNoLatest sample date, YYYY-MM-DD
latitudeYesDecimal degrees, WGS84
longitudeYesDecimal degrees, WGS84 (negative in the US)
startDateNoEarliest sample date, YYYY-MM-DD
within_milesNoSearch radius in miles (default 10)
characteristicNameNoAnalyte name, e.g. "pH", "Nitrate", "Lead". Strongly recommended, an unfiltered radius query is very large.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / characteristicName / description
      Previous value: -"Analyte name, e.g. \"pH\", \"Nitrate\", \"Lead\". Strongly recommended — an unfiltered radius query is very large."New value: +"Analyte name, e.g. \"pH\", \"Nitrate\", \"Lead\". Strongly recommended, an unfiltered radius query is very large."
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent and non-destructive, so the safety profile is covered. The description adds value beyond that by disclosing the return payload shape ('measured values with their station, date and unit') and data provenance (USGS/EPA Water Quality Portal). It does not discuss result volume, pagination, or rate limits, which for an open-world radius query would have been the most useful addition.

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?

Three short sentences, front-loaded with the core purpose, then return shape, then source. Every sentence carries information and nothing is padded. The quoted mnemonic phrase is slightly informal but aids recall rather than adding noise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 does well to sketch the returned fields (value, station, date, unit) and the data source. It is still thin for an open-world query tool: no mention of how many results come back by default, ordering, truncation at the limit, or what empty results mean. Adequate but with clear gaps an agent would hit on first call.

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 description coverage is 100%, so all seven parameters including limit, within_miles, date bounds and characteristicName are already documented in the schema. The description only restates latitude/longitude and radius conceptually, adding no syntax, defaults, or units beyond what the schema provides. Baseline 3 applies when the schema carries the parameter burden.

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 ('Water-quality sample results') plus a spatial scope ('within a radius of a latitude/longitude') that clearly distinguishes it from a by-site or by-analyte lookup tool. The colloquial gloss ('is the water near me tested, and what did it say') reinforces the intent. It stops short of naming a sibling to contrast with, so it lands at 4 rather than 5.

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 by the 'near me' framing and the radius scoping, so an agent can infer this is the proximity query. However, it never states when to prefer this over wqp_get_results or wqp_search_sites, nor any prerequisites or exclusions. The one important usage constraint (filter by characteristicName or the query is huge) appears only in the schema, not the description.

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.