Doconda

v0.7.0
com.doconda/mcp Checked 11 hours ago Published 1 month ago

Convert, create and edit Word, PowerPoint, Excel and PDF documents from any AI agent.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

create_document Create document

Create a finished document: Word, PDF, PowerPoint, Excel or an artifact (a web page with its own shared database, e.g. a poll or a team checklist). Choose only the format: Doconda works out what kind of document it is (contract, letter, report…) from the request. Give `prompt` to have it written, or `markdown` with the content already written. Waits until it is ready and returns download links; after about 4 minutes it returns its id and status instead: call get_document later.

ParameterTypeDescription
datastringArtifacts only. shared (default): everyone with the link sees the same data (polls, team lists). local: each visitor keeps their own in their browser (calculators, personal checklists). With retention…
formatstringdocx → Word (+ PDF); pdf → only the PDF; pptx → PowerPoint (+ PDF); xlsx → Excel (+ PDF); artifact → web page. If the user didn't say, leave it out and Doconda decides from the prompt.
markdownstringContent already written, in Markdown (instead of prompt). For an artifact, the content its page shows.
max_qualitystringOnly with quality auto: the highest level Doconda may choose. It caps the price and the amount held, e.g. standard.
namestringOptional: a name to find it later, e.g. 'Contrato piso Malasaña'. It also names the files.
promptstringWhat to write, in the user's words (topic, audience, length, tone). Formatting wishes too, e.g. 'blue centred headings, with a cover page'.
qualitystringOptional. fast: the cheapest and quickest (about a minute), any style, but it can't copy a file's design. standard: more care, takes minutes. best: the highest quality and price, e.g. to copy a file's…
retentionstringOptional: how long Doconda keeps it once finished (none = 15 minutes). Without it, the project's retention (30 days unless changed). The user should save the file before then.
source_file_idsarrayUploaded files (upload_file) or documents already made (their id, from list_documents): documents to base the text on (up to 5, with prompt) and pictures to put in the document (up to 10; with markdow…
stylestringOptional: the look in plain words, e.g. 'blue centred headings, Lora font, page numbers, table of contents'.

upload_file Upload file

Upload a file (Word, PDF, PowerPoint, Excel — also the old .doc, .ppt and .xls —, .odt, CSV, TXT, Markdown, HTML, or a PNG, JPEG, GIF or WebP picture; up to 20 MB) to convert or edit it, or to use it as a source. Returns its file_id. Give `path` for a file on this computer.

ParameterTypeDescription
content_base64stringThe file's bytes in base64 (for small files).
filenamestringIts name with extension, e.g. contract.docx. Needed with content_base64.
pathstringAbsolute path of the file on this computer.
urlstringA public URL: Doconda downloads the file from it.

convert_file Convert file

Convert an uploaded file to another format, with no AI. Word, Markdown, text, HTML and .odt → docx, pdf, md, txt, html, odt, rtf; Excel and CSV → xlsx, csv, pdf, md, txt; PowerPoint → pptx, pdf, md, txt; PDF → docx, md, txt; PNG and JPEG → pdf, md. Scanned PDFs and pictures are read with OCR. md, txt, html and csv come back as `text` (use md to read any file); the rest as a download link valid 5 minutes. The first 1000 conversions each month are free, then 0.01 € each.

ParameterTypeDescription
file_id *stringFrom upload_file, or the id of a document Doconda made (list_documents).
to *stringThe format you want.

edit_document Edit document

Change an uploaded Word, PowerPoint, Excel or PDF file as asked (e.g. 'blue headings and add a confidentiality clause'). Only what is asked changes; the rest stays identical. Returns the new file (after about 4 minutes, its id and status instead: call get_document later); get_report lists every change, with the text before and after.

ParameterTypeDescription
file_id *stringFrom upload_file, or the id of a document Doconda made (list_documents).
instructions *stringWhat to change, in the user's words.
max_qualitystringOnly with quality auto: the highest level Doconda may choose. It caps the price and the amount held, e.g. standard.
qualitystringOptional. fast: the cheapest and quickest (about a minute), any style, but it can't copy a file's design. standard: more care, takes minutes. best: the highest quality and price, e.g. to copy a file's…

list_documents List documents

The latest documents made in this project (newest first), with their id and name. Use an id as file_id to convert or edit one, or in source_file_ids to create from it.

ParameterTypeDescription
limitnumberHow many, 1–100 (default 20).

get_document Get document

A document's status and fresh download links (they expire after 5 minutes). Also to check on a document create_document or edit_document returned before it finished.

ParameterTypeDescription
document_id *stringdoc_…

get_report Get report

What an edit changed (from edit_document): changes lists each passage added, changed or removed, with the text before and after (empty for a created document). For the status and download links use get_document. Until the document finishes it returns report_not_ready; once its retention ends, content_deleted.

ParameterTypeDescription
document_id *stringdoc_…

read_artifact_data Read artifact data

What people have saved in an artifact's page (e.g. poll votes): its collections, or one collection's records, newest first.

ParameterTypeDescription
document_id *stringThe artifact's doc_… id.
collectionstringOptional: one collection's records instead of the list of collections.