Skip to main content
Glama

Create a Pages document

pages_create_document

Create a Pages document from a template or blank, add body text using newline-separated paragraphs, and save it as a .pages file.

Instructions

Create a Pages document from a template (or blank) with the given body text, and save it as a .pages file. Paragraphs are separated by newlines; the template's body style is used.

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": {
      "bodyText": "<bodyText>",
      "output": "<output>"
    },
    "name": "pages_create_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
outputYesWhere to save the .pages file
bodyTextYes
templateNoTemplate name from pages_list_templates; omit for the default blank document
overwriteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so safety is covered. The description adds real context (newline-separated paragraphs, template body style applied, saved as .pages), but says nothing about what overwrite=true replaces or what permissions the save location requires — a notable gap for a file-writing tool.

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?

Two compact sentences, front-loaded with the action then the formatting and save behavior. Nothing is wasted, though the overwrite caveat could have been folded in equally briefly.

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?

There is no output schema, and the description correctly notes the .pages save result. For a four-parameter write tool, however, the missing overwrite semantics and permission considerations leave it only minimally complete.

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?

With schema coverage at 50%, the description carries part of the load: template is tied to pages_list_templates with omit-for-blank behavior, and bodyText formatting rules are explained. The overwrite parameter remains undocumented beyond its schema default, so it doesn't fully compensate for the coverage gap.

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?

States a specific verb and resource (create a Pages document), the construction method (template or blank), the input (body text), and the output (.pages file), making it clearly distinct from read-oriented siblings like pages_read_document.

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?

Implicitly routes the agent to pages_list_templates for template names and makes the create-new-document role clear against the read sibling. It stops short of explicitly stating when not to use it or when another tool is preferable.

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