Skip to main content
Glama

Pitstop

general.py•910 B
from pydantic import BaseModel, Field class NewsArticle(BaseModel): """Individual news article from RSS feed.""" title: str = Field(..., description="Article headline") link: str = Field(..., description="URL to full article") published: str = Field(..., description="Publication date and time") summary: str = Field(..., description="Article excerpt or description") source: str = Field(..., description="News source name") author: str | None = Field(None, description="Article author if available") class NewsResponse(BaseModel): """Collection of F1 news articles.""" source: str = Field(..., description="News source(s) queried") fetched_at: str = Field(..., description="When the feed was fetched") article_count: int = Field(..., description="Number of articles returned") articles: list[NewsArticle] = Field(..., description="List of news articles")

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/praneethravuri/pitstop'

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