Skip to main content
Glama

Wasserstandsvorhersage

get_forecast
Read-onlyIdempotent

Newest published water-level forecast for a station: the median of the state agency model run, future points within the horizon. Only gauges whose state publishes numeric forecasts have one, so an empty result is normal. Indicative, not an official warning. Every result names the data provider in sourceNotice (search and flood situation: sourceNotices, keyed by sourceNoticeId); show that notice with any value, class or forecast you pass on, and the licence terms of the API require it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "stationId": "<stationId>"
    },
    "name": "get_forecast"
  }
}

Input Schema

NameRequiredDescriptionDefault
stationIdYesNamespaced station id, e.g. "lhp:RP_2640010"
horizonHoursNoHours ahead, default 72, capped at 240

Output Schema

NameRequiredDescriptionDefault
noteYes
unitYes
countYes
pointsYes
sourceYes
stationIdYes
generatedAtYesModel run time; null when none was published
horizonHoursYes
sourceNoticeYesNotice of the gauge as shown; show it with any value taken from this gauge. Null where none can be built, then no value is delivered
valueDivisorYesDivide valueCentimeters by this to read it in `unit`

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedOutput schema / properties / generatedAt / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / generatedAt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / source / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / source / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / sourceNotice / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "disclaimer": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Liability disclaimer"
      -      },
      -      "fetchedAt": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "When the values were fetched, UTC"
      -      },
      -      "form": {
      -        "description": "full-only: show the full text, never shorten; short-allowed",
      -        "type": "string"
      -      },
      -      "id": {
      -        "description": "Key of the source record",
      -        "type": "string"
      -      },
      -      "licence": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": {},
      -            "properties": {},
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "noOfficialWarning": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Statement that the values are no official warning"
      -      },
      -      "parts": {
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "fetchedAt": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "When the values were fetched, UTC"
      -            },
      -            "form": {
      -              "description": "full-only: show the full text, never shorten; short-allowed",
      -              "type": "string"
      -            },
      -            "id": {
      -              "description": "Key of the source record",
      -              "type": "string"
      -            },
      -            "licence": {
      -              "anyOf": [
      -                {
      -                  "additionalProperties": {},
      -                  "properties": {},
      -                  "type": "object"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "permissionBasis": {
      -              "type": "string"
      -            },
      -            "rightsHolder": {
      -              "type": "string"
      -            },
      -            "sourceName": {
      -              "type": "string"
      -            },
      -            "sourceUrl": {
      -              "type": "string"
      -            },
      -            "stampedAt": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "The provider's own time stamp, UTC"
      -            },
      -            "stationLink": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Origin page of this gauge where one is required"
      -            },
      -            "text": {
      -              "description": "The full notice as plain text",
      -              "type": "string"
      -            },
      -            "textShort": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Shortened notice; null where it must never be shortened"
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "form",
      -            "permissionBasis",
      -            "licence",
      -            "sourceName",
      -            "sourceUrl",
      -            "rightsHolder",
      -            "fetchedAt",
      -            "stampedAt",
      -            "stationLink",
      -            "text",
      -            "textShort"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "permissionBasis": {
      -        "type": "string"
      -      },
      -      "rawData": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Notice that the values are preliminary, unchecked raw data"
      -      },
      -      "rightsHolder": {
      -        "type": "string"
      -      },
      -      "sourceLine": {
      -        "description": "Credit line of the provider",
      -        "type": "string"
      -      },
      -      "sourceName": {
      -        "type": "string"
      -      },
      -      "sourceUrl": {
      -        "type": "string"
      -      },
      -      "stampedAt": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "The provider's own time stamp, UTC"
      -      },
      -      "stationLink": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Origin page of this gauge where one is required"
      -      },
      -      "termsPath": {
      -        "type": "string"
      -      },
      -      "text": {
      -        "description": "The full notice as plain text",
      -        "type": "string"
      -      },
      -      "textShort": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Shortened notice; null where it must never be shortened"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "form",
      -      "permissionBasis",
      -      "licence",
      -      "sourceName",
      -      "sourceUrl",
      -      "rightsHolder",
      -      "fetchedAt",
      -      "stampedAt",
      -      "stationLink",
      -      "text",
      -      "textShort",
      -      "parts",
      -      "sourceLine",
      -      "rawData",
      -      "disclaimer",
      -      "noOfficialWarning",
      -      "termsPath"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "disclaimer": {
      +        "description": "Liability disclaimer",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "fetchedAt": {
      +        "description": "When the values were fetched, UTC",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "form": {
      +        "description": "full-only: show the full text, never shorten; short-allowed",
      +        "type": "string"
      +      },
      +      "id": {
      +        "description": "Key of the source record",
      +        "type": "string"
      +      },
      +      "licence": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {},
      +            "properties": {},
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "noOfficialWarning": {
      +        "description": "Statement that the values are no official warning",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "parts": {
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "fetchedAt": {
      +              "description": "When the values were fetched, UTC",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "form": {
      +              "description": "full-only: show the full text, never shorten; short-allowed",
      +              "type": "string"
      +            },
      +            "id": {
      +              "description": "Key of the source record",
      +              "type": "string"
      +            },
      +            "licence": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": {},
      +                  "properties": {},
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "permissionBasis": {
      +              "type": "string"
      +            },
      +            "rightsHolder": {
      +              "type": "string"
      +            },
      +            "sourceName": {
      +              "type": "string"
      +            },
      +            "sourceUrl": {
      +              "type": "string"
      +            },
      +            "stampedAt": {
      +              "description": "The provider's own time stamp, UTC",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "stationLink": {
      +              "description": "Origin page of this gauge where one is required",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "text": {
      +              "description": "The full notice as plain text",
      +              "type": "string"
      +            },
      +            "textShort": {
      +              "description": "Shortened notice; null where it must never be shortened",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "form",
      +            "permissionBasis",
      +            "licence",
      +            "sourceName",
      +            "sourceUrl",
      +            "rightsHolder",
      +            "fetchedAt",
      +            "stampedAt",
      +            "stationLink",
      +            "text",
      +            "textShort"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "permissionBasis": {
      +        "type": "string"
      +      },
      +      "rawData": {
      +        "description": "Notice that the values are preliminary, unchecked raw data",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "rightsHolder": {
      +        "type": "string"
      +      },
      +      "sourceLine": {
      +        "description": "Credit line of the provider",
      +        "type": "string"
      +      },
      +      "sourceName": {
      +        "type": "string"
      +      },
      +      "sourceUrl": {
      +        "type": "string"
      +      },
      +      "stampedAt": {
      +        "description": "The provider's own time stamp, UTC",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "stationLink": {
      +        "description": "Origin page of this gauge where one is required",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "termsPath": {
      +        "type": "string"
      +      },
      +      "text": {
      +        "description": "The full notice as plain text",
      +        "type": "string"
      +      },
      +      "textShort": {
      +        "description": "Shortened notice; null where it must never be shortened",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "form",
      +      "permissionBasis",
      +      "licence",
      +      "sourceName",
      +      "sourceUrl",
      +      "rightsHolder",
      +      "fetchedAt",
      +      "stampedAt",
      +      "stationLink",
      +      "text",
      +      "textShort",
      +      "parts",
      +      "sourceLine",
      +      "rawData",
      +      "disclaimer",
      +      "noOfficialWarning",
      +      "termsPath"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed2 schema fields changed
    • addedOutput schema / properties / sourceNotice
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {},
      +      "properties": {
      +        "disclaimer": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Liability disclaimer"
      +        },
      +        "fetchedAt": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "When the values were fetched, UTC"
      +        },
      +        "form": {
      +          "description": "full-only: show the full text, never shorten; short-allowed",
      +          "type": "string"
      +        },
      +        "id": {
      +          "description": "Key of the source record",
      +          "type": "string"
      +        },
      +        "licence": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": {},
      +              "properties": {},
      +              "type": "object"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "noOfficialWarning": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Statement that the values are no official warning"
      +        },
      +        "parts": {
      +          "items": {
      +            "additionalProperties": {},
      +            "properties": {
      +              "fetchedAt": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "When the values were fetched, UTC"
      +              },
      +              "form": {
      +                "description": "full-only: show the full text, never shorten; short-allowed",
      +                "type": "string"
      +              },
      +              "id": {
      +                "description": "Key of the source record",
      +                "type": "string"
      +              },
      +              "licence": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": {},
      +                    "properties": {},
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              },
      +              "permissionBasis": {
      +                "type": "string"
      +              },
      +              "rightsHolder": {
      +                "type": "string"
      +              },
      +              "sourceName": {
      +                "type": "string"
      +              },
      +              "sourceUrl": {
      +                "type": "string"
      +              },
      +              "stampedAt": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "The provider's own time stamp, UTC"
      +              },
      +              "stationLink": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "Origin page of this gauge where one is required"
      +              },
      +              "text": {
      +                "description": "The full notice as plain text",
      +                "type": "string"
      +              },
      +              "textShort": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "Shortened notice; null where it must never be shortened"
      +              }
      +            },
      +            "required": [
      +              "id",
      +              "form",
      +              "permissionBasis",
      +              "licence",
      +              "sourceName",
      +              "sourceUrl",
      +              "rightsHolder",
      +              "fetchedAt",
      +              "stampedAt",
      +              "stationLink",
      +              "text",
      +              "textShort"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "permissionBasis": {
      +          "type": "string"
      +        },
      +        "rawData": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Notice that the values are preliminary, unchecked raw data"
      +        },
      +        "rightsHolder": {
      +          "type": "string"
      +        },
      +        "sourceLine": {
      +          "description": "Credit line of the provider",
      +          "type": "string"
      +        },
      +        "sourceName": {
      +          "type": "string"
      +        },
      +        "sourceUrl": {
      +          "type": "string"
      +        },
      +        "stampedAt": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "The provider's own time stamp, UTC"
      +        },
      +        "stationLink": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Origin page of this gauge where one is required"
      +        },
      +        "termsPath": {
      +          "type": "string"
      +        },
      +        "text": {
      +          "description": "The full notice as plain text",
      +          "type": "string"
      +        },
      +        "textShort": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "description": "Shortened notice; null where it must never be shortened"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "form",
      +        "permissionBasis",
      +        "licence",
      +        "sourceName",
      +        "sourceUrl",
      +        "rightsHolder",
      +        "fetchedAt",
      +        "stampedAt",
      +        "stationLink",
      +        "text",
      +        "textShort",
      +        "parts",
      +        "sourceLine",
      +        "rawData",
      +        "disclaimer",
      +        "noOfficialWarning",
      +        "termsPath"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Notice of the gauge as shown; show it with any value taken from this gauge. Null where none can be built, then no value is delivered"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "stationId",
      -  "horizonHours",
      -  "unit",
      -  "valueDivisor",
      -  "generatedAt",
      -  "source",
      -  "count",
      -  "points",
      -  "note"
      -]New value: +[
      +  "stationId",
      +  "horizonHours",
      +  "sourceNotice",
      +  "unit",
      +  "valueDivisor",
      +  "generatedAt",
      +  "source",
      +  "count",
      +  "points",
      +  "note"
      +]
  3. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that results come from a state agency model run median, that coverage is limited so empty results are normal, that the output is indicative rather than an official warning, and that every result includes a sourceNotice whose licence terms require display. These are substantive behavioral and compliance details not captured by the annotations.

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 purpose is front-loaded, and the following sentences carry useful caveats about coverage, official-warning status, and required attribution. It is somewhat dense in the sourceNotice parenthetical, but no sentence is clearly 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?

Given the output schema and annotations, the description supplies the remaining critical context: what the forecast represents, when empty results occur, how authoritative it is, and the sourceNotice attribution obligation. An agent has enough information to call and present the result correctly.

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 both stationId and horizonHours are already documented in the schema. The description mentions 'the horizon' but adds no syntax, default, or cap details beyond what the schema provides.

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 states a specific resource and scope: the newest published water-level forecast for a station, using the median of the state agency model run and future points within the horizon. It implicitly distinguishes this from current readings and official flood warnings through 'future points' and 'not an official warning'.

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?

It gives useful context that only some gauges publish numeric forecasts and that an empty result is normal, and it notes the forecast is indicative rather than an official warning. However, it does not explicitly say when to use this tool versus get_readings, get_flood_situation, or other siblings.

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.

Resources