Skip to main content
Glama
sun873087

MCP Weather Sample

by sun873087

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GOOGLE_API_KEYNoAPI key for Google Gemini AI model
OPENAI_API_KEYNoAPI key for OpenAI GPT models
ANTHROPIC_API_KEYNoAPI key for Anthropic Claude AI model

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_alerts
獲取美國特定州份的警報資料.

Args:
    state (str): 美國州份的縮寫 (e.g., "CA", "TX", "NY")
    
Returns:
    str: 警報資料的文字描述
get_forecast
獲取特定位置的預報資料

Args:
    latitude (float): 緯度
    longitude (float): 經度

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/sun873087/mcp-sample'

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