Skip to main content
Glama

Notion MCP Server

update_database.ts528 B
import { notionClient, NotionClient } from "../../notion/client"; import { defineTool } from "../../utils/defineTool"; type UpdateDatabaseInput = Parameters<NotionClient["databases"]["update"]>[0]; export const NOTION_UPDATE_DATABASE_TOOL = defineTool((z) => ({ name: "notion_update_database", description: "Update a database in Notion.", inputSchema: { updateOptions: z.custom<UpdateDatabaseInput>(), }, handler: async (input) => { return await notionClient.databases.update(input.updateOptions); }, }));

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