Skip to main content
Glama

insert_page_break

Destructive

Inserts an explicit page break at a chosen index in a Google Doc; use get_doc_structure first to identify the correct insertion point.

Instructions

Insert an explicit page break at a specific index in a Google Doc.

Use get_doc_structure to find a suitable insertion index.

Args: doc_id: The Google Doc file ID. index: Document body index where the page break should be inserted.

Returns: Confirmation with docId and the insertion index.

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": {
      "doc_id": "<doc_id>",
      "index": "<index>"
    },
    "name": "insert_page_break"
  }
}

Input Schema

NameRequiredDescriptionDefault
indexYes
doc_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true, so the description is not required to carry the mutation warning, though saying what is affected (surrounding content being pushed to a new page) would have added real value. Clarifying that the index is a body index rather than a segment/table index is useful context beyond the annotations. It omits any statement about index bounds, invalid-index failure behavior, or permission requirements, leaving behavioral gaps for an indexing-sensitive write.

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?

The purpose and the get_doc_structure pointer are front-loaded in the first two lines, with parameters and return value following in a predictable Args/Returns layout. The Returns block restates information the output schema already provides, which is the one piece of avoidable padding.

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 two-parameter write tool with an output schema already documenting the response, the definition covers purpose, the key prerequisite, and both parameters in enough detail to call it correctly. The remaining gap is index validity constraints, which matter for an index-based mutation but are a modest omission at this complexity level.

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 description coverage is 0%, so the description must carry the parameter meaning, and it does: doc_id is identified as the Google Doc file ID, and index as the document body index where the break lands. That resolves the main ambiguity (which coordinate space the integer belongs to). It does not state valid ranges or whether the index is zero- or one-based, which would have made it a 5.

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?

The first sentence gives a specific verb and resource ("insert an explicit page break") plus a scope qualifier ("at a specific index in a Google Doc"), so the operation is unambiguous. It does not explicitly contrast itself with closely related siblings like insert_softbreak_paragraph or insert_doc_text, which is the only thing keeping 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 Guidelines4/5

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

The second line gives a concrete prerequisite action: call get_doc_structure first to obtain a suitable insertion index. That is genuine routing guidance rather than an implied hint. It stops short of stating when not to use this tool (e.g. for a line break rather than a page break), so it is not a full when/when-not treatment.

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