Skip to main content
Glama
tools_and_schemas.py770 B
from typing import List from pydantic import BaseModel, Field class SearchQueryList(BaseModel): query: List[str] = Field( description="A list of search queries to be used for web research." ) rationale: str = Field( description="A brief explanation of why these queries are relevant to the research topic." ) class Reflection(BaseModel): is_sufficient: bool = Field( description="Whether the provided summaries are sufficient to answer the user's question." ) knowledge_gap: str = Field( description="A description of what information is missing or needs clarification." ) follow_up_queries: List[str] = Field( description="A list of follow-up queries to address the knowledge gap." )

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/alexcong/gemini-deepsearch-mcp'

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