Skip to main content
Glama

Measured rainfall

get_rainfall
Read-onlyIdempotent

Rain measured by the USGS weather station at the Lake Houston dam, about 5 miles west of Crosby, TX, in 15-minute amounts: the last hour, the last 24 hours, the day so far, and the last 7 days. Each window ends at the latest reading (latestReading), not at the current time, so check latestReading before reading a window as recent. A window or day short of its readings is marked incomplete and its total may be low; a missing reading is not a dry spell. Amounts are inches. Readings are provisional USGS data. This is one station, and rain can differ a lot over a few miles. For the forecast use get_forecast; for flooding use get_river_levels.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
pageNo
notesYes
sinceNoFirst Central day with a reading (YYYY-MM-DD).
sourceYes
stationYes
updatedNo
windowsNoNull when no readings exist yet.
recentDaysYesNewest first.
latestReadingNoISO 8601 instant of the newest reading. Every window ends here.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare this a safe, idempotent read, but the description adds substantial context beyond them: readings are provisional USGS data, incomplete windows may under-report, a missing reading is not a dry spell, and windows end at latestReading rather than wall-clock time. These are the exact pitfalls that would cause a wrong interpretation of the numbers.

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?

Front-loads the station, location, and window list, then adds caveats in short declarative sentences and finishes with sibling routing. No filler; every sentence carries either scope, interpretation guidance, or disambiguation.

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?

An output schema exists, so return structure need not be spelled out, and the description covers the remaining interpretive burden: units, provisional status, incomplete windows, missing-reading semantics, and single-station spatial limits. An agent has everything needed to call and correctly interpret it.

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?

The tool takes no parameters, so the baseline is 4; the description instead spends its words on output semantics (inches, window boundaries, completeness flags). Nothing about parameter meaning is missing because there are none.

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?

Names a specific verb+resource (rain measured by the USGS station at Lake Houston dam) and enumerates exactly what is returned: 15-minute amounts aggregated into last hour, last 24 hours, day so far, and last 7 days. It is clearly distinguishable from forecast and river-level siblings.

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?

Explicitly routes the agent elsewhere: 'For the forecast use get_forecast; for flooding use get_river_levels.' It also gives a within-tool usage rule — check latestReading before treating a window as current — which is exactly the when-to-use guidance an agent needs.

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.