Skip to main content
Glama

Docparser MCP by usefulapi

Upload a document (base64)

docparser_upload_document

WRITE: upload one small file as base64 content to a parser and parse it. Uses page credits of the account's plan. 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. Prefer docparser_fetch_document_from_url for large files. Returns the new document id and the remaining quota. POST /v1/document/upload/{parser_id}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_nameNoFile name with extension (e.g. invoice.pdf); a time-based name is used if omitted.
parser_idYesDocparser parser id (from docparser_list_parsers).
remote_idNoYour own reference for the document (stored by Docparser; usable as a filter later).
file_contentYesThe file, base64 encoded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.