Skip to main content
Glama

lookupCity

Retrieve city details by name, ID, or coordinates using the MCP Weather Server. Obtain a city ID for precise weather data integration with other tools. Supports multiple languages as needed.

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

Other Tools

Related Tools

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