Skip to main content
Glama

Notion MCP Server V2

by ankitmalik84
schemas.pyโ€ข724 B
from pydantic import BaseModel, Field from typing_extensions import TypedDict, Literal, Annotated from langgraph.graph import add_messages class Router(BaseModel): """Analyze the unread email and route it according to its content.""" reasoning: str = Field( description="Step-by-step reasoning behind the classification." ) classification: Literal["ignore", "respond", "notify"] = Field( description="The classification of an email: 'ignore' for irrelevant emails, " "'notify' for important information that doesn't need a response, " "'respond' for emails that need a reply", ) class State(TypedDict): email_input: str messages: Annotated[list, add_messages]

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/ankitmalik84/Agentic_Longterm_Memory'

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