Skip to main content
Glama

lookupCity

Find city IDs for weather data by searching with city names, coordinates, or location identifiers. Use the returned ID to access detailed weather information through other tools.

Instructions

Look up city information by name, ID, or coordinates. Returns city ID that can be used with other weather tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
locationYesThe location to look up (city name, coordinates, etc.). Examples: 'London', 'New York', '39.9,116.3'
optionsNoLookup configuration options, all fields are optional

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/le-yo/weather-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server