Skip to main content
Glama
InDesign MCP

InDesign MCP

indesign_export_pdf

Destructive

Export the active InDesign document or an indexed open document to a specified PDF path; enable overwrite to replace an existing file.

Instructions

Etkin belgeyi veya belge listesindeki numarayla belirtilen belgeyi PDF olarak dışa aktarır. Var olan dosyanın üzerine yazmak için overwrite=true gerekir.

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": {
      "path": "<path>"
    },
    "name": "indesign_export_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesOluşturulacak .pdf dosyasının tam Windows yolu
overwriteNoHedef PDF varsa üzerine yazmaya izin ver
document_indexNoindesign_status çıktısındaki belge numarası; verilmezse etkin belge

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag this as destructive (readOnlyHint=false, destructiveHint=true), and the description goes beyond them by naming the exact guard the caller must set (overwrite=true) to permit replacement of an existing file. It still does not say what happens when the target exists and overwrite is omitted (error vs. silent skip) or what the tool returns on success.

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?

Two short sentences, zero filler, with the document-selection scope front-loaded and the destructive caveat second. Nothing could be removed without losing 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?

For a three-parameter export tool with annotations and no output schema, this covers selection scope and the overwrite guard, which is the main risk. Minor gaps remain around error behavior when the file exists without overwrite and around what a successful export reports back.

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?

Schema description coverage is 100%, so path, overwrite and document_index are already documented, and the description largely restates the overwrite rule. It adds the useful tie between document_index and 'the document list' / active-document default, but no format or path conventions beyond the schema.

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?

States a concrete verb+resource pair ('PDF olarak dışa aktarır') and even resolves the ambiguity of which document is exported (active document vs. one selected by index). It does not name or contrast with any sibling such as indesign_save_active_document, so it stops short of full sibling differentiation.

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?

Gives one useful conditional: overwrite=true is required to replace an existing file, which implicitly tells the agent the default is to not clobber. The active-vs-indexed document choice is described but framed as a parameter behavior rather than a when-to-use rule, and no alternative tools or failure conditions are mentioned.

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