Skip to main content
Glama

Place & time

get_context
Read-onlyIdempotent

Where a place is and what time it is there. location or lat+lon to ranked candidates with lat/lon, timezone and type place|zip|address|poi|county|station; time: utc and, per distinct zone among the candidates, its local time and a 14-day calendar (join on timezone). Sun and moon are get_data reads. Example: {"location": "Pella, IA"} -> Pella, America/Chicago.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoLatitude (-90 to 90), with lon; not with location.
lonNoLongitude (-180 to 180), with lat.
fuzzyNoText only: autosuggest for partial or misspelled input. Default false.
limitNoText only: how many candidates (1-10). Default 5.
includeNoboundaries: each row's state, county and zone ids for get_data's area.
locationNoPlace name, ZIP, venue/address or "lat,lon" (1-200 characters); not with lat/lon.
near_latNoText only: rank near this point (-90 to 90); with near_lon.
near_lonNoLongitude of near_lat (-180 to 180).

Output Schema

NameRequiredDescriptionDefault
latNo
lonNo
areaNoThe state `location` names: pass as `area` to get_data or render.
timeYes
queryNo
partialNoSections that did not finish, e.g. {"poi": "timeout"}; the list may be incomplete.
area_nameNoThe `area` state's name.
candidatesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / area
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "The state `location` names: pass as `area` to get_data or render.",
      +  "properties": {
      +    "feature_id": {
      +      "type": "string"
      +    },
      +    "product": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "product",
      +    "feature_id"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / area_name
      Added value: +{
      +  "description": "The `area` state's name.",
      +  "type": "string"
      +}
  2. Changed6 schema fields changed
    • changedInput schema / properties / fuzzy / description
      Previous value: -"Query only: autosuggest for partial or misspelled input. Default false."New value: +"Text only: autosuggest for partial or misspelled input. Default false."
    • changedInput schema / properties / lat / description
      Previous value: -"Latitude (-90 to 90), with lon; not with query."New value: +"Latitude (-90 to 90), with lon; not with location."
    • changedInput schema / properties / limit / description
      Previous value: -"Query only: how many candidates (1-10). Default 5."New value: +"Text only: how many candidates (1-10). Default 5."
    • addedInput schema / properties / location
      Added value: +{
      +  "description": "Place name, ZIP, venue/address or \"lat,lon\" (1-200 characters); not with lat/lon.",
      +  "type": "string"
      +}
    • changedInput schema / properties / near_lat / description
      Previous value: -"Query only: rank near this point (-90 to 90); with near_lon."New value: +"Text only: rank near this point (-90 to 90); with near_lon."
    • removedInput schema / properties / query
      Removed value: -{
      -  "description": "Place name, ZIP or venue/address (1-200 characters); not with lat/lon.",
      -  "type": "string"
      -}
  3. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld/no-destructive, so the safety profile is covered. The description adds genuine behavioral context: results are ranked candidates, the type taxonomy, and that time comes back as UTC plus per-zone local time with a 14-day calendar joined on timezone.

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?

Dense but front-loaded: the core behavior leads, output structure follows, and the alternative plus a concrete example close it out. The backtick-laden telegraphic style is efficient, though the time-block sentence is somewhat hard to parse on first read.

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 values needn't be spelled out, and annotations cover the safety profile. Combined with the description's note on input modes, ranking, and the get_data boundary, an agent has enough to invoke it correctly; only edge-case guidance (fuzzy, proximity ranking) is left to the schema.

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 coverage is 100%, so each parameter's meaning is already documented in structured form. The description adds only marginal semantics — that candidates are 'ranked' and that the timezone field is the join key — without covering fuzzy, near_lat/near_lon, or include beyond what the schema says.

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 concretely that this resolves a place to ranked candidates with lat/lon/timezone/type and returns UTC plus per-zone local time and a 14-day calendar. That is specific enough to distinguish it from a generic data reader, though the framing is output-centric rather than a clear action verb like 'resolve' or 'look up'.

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?

It explicitly routes one adjacent need away from this tool ('Sun and moon are get_data reads') and indicates the two input modes (location vs lat+lon). It stops short of stating when to prefer this over get_data/get_status in other cases, or when fuzzy mode is warranted.

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.