Skip to main content
Glama

insertPageBreak

Inserts a page break at a specified character index in a Google Docs document, letting you control where content starts on a new page.

Instructions

Inserts a page break at a character index in the document.

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": {
      "documentId": "<documentId>",
      "index": "<index>"
    },
    "name": "insertPageBreak"
  }
}

Input Schema

NameRequiredDescriptionDefault
indexYes1-based character index within the document body. Use readDocument with format='index' to inspect indices.
tabIdNoThe ID of the specific tab to insert into. Use listDocumentTabs to get tab IDs. If not specified, inserts into the first tab.
documentIdYesThe document ID — the long string between /d/ and /edit in a Google Docs URL.
readHandleNoCapability returned by a previous readDocument call for this document (and tab). Required over HTTP on the 2026-07-28 runtime: it authorizes the write and pins it to the revision that read saw. Omit it on stdio to use that connection's most recent read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0-rc.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and it discloses only the bare mutation. It does not mention that this modifies document content, whether the change is undoable, or that a prior read authorization (readHandle) may be required — the latter only surfaces in the schema's parameter text.

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?

A single front-loaded sentence with zero wasted wording. It is lean to the point of being slightly under-specified, but nothing is redundant.

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

Completeness3/5

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

For a 4-parameter mutation tool with no annotations and no output schema, the description is thin, though the fully documented schema compensates for parameter-level gaps. An agent still has to infer mutation side effects and the authorization flow from the schema rather than the description.

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

Parameters3/5

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

Schema description coverage is 100%, including index, tabId, documentId, and readHandle semantics, so the schema does the heavy lifting. The description's phrase 'at a character index' echoes the index parameter but adds no format or boundary details beyond it, so baseline 3 applies.

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 (inserts), resource (page break), and location mechanism (character index in the document). An agent can tell this apart from insertImage or insertTable without opening a schema, though it does not name those siblings explicitly.

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

Usage Guidelines2/5

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

Offers no when-to-use, when-not-to-use, or alternative guidance. Nothing tells the agent when a page break is appropriate versus other insertion tools, and the prerequisite workflow (call readDocument with format='index' first) only appears in the schema, not the description.

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

Deploy Server

Other Tools