"""Time specification models."""
from pydantic import BaseModel, Field
class TimeSpec(BaseModel):
"""Model for time range specification."""
from_time: str = Field(..., description="Start time (HH:MM)", pattern="^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$")
to_time: str = Field(..., description="End time (HH:MM)", pattern="^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$")
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/ravinahp/flights-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server