Skip to main content
Glama

Notion MCP Server

retrieve_page_property.ts595 B
import { notionClient, NotionClient } from "../../notion/client"; import { defineTool } from "../../utils/defineTool"; type RetrievePagePropertyInput = Parameters< NotionClient["pages"]["properties"]["retrieve"] >[0]; export const NOTION_RETRIEVE_PAGE_PROPERTY_TOOL = defineTool((z) => ({ name: "notion_retrieve_page_property", description: "Retrieve a property of a page in Notion.", inputSchema: { retrieveOptions: z.custom<RetrievePagePropertyInput>(), }, handler: async (input) => { return await notionClient.pages.properties.retrieve(input.retrieveOptions); }, }));

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/orbit-logistics/notion-mcp-server'

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