from pydantic import BaseModel, Field
class TimeRequest(BaseModel):
"""
Model for a time query.
Attributes:
timezone: A string representing the timezone (e.g., "America/Los_Angeles").
"""
timezone: str = Field(
"UTC", description="IANA timezone name (e.g., 'America/New_York')"
)
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/samay58/time-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server