Links
Problem
input_format advertises pdf. Pandoc has no PDF reader, so this can never succeed.
$ pandoc -f pdf file.pdf -t markdown
Unknown input format pdf
Pandoc can convert to PDF, but not from PDF.
Checked the last 25 pandoc releases; none added a PDF reader. Unlike the pptx case, this is a general statement rather than a property of one pandoc version.
Why it matters
The input schema is a promise made to a language model. A model reading pdf in the enum will attempt PDF input, fail, and often retry the same call.
Severity is P1 rather than P0: calls fail cleanly, with no data corruption and no startup impact.
Acceptance criteria
Related
- Reading PDFs at all would need a non-pandoc dependency. Tracked separately as a scope decision.
- The same directional problem affects
txt, tracked separately.
Links
docs/audits/2026-08-agent-workflow-audit.md→ Findings 1 and 3src/mcp_pandoc/server.pyL114Problem
input_formatadvertisespdf. Pandoc has no PDF reader, so this can never succeed.Checked the last 25 pandoc releases; none added a PDF reader. Unlike the pptx case, this is a general statement rather than a property of one pandoc version.
Why it matters
The input schema is a promise made to a language model. A model reading
pdfin the enum will attempt PDF input, fail, and often retry the same call.Severity is P1 rather than P0: calls fail cleanly, with no data corruption and no startup impact.
Acceptance criteria
pdfremoved from theinput_formatenumisErrorresult naming the limitation rather than passing it to pandocRelated
txt, tracked separately.