Skip to main content
Glama

get_page_blocks

Retrieves the recursive block tree for a Notion page or block ID, with pagination and offline cache status, so you can inspect page structure and child blocks.

Instructions

List the recursive block tree for a Notion page or block ID. Offline reads report a cache miss when no children have been fetched. Returns has_more/next_cursor and incomplete_blocks. Cost: one request per 100 blocks plus one per block with children; use limit and cursor on long pages. offline:true makes none.

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": {
      "page": "<page>"
    },
    "name": "get_page_blocks"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYesPage or block ID
limitNo
cursorNonext_cursor from a previous reply
offlineNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden and does so well: it discloses the cost model (one request per 100 blocks plus one per block with children), the offline cache-miss behavior, that offline:true performs no requests, and the presence of incomplete_blocks. These are exactly the pre-call facts an agent needs for a read tool with side-effect-free but request-metered behavior.

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

Conciseness4/5

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

Purpose is front-loaded in the first sentence, followed by caveat, return shape, and cost — a sensible order with no filler sentences. A few phrases are compressed to the point of ambiguity ('offline:true makes none'), which costs it the top score.

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?

With no output schema and no annotations, the description still covers return fields, pagination, cost, and offline mode, which is a lot for a 4-parameter recursive-listing tool. Minor gaps remain: depth/size expectations for a full recursive tree and the meaning of incomplete_blocks are not explained.

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 only 50% (page and cursor are documented; limit and offline are not), and the description compensates by explaining that limit/cursor paginate long pages and that offline:true suppresses requests entirely. The specific meaning of 'incomplete_blocks' and how limit interacts with the per-100-blocks cost accounting is left implicit.

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

Purpose4/5

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

States a specific verb and resource: 'List the recursive block tree for a Notion page or block ID.' An agent can distinguish this from get_page (page metadata) and update_block (single-block mutation) by the word 'tree' and 'list'. It stops short of explicitly naming which sibling to use instead, which keeps it from a 5.

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

Usage Guidelines3/5

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

Gives operational guidance ('use limit and cursor on long pages') and a caveat that offline reads may report a cache miss before children are fetched, which implicitly tells the agent when a result may look empty. It never states when to prefer this over get_page or how to handle the cache-miss case (e.g. sync_now first), so selection guidance is only implied.

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