Convert documents to clean markdown for LLMs
Receive clean, LLM-ready markdown from PDFs, DOCX, or URLs with boilerplate stripped and tables preserved.
How it works
Read-onlyProductivity and planning
The agent uses the AgentMD MCP server to convert various document formats (PDF, DOCX, HTML, URLs) into clean markdown. It sends the file or URL to the convert endpoint. Before acting, ensure the user has provided a valid file or URL and an API key is configured. The output includes the markdown content, metadata, and any warnings, making it suitable for downstream LLM processing.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Prompt for Convert documents to clean markdown for LLMs
Convert the attached PDF report into clean markdown suitable for LLM consumption, ensuring tables are preserved and boilerplate is removed.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
Send a PDF, DOCX, HTML file, or any URL — get back LLM-ready markdown with tables preserved and boilerplate stripped.AgentMD — documents to clean markdown, built for agents