Skip to main content
Glama

Live readings set beside a place or a walk

live_conditions_at
Read-onlyIdempotent

The live readings of Trieste Datum's /live.json at the time of the call, set beside what is measured at one place or on one walk, from the Region's laser survey: the Molo Sartorio sea level (sensor 86, already in IGM metres: never subtract 1.662 m from it) with the Comune's historical high-water bands it is above (>100 cm Molo Sartorio, >115 cm adjoining seafront land, >130 cm streets near the sea: bands counting past events, not an alert); the wind at the regional stations and ISPRA's harbour station, and whether the harbour wind comes from the Bora sector (40-90 degrees); whether the place stands under a mapped portico or pedestrian gallery, or how many metres of the walk do (the Region's map: cover from above, never a promise of staying dry; passage hours not known); what stands upwind in a Bora at the place or along the walk (reasoned, from the Region's 0.5 m laser survey) and how much of it is in shade at three set times (measured); rain, global radiation and the national alert bulletin. Each live value carries the time its source observed it; a stale or missing reading is 'not known', never zero, calm, dry or no alert. It never says that a place is wet or flooded, which alert colour a sea level brings, how hard the wind blows at the place, or that a Bora warning is in force: the first wet spot of a street, the tie of the terrain model to IGM and a gauge-to-alert table are not known, and no source here gives a Bora warning. Give at as place:, connection: (a walk) or a place name; a name that fits several places gives the candidates back. With at_time (an ISO 8601 time with its offset, or now, the default) it also gives, from a 360-degree skyline measured on the same March 2017 survey: the sun's position and whether the place, or how much of the walk's centre line, is in sun, in shade or not known at that time (trees and roofs are 'not known', never shade); the first and last minute the sun stands above the skyline that day beside the flat-horizon sunrise and sunset; and, at the time of the call only, what stands upwind in the harbour station's wind direction, whatever it is. For any other time the live readings are not known, never carried over.

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": {
      "at": "<at>"
    },
    "name": "live_conditions_at"
  }
}

Input Schema

NameRequiredDescriptionDefault
atYesplace:<id>, connection:<id> (for example connection:walk:piazza-unita-to-san-giusto) or a place name.
at_timeNoOptional: an ISO 8601 time with its offset or Z, between 1900 and 2100 (for example 2026-06-21T13:00+02:00), or now (the default: the time of the call). Live readings are given only for now.

Output Schema

NameRequiredDescriptionDefault
atNo
liveNo
noteNo
rainNo
windNo
askedNo
foundYes
creditNo
labelsNo
at_timeNo
outcomeYes
data_readNo
never_sayNo
sea_levelNo
how_to_readNo
wind_shelterNo
bora_exposureNo
sun_and_shadeNo
alert_bulletinNo
portico_or_galleryNo
sunrise_and_sunsetNo
sun_and_shade_at_timeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / at_time
      Added value: +{
      +  "description": "Optional: an ISO 8601 time with its offset or Z, between 1900 and 2100 (for example 2026-06-21T13:00+02:00), or now (the default: the time of the call). Live readings are given only for now.",
      +  "maxLength": 40,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedOutput schema / properties / at_time
      Added value: +{
      +  "type": "object"
      +}
    • addedOutput schema / properties / portico_or_gallery
      Added value: +{
      +  "type": "object"
      +}
    • addedOutput schema / properties / sun_and_shade_at_time
      Added value: +{
      +  "type": "object"
      +}
    • addedOutput schema / properties / sunrise_and_sunset
      Added value: +{
      +  "type": "object"
      +}
    • addedOutput schema / properties / wind_shelter
      Added value: +{
      +  "type": "object"
      +}
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the annotations (readOnly, idempotent, non-destructive, closed-world) by disclosing the failure semantics: a stale or missing reading is 'not known', never zero, calm, dry or no alert, and live values are never carried over to a past or future time. It also front-loads interpretation traps an agent would otherwise get wrong — bands count past events and are not an alert, portico cover is cover from above and not a promise of staying dry, trees and roofs are 'not known' rather than shade, and the sea level is already in IGM metres so 1.662 m must never be subtracted.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The lead sentence front-loads the purpose correctly, but the body is a dense run-on of stacked parentheses that an agent must parse to extract the operational facts. Nearly every clause carries real disambiguation value, so it is not padding, but it is roughly three times longer than needed for a two-parameter tool and would benefit from being split into short labelled sentences.

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?

An output schema exists, so return shape need not be explained, yet the description still covers timing semantics, candidate-resolution behaviour, survey provenance and the explicit list of things it cannot know — enough for correct invocation. What is missing is minor operational context such as how fresh /live.json is or whether calls are rate-limited.

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 baseline is 3, but the description adds genuine meaning beyond the schema: that a place name may resolve to multiple candidates, that at_time drives the skyline/sun computation for arbitrary times while live values remain 'now'-only, and that the sun/shade answer comes from a March 2017 survey with trees and roofs treated as unknown. The 1.662 m warning about the returned sea level is a data-semantics note rather than a parameter one.

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: the live readings of the /live.json feed at call time, joined to one place or one walk. The scope is pinned down further by enumerating what is returned (sea level, high-water bands, wind/Bora sector, portico cover, upwind shade, rain, radiation, alert bulletin) and by explicitly excluding what it will never assert, so it cannot be confused with a routing tool like walk_between or a lookup like fetch.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States clearly how to invoke it (place:<id>, connection:<id> for a walk, or a place name) and that a name matching several places returns candidates instead of a result, which is real routing guidance. It also bounds applicability with at_time: skyline/sun answers for any supplied time, but live readings only for 'now'. It stops short of naming an alternative tool or saying when a sibling should be preferred.

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.