Skip to main content
Glama

Export a Keynote, Pages or Numbers file

iwork_export

Convert Keynote, Pages, and Numbers documents into PDF, Office, EPUB, CSV, image, or video formats; the input extension determines the source app.

Instructions

Export an iWork document to another format. The app is chosen from the file extension. Keynote: pdf, pptx, mov, images (images writes one file per slide into the output folder; mov writes an H.264 .m4v at 1080p height). Pages: pdf, docx, epub, txt. Numbers: pdf, xlsx, csv (csv of a multi-table file produces a folder with one CSV per table).

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": {
      "input": "<input>",
      "format": "<format>",
      "output": "<output>"
    },
    "name": "iwork_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesPath to a .key, .pages or .numbers file
formatYes
outputYesOutput file path (a folder for Keynote images)
overwriteNo
imageFormatNoFor Keynote images only

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the safe-write annotations by disclosing output shapes: one image file per slide into a folder, an H.264 .m4v at 1080p for mov, and a folder of one CSV per table for multi-table Numbers files. It says nothing about overwrite behavior or what happens when the target exists, which is the remaining behavioral gap.

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?

Three sentences, front-loaded with purpose and extension-based app selection, then packed with exactly the format-specific facts an agent needs. Parentheticals are dense but every clause carries information.

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?

No output schema exists, and the description adequately covers what gets written for the non-obvious formats (images, mov, csv). It is nearly complete for a 5-parameter export tool, lacking only overwrite semantics and any guidance on unsupported app/format combinations.

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?

With 60% schema coverage, the description carries real weight: it clarifies that 'output' is a folder for Keynote images and multi-table CSV and a file otherwise, and it explains the meaning of several format enum values. The 'overwrite' and 'imageFormat' parameters are not covered anywhere in the description.

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 concrete verb and resource ('Export an iWork document to another format') and immediately explains the selection mechanism ('The app is chosen from the file extension'). The per-app format lists make it unambiguous versus sibling tools that create or read documents.

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 format-to-app mapping implicitly tells the agent which format values are valid for which input file, which is the main usage decision here. It does not state exclusions or name alternatives, but no sibling performs export, so little guidance is missing.

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