Skip to main content
Glama

Messreihe

get_readings
Read-onlyIdempotent

Time series for a station (downsampled to ≤200 points; history depth on this tier: last 90 days, default last 7 days). type "level" (default) → level series as stored valueCentimeters: centimetres above gauge zero for most gauges, but an elevation ×100 for groundwater wells and for gauges reporting an absolute elevation (Swiss gauges, the Neusiedler See) — divide by valueDivisor to read it in unit. type "discharge" → discharge Q in m³/s where the station provides it. 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_readings"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoISO 8601 end, defaults to now
fromNoISO 8601 start, e.g. 2026-06-01T00:00:00Z
typeNoSeries type: level (default) or discharge (m³/s)
stationIdYesNamespaced station id, e.g. "pegelonline:<uuid>" or "lhp:BY_10026301"

Output Schema

NameRequiredDescriptionDefault
noteNoPresent when the series was downsampled
unitNoUnit of a level series; absent for discharge
countYes
summaryYesMin and max (level: in unit) and latest point; null when empty
readingsNoLevel series as stored valueCentimeters
dischargeNoDischarge series, m³/s
stationIdYes
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
valueDivisorNoDivide valueCentimeters by this to read in unit

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • 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
    • changedOutput schema / properties / sourceNotice / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "disclaimer": {
      -        "description": "Liability disclaimer",
      -        "type": "string"
      -      },
      -      "id": {
      -        "type": "string"
      -      },
      -      "noOfficialWarning": {
      -        "description": "Statement that the values are no official warning",
      -        "type": "string"
      -      },
      -      "rawData": {
      -        "description": "Notice that the values are preliminary, unchecked raw data",
      -        "type": "string"
      -      },
      -      "sourceLine": {
      -        "description": "Credit line of the provider",
      -        "type": "string"
      -      },
      -      "termsPath": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "sourceLine",
      -      "rawData",
      -      "disclaimer",
      -      "noOfficialWarning",
      -      "termsPath"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New 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"
      +  }
      +]
    • changedOutput schema / properties / sourceNotice / description
      Previous value: -"Present for gauges whose provider demands a notice; show it with any value taken from this gauge"New value: +"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"
  3. Changed2 schema fields changed
    • addedOutput schema / properties / sourceNotice
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {},
      +      "properties": {
      +        "disclaimer": {
      +          "description": "Liability disclaimer",
      +          "type": "string"
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "noOfficialWarning": {
      +          "description": "Statement that the values are no official warning",
      +          "type": "string"
      +        },
      +        "rawData": {
      +          "description": "Notice that the values are preliminary, unchecked raw data",
      +          "type": "string"
      +        },
      +        "sourceLine": {
      +          "description": "Credit line of the provider",
      +          "type": "string"
      +        },
      +        "termsPath": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "sourceLine",
      +        "rawData",
      +        "disclaimer",
      +        "noOfficialWarning",
      +        "termsPath"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Present for gauges whose provider demands a notice; show it with any value taken from this gauge"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "stationId",
      -  "count",
      -  "summary"
      -]New value: +[
      +  "stationId",
      +  "sourceNotice",
      +  "count",
      +  "summary"
      +]
  4. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only cover safety (readOnly, idempotent, openWorld); the description adds substantial behavior the agent could not otherwise know: results are downsampled to at most 200 points, this tier only retains 90 days of history, the default window is 7 days, and licence terms require carrying the sourceNotice through with any passed-on value. Those are real constraints affecting interpretation and downstream compliance.

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?

Scope and resolution limits are front-loaded in the opening clause, and every sentence carries operational content. The em-dash-heavy unit sentence is dense and requires careful reading, and the attribution instruction is long, but none of it is filler.

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?

With an output schema present, return structure need not be explained, and the description still covers sampling, retention, defaults, unit caveats and attribution obligations. Minor gaps remain: behavior when a request exceeds the 90-day depth and the error/no-data case for stations without discharge are not stated.

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

Parameters5/5

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

Schema coverage is 100%, so baseline would be 3, but the description goes well beyond the schema by explaining what 'level' actually contains (valueCentimeters above gauge zero, or an elevation ×100 for groundwater wells and absolute-elevation gauges, requiring division by valueDivisor to reach the stated unit) and that discharge is m³/s only where available. That is unit-level meaning the schema does not supply.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific resource and operation: a time series for a station, with its sampling resolution, retention depth and selectable series type. It is far more specific than the title ('Messreihe'), but it never names a sibling tool (e.g. get_forecast for predictions, search_stations to obtain a stationId), so an agent must infer the boundary itself.

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?

The description gives useful defaults (type 'level', last 7 days) and explains conditionality ('where the station provides it'), which implies when each series type applies. However, it offers no explicit statement of when to use this tool rather than get_forecast or get_flood_situation, nor how to obtain a stationId, so selection guidance remains implied.

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