Skip to main content
Glama

River & bayou levels

get_river_levels
Read-onlyIdempotent

Current water levels at the NWS gauges near Crosby, TX (Cedar Bayou, San Jacinto River, Luce Bayou, Goose Creek, East Fork San Jacinto). Each gauge reports stage in feet, flow in cfs (often null), its NWS flood category (no_flooding, action, minor, moderate, major, or not_defined), and flood-stage thresholds in feet. Gauges come in a fixed order, not by severity, each with its own validTime. For flooding now use this; for past crests use get_flood_history; for fishing-water conditions use get_fishing.

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_river_levels"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
gaugesYes
sourceNo
updatedNoISO 8601 timestamp of the last data refresh.
locationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedOutput schema / properties / gauges / items / properties / flow / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / gauges / items / properties / flow / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / gauges / items / properties / stage / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / gauges / items / properties / stage / type
      Removed value: -[
      -  "number",
      -  "null"
      -]
    • addedOutput schema / properties / updated / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / updated / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "gauges": {
      +      "items": {
      +        "properties": {
      +          "category": {
      +            "description": "no_flooding/action/minor/moderate/major, or not_defined where NWS defines no flood stages.",
      +            "type": "string"
      +          },
      +          "flow": {
      +            "description": "Observed discharge in cfs.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "officialUrl": {
      +            "type": "string"
      +          },
      +          "stage": {
      +            "description": "Observed gauge height in ft.",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "thresholds": {
      +            "description": "NWS flood-stage thresholds in ft, keyed action/minor/moderate/major.",
      +            "type": "object"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "location": {
      +      "type": "string"
      +    },
      +    "source": {
      +      "type": "string"
      +    },
      +    "updated": {
      +      "description": "ISO 8601 timestamp of the last data refresh.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "gauges"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description still adds real behavioral context the annotations cannot: per-gauge stage in feet, flow in cfs that is 'often null', the exact flood-category enum values including not_defined, threshold reporting, and the caveat that gauges come in fixed order rather than by severity with their own validTime. It stops short of stating refresh cadence, which keeps it at 4.

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?

Three sentences, front-loaded with the scope, then the payload contents, then the routing rule. The parenthetical gauge list and the enum value list are dense but each detail prevents a likely misfire, so no sentence is wasted.

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?

With no input parameters and an output schema present, the description need not restate return values, yet it summarizes them anyway and flags the two traps an agent would otherwise hit: null flow values and non-severity ordering. Nothing an agent needs to call this correctly is missing.

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 zero parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. The description uses the space instead to explain the response fields, which is a reasonable substitute.

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 opens with a specific verb-and-resource statement ('Current water levels at the NWS gauges near Crosby, TX') and enumerates the actual gauges covered, so the scope is unambiguous. It is instantly distinguishable from get_flood_history and get_fishing, which concern past crests and fishing conditions respectively.

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?

It gives an explicit routing rule: 'For flooding now use this; for past crests use get_flood_history; for fishing-water conditions use get_fishing.' Both the use case and the two competing alternatives are named with the conditions that select them, leaving nothing to inference.

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.