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.

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. 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"
  2. 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"
      +]
  3. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With annotations already covering read-only, idempotent, non-destructive and open-world behavior, the description still adds substantial non-obvious context: results are downsampled to ≤200 points, history is capped at 90 days, and the API licence obliges the caller to surface sourceNotice attribution. That is exactly the kind of behavioral and legal constraint annotations cannot express.

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 every clause carries real payload — units, defaults, retention, attribution. The heavy dash-clause construction makes it dense to parse, but there is little true waste.

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 values need not be described, and the description still covers the sampling cap, retention window, default range, unit interpretation and attribution obligations. For a tool with this many non-obvious semantics, nothing an agent needs in order to call it 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?

Schema coverage is 100%, so the baseline is 3, but the description goes beyond the schema by explaining what 'level' actually means numerically (valueCentimeters, divided by valueDivisor, with the elevation ×100 quirk for wells and Swiss gauges) and confirming 'discharge' is m³/s where available. Only 'from'/'to' receive no extra treatment beyond the schema, which already documents them.

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?

The description states a specific verb and resource — 'Time series for a station' — and immediately constrains it with downsampling and retention limits, so an agent knows exactly what comes back. It does not explicitly name or contrast with siblings such as get_forecast or get_flood_situation, which keeps it just short of a 5.

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 implicitly tells the agent the tool is for historical/current measurement series by defaulting to the last 7 days within a 90-day depth, and it hints at other tools ('search and flood situation'), but it never states when to prefer this over get_forecast or get_flood_situation. Usage is implied rather than guided.

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