Skip to main content
Glama

pages_create

Turn plain text into a structured Pages document: first line becomes title, #/## lines become headings, rest is body. Opens it and optionally saves to .pages without overwriting.

Instructions

Create a Pages document with this text and open it on screen.

The document comes out structured rather than flat: the first line becomes the title, and lines starting with # or ## become headings (the marker is removed). Everything else is body text.

Args: text: the document content, with the line breaks it should have. save_in: path to a .pages file to save to. If empty the document is only opened, not written to disk. Never overwrites: if the file exists, the call fails.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
save_inNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

No annotations are provided, so the description carries the full burden. It thoroughly discloses behaviors: the document is opened on screen, the text is structured with title/headings, markers are removed, save_in can be empty (only opened, not saved), and it never overwrites existing files (fails if the file exists). This is rich, specific behavioral context beyond the basic 'create' operation.

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 description is efficient and well-structured. It opens with a clear one-sentence summary, then explains the structured format, and finally details each parameter. Every sentence adds value; there is no filler or redundancy.

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

Completeness5/5

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

For a two-parameter tool with no annotations, the description is highly complete. It covers the main behavior, parameter semantics, and an important edge case (no overwrite). The output schema is noted to exist, so return values are documented separately; the description provides all necessary usage context.

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

Parameters5/5

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

The input schema has 0% description coverage, so the description must fully explain the parameters. It does: 'text' is defined as document content with line breaks, and 'save_in' is described as a path to a .pages file, including default behavior and failure mode. This adds significant meaning beyond the bare schema types.

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?

The description clearly states the tool's core function: 'Create a Pages document with this text and open it on screen.' The verb 'Create' and the resource 'Pages document' are specific, and the description distinguishes it from sibling tools like pages_replace and pages_append by focusing on creation rather than modification.

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?

The description implies the tool is for creating new Pages documents, but it does not explicitly state when to use this tool vs. alternatives like pages_append or pages_replace. There are no exclusions or alternative mentions, so the usage context is only implied.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/atipicguy/iwork-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server