DocRaptor MCP by usefulapi
Server Details
Turn HTML or a live URL into polished PDF and Excel files — hosted downloads, async jobs, history.
The last two health checks of this connector failed. If this server requires authentication, missing or expired test credentials may be the cause. A test profile lets Glama authenticate for health checks and discover tools; it is separate from your personal connections.
If you are the author, claim ownership, then add or update a test profile under Admin → Test Profile.
- Status
- Unhealthy
- Uptime
- 82.2% over 74 days
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- m190/usefulapi-mcp
- GitHub Stars
- 0
TDQS
Scored across 4 tools
Each tool maps to a distinct resource/action: creating documents, polling async job status, listing document metadata, and listing egress IPs. The only mild adjacency is status vs. list, but descriptions clearly separate polling a specific async job from paginated metadata history.
All four tools use a consistent docraptor_ prefix with a verb_noun pattern (create_document, get_document_status, list_documents, list_ip_addresses). No mixing of conventions or casing.
Four tools is a tight, well-scoped set for a document-generation API; nothing feels gratuitous. It sits at the thin end, but each tool earns its place.
Core lifecycle is covered: create (sync/async/hosted/base64), poll status, list metadata, plus IP allowlisting. Minor gaps exist — no delete/cancel of a queued job and no single-document metadata fetch — but agents can work around these.
Available Tools
4 toolsdocraptor_create_documentCreate a document (PDF/XLS/XLSX)ADestructiveInspect
Generate a PDF or Excel document from HTML (document_content) or a URL (document_url). Exactly one of document_content / document_url is required. By default the document is HOSTED and the tool returns a { download_url } you can fetch — ideal for agents (no large binary in the response). Hosted documents require a paid DocRaptor add-on. Without that add-on, set hosted:false to get the raw document back as base64, or async:true to enqueue a job and poll docraptor_get_document_status. Test mode is enabled by default: PDFs are watermarked and Excel files are limited to 20 rows. Set test:false explicitly to create a real document that consumes account credits (billed). DocRaptor API: POST /docs.
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | An arbitrary tag string for your own reporting/grouping. | |
| help | No | Enable DocRaptor help mode: emails you and DocRaptor support and retains document contents for review until resolved. Maximum five active help requests. | |
| name | No | A name for the document (<=200 chars), shown in the DocRaptor dashboard/listing. | |
| test | No | Default true: generate a FREE test document (watermarked PDF or Excel limited to 20 rows). Set false explicitly for a real, BILLED document. | |
| type | No | Output format: pdf (default), xls, or xlsx. | |
| async | No | If true, enqueue the job and return a status_id (poll with docraptor_get_document_status). Best for large/slow documents. Default false. | |
| hosted | No | Default true for synchronous requests, false for async. Requires the paid hosted-documents add-on; each download may be billed. Set false for raw base64 output without the add-on. | |
| strict | No | PDF HTML validation: html fails on invalid HTML; none disables strict HTML validation. | |
| pipeline | No | Rendering pipeline/engine version, e.g. '10'. Omit to use DocRaptor's default. | |
| referrer | No | Explicit referrer for JavaScript requests, e.g. Typekit with document_content. Defaults to document_url. | |
| javascript | No | Enable DocRaptor's JavaScript engine (default false), recommended for Typekit and Highcharts. Separate from prince_options.javascript; usually enable only one engine. | |
| callback_url | No | URL DocRaptor POSTs after a successful async job (requires async:true). Failed jobs do not trigger callbacks. | |
| document_url | No | A URL DocRaptor will fetch and render. Use this OR document_content. | |
| prince_options | No | PDF engine (Prince) options. PDF only. | |
| document_content | No | The HTML/XML source to render. Use this OR document_url. | |
| hosted_expires_at | No | For hosted docs: ISO 8601 datetime when the hosted link expires. | |
| hosted_download_limit | No | For hosted docs: max number of downloads before the link expires. | |
| ignore_resource_errors | No | Ignore errors downloading CSS/images (DocRaptor default true). Set false to fail generation on resource errors. | |
| ignore_console_messages | No | Ignore JavaScript console messages instead of failing generation. Defaults to false on Pipelines 1–6, true on Pipeline 7+. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With only destructiveHint=true in annotations, the description carries most of the burden and does so well: it discloses that documents are watermarked and Excel capped at 20 rows by default, that test:false consumes billed credits, that hosted mode requires a paid add-on, and that download links can expire. It stops short of describing the async return shape (a status_id field) with the same specificity it gives download_url, leaving one behavioral gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Six tight sentences, front-loaded with the core action and input constraint, then escalating to mode selection, cost/limits, and finally the API endpoint. Every sentence carries a decision-relevant fact; nothing is padding.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 19-parameter mutation with a deep nested object and no output schema, the description covers the highest-stakes branches (billing, watermarking, add-on requirement, sync vs async) which is what an agent most needs. The remaining gap is return-value shape outside of hosted mode — base64 payload size and the async status response are only loosely implied.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: it tightens 'Use this OR document_url' into an exactly-one-of constraint, and it explains the interaction between test, hosted, and async defaults that the schema documents in isolation. It does not attempt to explain prince_options' ~35 sub-properties, which is reasonable given the schema documents them inline.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Opens with a specific verb and resource — 'Generate a PDF or Excel document from HTML (document_content) or a URL (document_url)' — and names all three output formats via the title. An agent can immediately distinguish this from the sibling read-only helpers (list_documents, get_document_status, list_ip_addresses).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states the selection rule for the two mutually exclusive inputs ('Exactly one of document_content / document_url is required') and then gives decision branches: use default hosted mode for agent-friendly URLs, hosted:false if the add-on is absent, async:true for large jobs with polling via docraptor_get_document_status. It also flags the test-mode default and how to opt out, so there are no hidden surprises before invoking.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
docraptor_get_document_statusGet async document statusARead-onlyInspect
Check the status of an asynchronous document created with docraptor_create_document({async:true}). Returns status (queued | working | completed | failed), and when completed a download_url / download_id / number_of_pages. DocRaptor API: GET /status/{status_id}.
| Name | Required | Description | Default |
|---|---|---|---|
| status_id | Yes | The status_id returned by docraptor_create_document when async:true. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
readOnlyHint=true already declares the safe-read profile, and the description adds valuable detail on the actual state machine (queued | working | completed | failed) plus what becomes available on completion (download_url / download_id / number_of_pages). Missing only polling/rate-limit guidance, but the added behavioral context is real.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two tight sentences: the purpose plus the trigger condition come first, then the return payload and the underlying endpoint. No filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description takes on the burden of describing returns and does it, enumerating the possible status values and the completion fields. 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.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the single status_id parameter's schema description ('returned by docraptor_create_document when async:true') duplicates what the prose says. With the schema carrying the full load, the baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (Check the status) and resource (asynchronous document), and explicitly scopes it to documents created by docraptor_create_document with async:true, which cleanly separates it from the sibling create/list tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The condition for use is clear: it is the follow-up call for an async creation, and the {async:true} reference pins down exactly which create path produces a usable status_id. It does not name an explicit when-not-to-use or alternative, but the context is unambiguous.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
docraptor_list_documentsList documentsARead-onlyInspect
List metadata for documents created on this account, most recent first (paginated). Note: DocRaptor does not retain the rendered files themselves — this returns metadata such as name, type, test flag, and creation time. DocRaptor API: GET /docs.json.
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Pagination page number. Default 1. | |
| per_page | No | Documents per page (max 100). Default 100. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, and the description adds genuinely useful context beyond that: the sort order, the pagination nature, the fact that only metadata (not rendered files) persists, and the underlying GET /docs.json endpoint. It does not cover rate limits or default page size behavior, so not a 5.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three sentences, front-loaded with the core purpose, and each adds something (scope, non-retention caveat, endpoint). The API endpoint mention is mildly redundant but not wasteful. No padding.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description correctly describes the return contents (name, type, test flag, creation time) and ordering, which an agent needs. Pagination defaults are left to the schema, and there is no note on total counts or paging termination, so a small gap remains.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with both page and per_page documented including defaults and max, so the schema carries the parameter burden and the baseline is 3. The description only alludes to pagination generically and adds no format or constraint detail beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('List metadata for documents created on this account') plus the ordering scope (most recent first, paginated), so the agent knows exactly what it returns. It does not, however, distinguish itself from siblings like docraptor_get_document_status or docraptor_create_document, so it stops short of a 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied — enumerate documents on the account — and the caveat that rendered files are not retained tells the agent what this tool cannot be used for. But no alternative sibling is named and no explicit 'use this when...' condition is given, so this is minimum-viable routing guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
docraptor_list_ip_addressesList DocRaptor IP addressesARead-onlyInspect
List the IP addresses DocRaptor uses to fetch remote assets / document_url. Useful for allowlisting DocRaptor on a firewall or asset host. (DocRaptor notes these change over time — prefer HTTP Basic auth over IP allowlisting for securing assets.) DocRaptor API: GET /ips.json.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, so safety is covered. The description adds genuinely useful behavior beyond that: the IP list changes over time, and the underlying endpoint is GET /ips.json. This is meaningful operational context an agent could not infer from structured fields.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three tight sentences that front-load what the tool returns and immediately follow with the reason to use it. The parenthetical security note is long but earns its place by discouraging a fragile pattern.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a read-only, no-parameter list tool with a 100%-covered (empty) schema and no output schema, the description says everything needed: what it returns, why, and the caveat about staleness. Only the exact return shape is unspecified, which is largely self-evident here.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters, so there is nothing for the description to disambiguate. Baseline for a 0-param tool is 4; the description correctly implies no filtering or input is needed.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (List) and resource (DocRaptor IP addresses), and scopes it precisely: the IPs used to fetch remote assets/document_url. This is clearly distinguishable from create_document, get_document_status, and list_documents.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly names the use case (allowlisting DocRaptor on a firewall or asset host) and points toward the preferred alternative (HTTP Basic auth over IP allowlisting). No explicit 'when not to call' clause, but the practical context is clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
- Changed
docraptor_create_document38 fields changed- added
Input schema / properties / callback_urlAdded value: +{ + "description": "URL DocRaptor POSTs after a successful async job (requires async:true). Failed jobs do not trigger callbacks.", + "type": "string" +} - added
Input schema / properties / helpAdded value: +{ + "description": "Enable DocRaptor help mode: emails you and DocRaptor support and retains document contents for review until resolved. Maximum five active help requests.", + "type": "boolean" +} - changed
Input schema / properties / hosted / descriptionPrevious value: -"If true (default), DocRaptor hosts the file and returns a download_url. If false, the raw document is returned as base64."New value: +"Default true for synchronous requests, false for async. Requires the paid hosted-documents add-on; each download may be billed. Set false for raw base64 output without the add-on." - added
Input schema / properties / ignore_console_messagesAdded value: +{ + "description": "Ignore JavaScript console messages instead of failing generation. Defaults to false on Pipelines 1–6, true on Pipeline 7+.", + "type": "boolean" +} - added
Input schema / properties / ignore_resource_errorsAdded value: +{ + "description": "Ignore errors downloading CSS/images (DocRaptor default true). Set false to fail generation on resource errors.", + "type": "boolean" +} - added
Input schema / properties / javascriptAdded value: +{ + "description": "Enable DocRaptor's JavaScript engine (default false), recommended for Typekit and Highcharts. Separate from prince_options.javascript; usually enable only one engine.", + "type": "boolean" +} - added
Input schema / properties / prince_options / properties / allow_assemblyAdded value: +{ + "description": "Allow document assembly even when disallow_modify is true (Pipeline 9+).", + "type": "boolean" +} - added
Input schema / properties / prince_options / properties / allow_copy_for_accessibilityAdded value: +{ + "description": "Allow accessibility copying even when disallow_copy is true (Pipeline 9+).", + "type": "boolean" +} - added
Input schema / properties / prince_options / properties / css_dpiAdded value: +{ + "description": "CSS pixel resolution in dots per inch (DocRaptor default 96).", + "exclusiveMinimum": 0, + "type": "number" +} - added
Input schema / properties / prince_options / properties / disallow_annotateAdded value: +{ + "description": "Disallow PDF annotations.", + "type": "boolean" +} - added
Input schema / properties / prince_options / properties / disallow_copyAdded value: +{ + "description": "Disallow copying PDF content.", + "type": "boolean" +} - added
Input schema / properties / prince_options / properties / disallow_modifyAdded value: +{ + "description": "Disallow PDF modifications.", + "type": "boolean" +} - added
Input schema / properties / prince_options / properties / disallow_printAdded value: +{ + "description": "Disallow printing the PDF.", + "type": "boolean" +} - added
Input schema / properties / prince_options / properties / encryptAdded value: +{ + "description": "Encrypt PDF output.", + "type": "boolean" +} - added
Input schema / properties / prince_options / properties / http_passwordAdded value: +{ + "description": "Password for HTTP authentication when fetching resources.", + "type": "string" +} - added
Input schema / properties / prince_options / properties / http_proxyAdded value: +{ + "description": "HTTP proxy server used to fetch resources.", + "type": "string" +} - added
Input schema / properties / prince_options / properties / http_timeoutAdded value: +{ + "description": "External resource request timeout in seconds (1–60; DocRaptor default 10).", + "maximum": 60, + "minimum": 1, + "type": "integer" +} - added
Input schema / properties / prince_options / properties / http_userAdded value: +{ + "description": "Username for HTTP authentication when fetching resources.", + "type": "string" +} - added
Input schema / properties / prince_options / properties / inputAdded value: +{ + "description": "Input format used by Prince.", + "enum": [ + "html", + "xml", + "auto" + ], + "type": "string" +} - added
Input schema / properties / prince_options / properties / insecureAdded value: +{ + "description": "Disable SSL verification for resource downloads (not recommended).", + "type": "boolean" +} - changed
Input schema / properties / prince_options / properties / javascript / descriptionPrevious value: -"Run JavaScript in the document before rendering. Default false."New value: +"Enable Prince's JavaScript engine (default false), separate from top-level javascript. Usually enable only one engine to avoid running scripts twice." - added
Input schema / properties / prince_options / properties / key_bitsAdded value: +{ + "anyOf": [ + { + "const": 40, + "type": "number" + }, + { + "const": 128, + "type": "number" + } + ], + "description": "PDF encryption key size: 40 or 128 bits." +} - added
Input schema / properties / prince_options / properties / no_author_styleAdded value: +{ + "description": "Ignore author style sheets.", + "type": "boolean" +} - added
Input schema / properties / prince_options / properties / no_compressAdded value: +{ + "description": "Disable PDF output compression.", + "type": "boolean" +} - added
Input schema / properties / prince_options / properties / no_default_styleAdded value: +{ + "description": "Ignore default style sheets.", + "type": "boolean" +} - added
Input schema / properties / prince_options / properties / no_embed_fontsAdded value: +{ + "description": "Disable font embedding in PDF output.", + "type": "boolean" +} - added
Input schema / properties / prince_options / properties / no_networkAdded value: +{ + "description": "Disable network access and HTTP downloads.", + "type": "boolean" +} - added
Input schema / properties / prince_options / properties / no_parallel_downloadsAdded value: +{ + "description": "Fetch assets sequentially, useful for hosts with strict rate limits.", + "type": "boolean" +} - added
Input schema / properties / prince_options / properties / no_subset_fontsAdded value: +{ + "description": "Disable font subsetting in PDF output.", + "type": "boolean" +} - added
Input schema / properties / prince_options / properties / no_xincludeAdded value: +{ + "description": "Disable XInclude processing.", + "type": "boolean" +} - added
Input schema / properties / prince_options / properties / owner_passwordAdded value: +{ + "description": "PDF owner password for controlling document permissions.", + "type": "string" +} - added
Input schema / properties / prince_options / properties / profileAdded value: +{ + "description": "PDF conformance profile (PDF/A, PDF/UA, or PDF/X). Supported profiles depend on the pipeline.", + "enum": [ + "PDF/A-1a", + "PDF/A-1a+PDF/UA-1", + "PDF/A-1b", + "PDF/A-2a", + "PDF/A-2a+PDF/UA-1", + "PDF/A-2b", + "PDF/A-3a", + "PDF/A-3a+PDF/UA-1", + "PDF/A-3b", + "PDF/UA-1", + "PDF/X-1a:2001", + "PDF/X-1a:2003", + "PDF/X-3:2002", + "PDF/X-3:2003", + "PDF/X-4" + ], + "type": "string" +} - added
Input schema / properties / prince_options / properties / user_passwordAdded value: +{ + "description": "PDF user password, required to open the encrypted document.", + "type": "string" +} - added
Input schema / properties / prince_options / properties / versionAdded value: +{ + "description": "Deprecated Prince version selector. Prefer the top-level pipeline parameter.", + "type": "string" +} - added
Input schema / properties / referrerAdded value: +{ + "description": "Explicit referrer for JavaScript requests, e.g. Typekit with document_content. Defaults to document_url.", + "type": "string" +} - added
Input schema / properties / strictAdded value: +{ + "description": "PDF HTML validation: html fails on invalid HTML; none disables strict HTML validation.", + "enum": [ + "none", + "html" + ], + "type": "string" +} - added
Input schema / properties / test / defaultAdded value: +true - changed
Input schema / properties / test / descriptionPrevious value: -"If true, generate a FREE watermarked test document (does not consume credits). Default false = a real, BILLED document."New value: +"Default true: generate a FREE test document (watermarked PDF or Excel limited to 20 rows). Set false explicitly for a real, BILLED document."
Related MCP Connectors
Turn HTML or Markdown into a clean, styled PDF and get a download link.
Generate images and PDFs from HTML/CSS, live websites, and reusable templates.
Convert public web pages to PDF, images, Markdown, or JSON using one API key.
Cloud PDF generation from HTML, CSS and XSL-FO, with PDF/A and PDF/UA support.
Related MCP Servers
AlicenseAqualityBmaintenanceRenders PDFs from HTML templates or saved templates and spreadsheet data, with batch job support and document retrieval.11131 npm1MIT- AlicenseNot gradedqualityBmaintenanceTurn HTML or a URL into a pixel-accurate PDF in a single tool call.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI editors and agents to read public web pages as clean Markdown and convert URLs, HTML, or Markdown into PDF, Word, Markdown, HTML, or JSON documents.MIT
- AlicenseAqualityCmaintenanceGenerate professional PDFs from Claude, Cursor, and other AI tools. Create invoices, contracts, reports, and certificates from templates or inline HTML markup.721 npm1MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.