Skip to main content
Glama

Get current conditions

get_current_conditions
Read-onlyIdempotent

Current weather right now at a location from two independent sources in one call: the RTMA gridded analysis (exact-point values, updated sub-hourly) and the nearest METAR station observation (ground truth with raw METAR, flight category). Use the analysis for point-accurate values and the station for verification. Analysis fields: temperature_2m, dew_point_2m, relative_humidity_2m (derived here from temperature and dew point; listed in analysis.derived), wind_speed_10m, wind_direction_10m, wind_gusts_10m, surface_pressure (station pressure at ground level, not sea-level pressure), visibility, cloud_cover, cloud_ceiling, in units (labels in analysis.unit_labels). nearest_station is the station's own report, unconverted. For a forecast, use get_forecast. Example: {"location": "Pella, IA"}.

Input Schema

NameRequiredDescriptionDefault
latNoLatitude in decimal degrees (-90 to 90). Most tools also accept a `location` place-name string instead of lat/lon.
lonNoLongitude in decimal degrees (-180 to 180). For continental US use negative values (west of the prime meridian).
unitsNoimperial (default; °F, mph, inHg, mi, ft) or metric (°C, km/h, hPa, km, m); si returns K, m/s, Pa, m. si is deprecated and will be removed; use metric. Not applied to nearest_station.imperial
locationNoFree-text place: "City, ST" (e.g. "Portland, OR"), US ZIP, venue/address where enabled, or "lat,lon". Use this OR lat+lon, not both.

Output Schema

