Skip to main content
Glama
GSA-TTS

mcp-server-usace-iwr

by GSA-TTS

Query River Mile Markers by River and Mile Range

usace_rivermile_query
Read-onlyIdempotent

Query USACE river mile markers by river name or mile-value range to find marker locations, names, and coordinates. Returns paginated results ordered by mile, with total count and offset for navigation.

Instructions

Query USACE river mile markers by river name and/or mile-value range.

Use when: "List markers on the RED river", "How many markers on the Mississippi between mile 400 and 600?", "Show markers on the Ohio above mile 900" (mile_min=900).

Results are ordered by MILE ascending and paginated. total_count reflects all matching markers; use next_offset to fetch the next page.

Returns: { "count": int, # markers on this page "total_count": int, # total markers matching the filter "has_more": bool, "next_offset": int|null, # pass as 'offset' to get the next page "where": str, # the WHERE clause applied (for transparency) "markers": [ { name, MILE, RIVER_NAME, RIVER_CODE, RIVER_NUMB, LONGITUDE1, LATITUDE1, SOURCE }, ... ], "provenance": { source agency, dataset, service URL, layer, CRS, retrieved_utc } }

Error responses:

  • "Error: mile_min cannot be greater than mile_max"

  • "Error: provide at least one filter (river_name, mile_min, or mile_max)"

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum markers to return per page. Default 25.
offsetNoNumber of matching markers to skip (for pagination). Default 0.
mile_maxNoMaximum river mile value (inclusive). Omit for no upper bound.
mile_minNoMinimum river mile value (inclusive). Omit for no lower bound.
river_nameNoRiver name to filter on (case-insensitive substring match against RIVER_NAME, e.g. 'RED', 'MISSISSIPPI', 'OHIO'). Omit to match all rivers.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, so the safety profile is clear. The description adds useful behavioral details: results are ordered by MILE ascending, paginated via offset with total_count and next_offset, and a 'where' field is included for transparency. It also documents three specific error responses. Minor gap: no mention of rate limits or data staleness, but overall strong for a read-only query tool.

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?

The description is well-structured with clear sections: purpose, usage examples, pagination semantics, output format, and error responses. Every line is informative, and the examples are front-loaded. At about 20 lines, it's appropriately sized without redundancy.

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 has 5 parameters with 100% schema coverage, an output schema that documents the return structure, and clear annotations, the description is complete. It covers pagination behavior, error handling, filter constraints, and response structure. No gaps remain for effective agent decision-making.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so baseline is 3. The description adds value by showing example values (e.g., 'RED', 'MISSISSIPPI', 'OHIO') for river_name, clarifying inclusive bounds for mile_min/mile_max, and demonstrating usage patterns (e.g., 'mile_min=900'). It also explains the interplay between filters ('provide at least one filter'). However, it doesn't add new parameter semantics beyond what the schema already provides, so a 4 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 states the tool queries USACE river mile markers by river name and/or mile-value range, using specific verbs like 'Query' and 'List'. It distinguishes from siblings by mentioning filtering by river and mile range, while sibling names like 'find_markers' and 'nearest' imply different use cases.

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 explicitly states when to use the tool with example queries ('List markers on the RED river', 'How many markers on the Mississippi between mile 400 and 600?') and provides a clear alternative pattern (mile_min=900). It does not mention siblings directly but implies when to use this vs other tools by its focus on combined river and mile filtering.

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