Skip to main content
Glama

Docparser MCP by usefulapi

Import a document from a URL

docparser_fetch_document_from_url

WRITE: ask Docparser to download a document from a publicly reachable URL and parse it with the given parser. Uses page credits of the account's plan (documents queue when credits run out). Docparser may buy extra credits by itself only if the account owner turned on automatic credit replenishment, or the account is on an annual plan that renews early when credits run out - check the Docparser billing settings first. This server never buys credits or changes the plan. Returns the new document_id: poll docparser_get_document_status, then read docparser_get_document_results. POST /v2/document/fetch/{parser_id}.

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) URL of the file (PDF, image, Word, Excel, CSV, ...).
parser_idYesDocparser parser id (from docparser_list_parsers).
remote_idNoYour own reference for the document (stored by Docparser; usable as a filter later).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=true, idempotentHint=false) by disclosing credit consumption, queueing when credits run out, the conditions under which Docparser auto-replenishes credits, and an explicit guarantee that this server never buys credits or alters the plan. Consistent with the annotations and highly useful for cost-sensitive callers.

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 action and the write nature, then handles credits and the return contract in order. The billing discussion is somewhat dense, but every claim (credit usage, queueing, auto-replenishment caveat) is decision-relevant rather than filler.

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?

With no output schema, the description compensates by stating the return value (the new document_id) and the two follow-up calls needed to retrieve results. Combined with the credit and authentication-adjacent caveats, an agent has everything required to invoke this correctly.

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 description coverage is 100%, so url and parser_id are already fully documented, and the description adds nothing about remote_id or parameter formats. Baseline 3 applies when the schema carries the parameter burden.

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 and resource ('download a document from a publicly reachable URL and parse it with the given parser'), and the 'WRITE' prefix plus URL-based import clearly separates it from the file-based sibling docparser_upload_document. The API endpoint is even named, making the scope unambiguous.

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

Usage Guidelines4/5

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

Gives a clear operational context (public URL, parser required) and prescribes the follow-up workflow: poll docparser_get_document_status, then read docparser_get_document_results. It also warns to check billing settings first. It does not explicitly contrast with docparser_upload_document (local file), so the when-not alternative is only inferable.

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.