NameRequiredDescriptionDefault
unitsYes
_sourcesNoPer-source provenance: what produced these values and when.
analysisYes
locationYes
nearest_stationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / _sources
      Added value: +{
      +  "description": "Per-source provenance: what produced these values and when.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "dataset_id": {
      +        "type": "string"
      +      },
      +      "dataset_ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "issued_at": {
      +        "type": "string"
      +      },
      +      "label": {
      +        "type": "string"
      +      },
      +      "method": {
      +        "type": "string"
      +      },
      +      "office": {
      +        "type": "string"
      +      },
      +      "product": {
      +        "type": "string"
      +      },
      +      "provider": {
      +        "type": "string"
      +      },
      +      "time_zone": {
      +        "type": "string"
      +      },
      +      "type": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "provider",
      +      "label"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  3. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / properties / analysis / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": {
      -          "items": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "type": "array"
      -        },
      -        "type": "object"
      -      },
      -      "dataset_id": {
      -        "type": "string"
      -      },
      -      "derived": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "notes": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "reference_time": {
      -        "type": "string"
      -      },
      -      "reference_times": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "unit_labels": {
      -        "additionalProperties": {
      -          "type": "string"
      -        },
      -        "type": "object"
      -      },
      -      "valid_times": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "dataset_id",
      -      "valid_times",
      -      "data"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": {
      +          "items": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "type": "array"
      +        },
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "dataset_id": {
      +        "type": "string"
      +      },
      +      "derived": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "notes": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "reference_time": {
      +        "type": "string"
      +      },
      +      "reference_times": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "unit_labels": {
      +        "additionalProperties": {
      +          "type": "string"
      +        },
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "valid_times": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "dataset_id",
      +      "valid_times",
      +      "data"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / nearest_station / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {},
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  4. Changed3 schema fields changed
    • changedInput schema / properties / location / description
      Previous value: -"Free-text place: city (\"Denver\"), city+state (\"Portland, OR\"), US ZIP, venue/address where enabled, or \"lat,lon\". Use this OR lat+lon, not both."New value: +"Free-text place: \"City, ST\" (e.g. \"Portland, OR\"), US ZIP, venue/address where enabled, or \"lat,lon\". Use this OR lat+lon, not both."
    • changedInput schema / properties / units / default
      Previous value: -"si"New value: +"imperial"
    • changedInput schema / properties / units / description
      Previous value: -"Unit system for the analysis values: si (default; K, m/s, Pa, m, as RTMA serves them), imperial (°F, mph, inHg, mi, ft) or metric (°C, km/h, hPa, km, m). Unlike get_forecast, which defaults to imperial. Does not apply to nearest_station."New value: +"imperial (default; °F, mph, inHg, mi, ft) or metric (°C, km/h, hPa, km, m); si returns K, m/s, Pa, m. si is deprecated and will be removed; use metric. Not applied to nearest_station."
  5. Changed2 schema fields changed
    • changedInput schema / properties / location / description
      Previous value: -"Free-text place: city (\"Denver\"), city+state (\"Portland, OR\"), US ZIP (\"50219\"), or \"lat,lon\" (\"39.74,-104.99\"). Provide either this OR explicit lat+lon, not both."New value: +"Free-text place: city (\"Denver\"), city+state (\"Portland, OR\"), US ZIP, venue/address where enabled, or \"lat,lon\". Use this OR lat+lon, not both."
    • addedOutput schema / properties / location / properties / matched_via
      Added value: +{
      +  "enum": [
      +    "autosuggest",
      +    "fuzzy"
      +  ],
      +  "type": "string"
      +}
  6. Changed4 schema fields changed
    • addedInput schema / properties / units
      Added value: +{
      +  "default": "si",
      +  "description": "Unit system for the analysis values: si (default; K, m/s, Pa, m, as RTMA serves them), imperial (°F, mph, inHg, mi, ft) or metric (°C, km/h, hPa, km, m). Unlike get_forecast, which defaults to imperial. Does not apply to nearest_station.",
      +  "enum": [
      +    "imperial",
      +    "metric",
      +    "si"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / analysis / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "data": {
      -        "additionalProperties": {
      -          "items": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "type": "array"
      -        },
      -        "type": "object"
      -      },
      -      "dataset_id": {
      -        "type": "string"
      -      },
      -      "valid_times": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "dataset_id",
      -      "valid_times",
      -      "data"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "data": {
      +        "additionalProperties": {
      +          "items": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "type": "array"
      +        },
      +        "type": "object"
      +      },
      +      "dataset_id": {
      +        "type": "string"
      +      },
      +      "derived": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "notes": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "reference_time": {
      +        "type": "string"
      +      },
      +      "reference_times": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "unit_labels": {
      +        "additionalProperties": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "valid_times": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "dataset_id",
      +      "valid_times",
      +      "data"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / units
      Added value: +{
      +  "enum": [
      +    "imperial",
      +    "metric",
      +    "si"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "location",
      -  "analysis",
      -  "nearest_station"
      -]New value: +[
      +  "location",
      +  "units",
      +  "analysis",
      +  "nearest_station"
      +]
  7. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/openWorld/non-destructive, so the safety bar is easily met, yet the description still adds substantial context: sub-hourly update cadence for the analysis, ground-truth framing for the station, the fact that relative_humidity_2m is derived (flagged in analysis.derived), and that surface_pressure is ground-level station pressure rather than sea-level. It also discloses that units are not applied to nearest_station and that station values are unconverted — real behavioral caveats an agent would otherwise get wrong.

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?

Front-loads the two-source distinction and the point-vs-verification guidance, then the field inventory. The long comma-separated field list is somewhat redundant given an output schema exists, but every other sentence carries a constraint an agent needs.

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 an output schema exists, the description need not explain return values, yet it proactively covers unit scope, derived fields, pressure reference, and source-update cadence. Combined with routing to get_forecast, nothing an agent needs to invoke 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?

Schema coverage is 100%, so the baseline is 3; the description earns a bump by tying the units parameter to concrete field semantics (which analysis fields are affected, that labels live in analysis.unit_labels, that nearest_station is exempt) and by giving a worked example. It does not add anything about lat/lon versus location beyond what the schema already says.

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?

States a specific verb and resource ('Current weather right now at a location') and precisely defines scope: two independent sources returned in one call. It names the sibling it is not ('For a forecast, use get_forecast'), so an agent can separate it from get_forecast and get_hourly_forecast without opening any schema.

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?

Gives explicit selection guidance between the two returned sources ('Use the analysis for point-accurate values and the station for verification') and routes forecast intent to the alternative tool by name. The only residual ambiguity, place-name vs lat/lon, is resolved by the schema's own descriptions.

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.