Skip to main content
Glama

update_page

Modify properties of a Notion page directly by specifying the page ID and updated properties. Simplifies content management within Notion using the Multi-MCPs server.

Instructions

Update a Notion page properties

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_idYes
propertiesYes

Implementation Reference

  • The handler function that executes the update_page tool logic, validating the Notion token and page_id, then calling the client updatePage method.
    async update_page(args: Record<string, unknown>) { if (!cfg.notionToken) throw new Error("NOTION_TOKEN is not configured"); const pageId = String(args.page_id || ""); if (!pageId) throw new Error("page_id is required"); return client.updatePage(pageId, args.properties); },
  • Input schema for the update_page tool, requiring page_id (string) and properties (object).
    inputSchema: { type: "object", properties: { page_id: { type: "string" }, properties: { type: "object" }, }, required: ["page_id", "properties"], },
  • Registration of the update_page tool in the tools array returned by registerNotion(), including name, description, and inputSchema.
    { name: "update_page", description: "Update a Notion page properties", inputSchema: { type: "object", properties: { page_id: { type: "string" }, properties: { type: "object" }, }, required: ["page_id", "properties"], }, },
  • NotionClient helper method that performs the actual API request to update a Notion page.
    updatePage(pageId: string, properties: unknown) { return this.request(`/v1/pages/${pageId}`, { method: "PATCH", body: { properties }, }); }

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/TaylorChen/muti-mcps'

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