Skip to main content
Glama
GSA-TTS

mcp-server-usace-iwr

by GSA-TTS

Find River Mile Markers Near a Location

usace_rivermile_find_markers
Read-onlyIdempotent

Find USACE river mile markers near a point or within a polygon. Submit latitude/longitude with a radius for proximity search, or a GeoJSON geometry to retrieve markers that intersect the area.

Instructions

Find USACE river mile markers near a point or within a geometry.

Accepts EITHER a lat/lon pair (+ radius_meters) OR a GeoJSON geometry string.

Use lat+lon when: "What river mile markers are near 31.45, -92.71?", "Markers within 2 km of this boat ramp?" Use geometry when: "Which markers fall inside this county polygon / bbox?", "Markers along this river-reach corridor?"

For point (lat/lon) queries, each returned marker includes 'distance_m' (great-circle meters from the query point) and results are sorted nearest-first. Geometry queries return markers intersecting the geometry.

Returns: { "count": int, # markers returned (after limit) "truncated": bool, # true if more markers matched than returned "markers": [ { name, MILE, RIVER_NAME, RIVER_CODE, RIVER_NUMB, LONGITUDE1, LATITUDE1, SOURCE, distance_m? }, ... ], "query": { "type": str, "radius_meters": float|null, "crs_epsg": int }, "provenance": { source agency, dataset, service URL, layer, CRS, retrieved_utc } }

Error responses:

  • "Error: supply either lat+lon or geometry, not both (or neither)"

  • "Error: 'geometry' is not valid JSON: ..."

  • "Error: unsupported geometry type ..."

  • "Error: River Mile request failed: ..."

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latNoLatitude in decimal degrees (WGS84). Use with 'lon' for a proximity search. Omit when supplying 'geometry'.
lonNoLongitude in decimal degrees (WGS84). Use with 'lat' for a proximity search. Omit when supplying 'geometry'.
limitNoMaximum number of markers to return. Default 25.
geometryNoGeoJSON geometry object as a JSON string. Supported types: Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon. Also accepts BoundingBox shorthand: {"type": "BoundingBox", "bbox": [minLon, minLat, maxLon, maxLat]}. All coordinates must be WGS84 decimal degrees. Supply either this OR lat+lon, not both.
radius_metersNoSearch radius in meters around the lat/lon point. Ignored when 'geometry' is supplied. Default 5000 (5 km).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

The annotations already state readOnlyHint=true, destructiveHint=false, and idempotentHint=true. The description adds value beyond annotations by explaining that results for point queries include 'distance_m' and are sorted nearest-first, that geometry queries return intersecting markers, and that the 'truncated' field indicates more matches exist. It also lists error responses. This is above and beyond what annotations provide, though the output schema (which exists) already documents the return format, slightly reducing the need for that detail.

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 description is well-structured with clear sections (purpose, usage patterns, return format, error responses). It is fairly concise for the amount of information provided, but could be slightly trimmed (e.g., the full error list could be summarized as 'See error responses: ...'). Still, nearly every sentence earns its place.

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 a tool with 5 parameters, 100% schema coverage, a detailed output schema, and comprehensive annotations, the description is nearly complete. It explains the two usage modes, result sorting, truncation behavior, and error cases. The only minor gap is that it does not explicitly state what happens when no markers are found (though the output schema structure implicitly shows count=0). Overall, very well-rounded.

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%, providing solid baseline. The description adds limited extra semantics beyond the schema—it explains the dual-mode logic and gives usage examples, but the schema already covers descriptions for each parameter decently. The description does not add new constraints or format details for parameters that aren't already in the schema. Baseline 3 is appropriate.

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 clearly specifies 'Find USACE river mile markers near a point or within a geometry', using a specific verb ('Find'), a distinct resource ('USACE river mile markers'), and the operation's dual modes (point+radius or geometry). It explicitly distinguishes itself from siblings by not being the 'nearest' or a generic 'query' tool.

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?

The description provides explicit when-to-use guidance with concrete query examples for both lat/lon and geometry modes, and clearly warns 'supply either lat+lon or geometry, not both (or neither)'. This fully addresses when and how to choose between usage patterns, earning a top score.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GSA-TTS/mcp-server-usace-iwr'

If you have feedback or need assistance with the MCP directory API, please join our Discord server