Skip to main content
Glama

Samedoc: Translate PDF & PDF to Word

Convert a PDF or scan to an editable Word file

convert_to_word

Turns a PDF or a scanned document / photo of one into an editable Word file (.docx) that looks like the original page: every line of text is editable in place, over the original design (tables, lines, logos, stamps and signatures kept exactly). Same language, no translation. Reads scans and broken PDF text, and keeps Hebrew and Arabic right-to-left. Use when the user says 'convert this PDF to Word / docx', 'make this PDF editable', 'I need to edit this form / scan', or when a Word file made in chat lost the logo, tables or layout. Give the document as file (a file the user attached) or file_url (an https link). Up to 5 pages per document. Takes 20-90 seconds; if it takes longer, returns an id for get_translation.

Input Schema

NameRequiredDescriptionDefault
fileNoThe document the user attached (ChatGPT file).
file_urlNohttps link to the PDF or image, when no file is attached.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations (readOnlyHint=false, openWorld=true) by disclosing the 5-page cap, the 20–90 second runtime, and the async fallback that returns an id for get_translation if it overruns. Also discloses scan/OCR and RTL (Hebrew/Arabic) handling. Slightly incomplete on failure modes (what happens on a rejected/unreadable file, page-count overage behavior).

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

Conciseness4/5

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

Front-loads the outcome and keeps the trigger-phrase list compact, but the parenthetical fidelity inventory ('tables, lines, logos, stamps and signatures kept exactly') and the runtime/fallback sentence make it longer than strictly necessary. No filler or marketing fluff, though.

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?

No output schema exists, so the description carries the return-value burden itself and does: it names the .docx artifact and its fidelity properties, and explains the id-for-get_translation handoff when processing is slow. Combined with the page limit and format acceptance, an agent has everything needed to call it and interpret the result.

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 coverage is 100% and both parameters already carry their own descriptions, so the baseline applies. The description restates the file-vs-file_url choice with a helpful 'or' framing and reiterates the https requirement, but adds no new semantics about the nested file object's required fields (download_url, file_id) or precedence when both are supplied.

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 specific verb+resource transformation (PDF/scan/photo → editable .docx) and immediately distinguishes itself from the translate_document sibling with 'Same language, no translation.' The output fidelity claim (text editable in place over original tables, lines, logos, stamps, signatures) makes the capability unmistakable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit trigger phrases ('convert this PDF to Word', 'make this PDF editable', 'I need to edit this form / scan') plus a non-obvious condition: when a Word file made in chat lost the logo, tables, or layout. It also rules out the translation path by name, so an agent can choose between this and translate_document without opening either schema.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources