Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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_alertsA

Get active weather alerts for a US state.

Provides current weather alerts and warnings for the specified state. Checks cache first (30 min expiry), fetches fresh if needed.

Args: state: Two-letter US state code (e.g. CA, NY)

get_forecastA

Get weather forecast for geographic coordinates.

Provides a 5-day forecast for the specified location. Checks cache first (60 min expiry), fetches fresh if needed.

Args: latitude: Latitude of the location (-90 to 90) longitude: Longitude of the location (-180 to 180)

get_current_timeA

Get the current time based on the user's IP address.

This tool determines the user's timezone from their IP address using geolocation and returns the current local time in that timezone.

Args: ip_address: Optional IP address to determine timezone. If not provided or empty string, attempts to detect automatically or defaults to UTC.

Returns: Formatted string with current time, timezone, day, and ISO timestamp

clear_old_cacheA

Clear expired weather cache entries.

Args: max_age_minutes: Maximum age in minutes before considering expired

Returns: Status message with number of entries removed

Prompts

Interactive templates invoked by user choice

NameDescription
analyze_weather_promptGenerate a comprehensive weather analysis prompt. Args: location: City/state name (e.g., "Seattle, WA") coordinates: Optional "lat,lon" format (e.g., "47.6062,-122.3321")
timezone_helper_promptGenerate a prompt for working with timezones. Args: action: Type of timezone help needed (check, convert, compare)

Resources

Contextual data attached and managed by the client

NameDescription
get_conversation_logConversation log resource. Returns the complete conversation log with timestamps. This is read-only data accessible via URI.
get_weather_cacheWeather cache resource. Returns all cached weather data with timestamps and age information. Shows what forecasts and alerts are available without re-fetching.

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/naggbagg/mcp-server'

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