Skip to main content
Glama

weather

Retrieve real-time weather data for any city using the Model Context Protocol Server. Input a city name to get accurate weather information instantly.

Instructions

도시의 날씨 정보를 가져오기

Input Schema

NameRequiredDescriptionDefault
cityYes도시 이름 (예: 런던)

Input Schema (JSON Schema)

{ "properties": { "city": { "description": "도시 이름 (예: 런던)", "type": "string" } }, "required": [ "city" ], "type": "object" }

Implementation Reference

  • The handler function that simulates retrieving weather information for a given city, returning mock data including temperature, condition, and humidity.
    async execute({ city }) { // 실제 API 호출로 대체해야 합니다 return { city, temperature: 22, condition: "맑음", humidity: 45, }; }
  • Defines the input schema using Zod for the 'city' parameter.
    schema = { city: { type: z.string(), description: "도시 이름 (예: 런던)", }, };

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/hyen43/mcpServer'

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