Skip to main content
Glama

pages

Create, read, update, move, archive, restore, and duplicate individual Notion entries and database rows, with property auto-conversion and bounded markdown content retrieval.

Instructions

Page CRUD for individual pages and database rows.

Actions (required params -> optional):

  • create (parent_id -> title, content, properties, icon, cover)

  • get (page_id -> max_chars, content_limit, content_cursor): returns markdown bounded to max_chars (default 20000, max 100000) with an explicit [Truncated: showing N of M characters] marker; content_char_count and content_truncated report the true size, and bounded block reads also return next_cursor

  • get_property (page_id, property_id)

  • update (page_id -> title, content, append_content, properties, icon, cover, archived)

  • move (page_id, parent_id)

  • archive (page_id) / restore (page_id)

  • duplicate (page_id -> parent_id)

Use databases instead for querying or bulk row operations. Property format: simple values auto-convert -- string for title/rich_text/select/status, number for number, boolean for checkbox, string[] for multi_select, ISO date "2025-01-15" for date. Example: properties: {"Name": "My Page", "Status": "In Progress", "Tags": ["urgent", "work"]}

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
iconNoIcon: emoji (e.g. "(icon)"), external URL (https://...), or built-in shorthand (name:color, e.g. "document:gray")
coverNoCover image: URL or built-in shorthand (gradient_1..11, solid_red/yellow/blue/beige, nasa_*, met_*, rijksmuseum_*, woodcuts_*)
titleNoPage title
actionYesAction to perform
contentNoMarkdown content
page_idNoPage ID (required for most actions)
archivedNoArchive status
page_idsNoMultiple page IDs for batch operations
max_charsNoMax markdown characters returned by get (1-100000, default 20000); truncated content ends with an explicit marker
parent_idNoParent page or database ID
propertiesNoPage properties (for database pages). Use simple values -- auto-converted to Notion format. String: title/rich_text/select/status. Number: number. Boolean: checkbox. String[]: multi_select. ISO date string: date. Object with Notion structure: pass through as-is.
property_idNoProperty ID (for get_property action)
content_limitNoMax page blocks to return for get; use next_cursor to continue
append_contentNoMarkdown to append
content_cursorNoCursor from a previous bounded pages get

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.43.0
    • addedInput schema / properties / max_chars
      Added value: +{
      +  "description": "Max markdown characters returned by get (1-100000, default 20000); truncated content ends with an explicit marker",
      +  "maximum": 100000,
      +  "minimum": 1,
      +  "type": "number"
      +}
  2. Changed2 schema fields changedv2.41.4
    • addedInput schema / properties / content_cursor
      Added value: +{
      +  "description": "Cursor from a previous bounded pages get",
      +  "type": "string"
      +}
    • addedInput schema / properties / content_limit
      Added value: +{
      +  "description": "Max page blocks to return for get; use next_cursor to continue",
      +  "maximum": 100,
      +  "minimum": 1,
      +  "type": "number"
      +}
  3. Changed1 schema field changedv2.37.0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "type": "object"
      +}
  4. Changed3 schema fields changedv2.30.4
    • changedInput schema / properties / icon / description
      Previous value: -"Icon: emoji (e.g. \"📋\"), external URL (https://...), or built-in shorthand (name:color, e.g. \"document:gray\")"New value: +"Icon: emoji (e.g. \"(icon)\"), external URL (https://...), or built-in shorthand (name:color, e.g. \"document:gray\")"
    • removedInput schema / properties / prepend_content
      Removed value: -{
      -  "description": "[Deprecated] Not supported by Notion API — use blocks tool to insert at specific position",
      -  "type": "string"
      -}
    • changedInput schema / properties / properties / description
      Previous value: -"Page properties (for database pages)"New value: +"Page properties (for database pages). Use simple values -- auto-converted to Notion format. String: title/rich_text/select/status. Number: number. Boolean: checkbox. String[]: multi_select. ISO date string: date. Object with Notion structure: pass through as-is."
  5. Changed5 schema fields changedv2.18.0
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "create",
      -  "get",
      -  "update",
      -  "archive",
      -  "restore",
      -  "duplicate"
      -]New value: +[
      +  "create",
      +  "get",
      +  "get_property",
      +  "update",
      +  "move",
      +  "archive",
      +  "restore",
      +  "duplicate"
      +]
    • changedInput schema / properties / cover / description
      Previous value: -"Cover image URL"New value: +"Cover image: URL or built-in shorthand (gradient_1..11, solid_red/yellow/blue/beige, nasa_*, met_*, rijksmuseum_*, woodcuts_*)"
    • changedInput schema / properties / icon / description
      Previous value: -"Emoji icon"New value: +"Icon: emoji (e.g. \"📋\"), external URL (https://...), or built-in shorthand (name:color, e.g. \"document:gray\")"
    • changedInput schema / properties / prepend_content / description
      Previous value: -"Markdown to prepend"New value: +"[Deprecated] Not supported by Notion API — use blocks tool to insert at specific position"
    • addedInput schema / properties / property_id
      Added value: +{
      +  "description": "Property ID (for get_property action)",
      +  "type": "string"
      +}
  6. First observed

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare non-read-only, non-destructive, non-idempotent behavior; the description goes further by disclosing truncation semantics for `get` (default 20000, max 100000, explicit '[Truncated: showing N of M characters]' marker, content_char_count/content_truncated, next_cursor for continuing). It does not state that `content` on update replaces existing content while `append_content` adds, nor any permission/auth requirements, which keeps it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose sentence is front-loaded, followed by a scannable bullet list of actions and a closing alternative-route note. Each line carries distinct information with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 15-parameter tool this is nearly complete, and an output schema exists so return shapes need not be spelled out. Minor omissions remain: the unused `page_ids` batch parameter, replace-vs-append semantics for update content, and whether archive is reversible (restore is listed but the relationship is not stated).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds real value the schema cannot: a per-action required-vs-optional parameter map plus property value auto-conversion rules and a worked example. The one gap is `page_ids`, documented in the schema for 'batch operations' yet absent from every listed action, leaving its trigger unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource ('Page CRUD for individual pages and database rows') and then enumerates all eight actions with their parameter shapes, so an agent knows exactly what surface is covered. It explicitly names the sibling 'databases' as the different tool for querying and bulk row operations, making the boundary unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'Use `databases` instead for querying or bulk row operations' sentence is a direct when-not rule naming the alternative. The action list itself functions as a routing table (get vs get_property vs update vs move), leaving little to infer.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.