Skip to main content
Glama
InDesign MCP Server

InDesign MCP Server

by vinitdeep

export_pdf

Export InDesign documents to PDF with selectable presets, page ranges, image quality, color profiles, and optional bleed or slug areas for print or web output.

Instructions

Export document as PDF with advanced options

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": {
      "filePath": "<filePath>"
    },
    "name": "export_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
presetNoHighQualityPrint
filePathYesOutput PDF file path
pageRangeNoPage range (e.g., "1-5", "all")all
includeSlugNoInclude slug area
jpegQualityNoHigh
colorProfileNoColor profile for export
includeBleedNoInclude bleed area
confirmDestructiveNoREQUIRED: Confirm file overwrite

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description must disclose behavior; it does not mention the overwrite/confirmation requirement, permission needs, whether export creates or replaces a file, or failure behavior. 'Export' implies writing to filePath, but that is minimal.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of fluff. However, 'with advanced options' is vague filler and the sentence is too sparse for an 8-parameter export tool.

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

Completeness2/5

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

Given 8 parameters, no annotations, no output schema, and medium schema coverage, the definition is incomplete: it omits overwrite safety, output-path behavior, option descriptions, and relation to other export tools. It suggests the basic action but not enough for reliable invocation.

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

Parameters2/5

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

The schema documents several parameters and enums, but the description adds no meaning for any of the 8 parameters. 'Advanced options' is too vague to compensate for parameters not described in the schema, and the critical confirmDestructive overwrite confirmation is not explained in the description.

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 description names a specific verb (Export) and output resource/format (document as PDF), so the basic purpose is clear. It does not explicitly differentiate from sibling export tools such as export_epub or export_images beyond naming PDF, so it falls short of 5.

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?

There is no when-to-use guidance, no mention of prerequisites, and no routing to alternatives such as export_epub or export_images. The only implied usage is that this is the PDF export tool.

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