Typless MCP by usefulapi
v1.5.0Extract fields from business documents and read extraction results in Typless.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
typless_list_awaiting_poll List finished extractions
List extraction ids that finished in the last 2 days and were not polled yet. Use typless_get_extraction with each id to read the result. Typless API: GET /api/v1/awaiting-poll.
| Parameter | Type | Description |
|---|---|---|
customer | string | Your internal customer id. Typless uses it for usage reports and to filter the poll queue. |
typless_get_extraction Get an extraction result
Get the status and result of one extraction by extraction_id. status is IN_PROGRESS, SUCCESS, ERROR or EXPIRED; result is empty until the status is SUCCESS. Calling it also removes the id from typless_list_awaiting_poll. The result is deleted 48 hours after processing finishes. Typless API: GET /api/v2/get-extraction-data.
| Parameter | Type | Description |
|---|---|---|
extraction_id * | string | The extraction id from typless_extract_data_async or typless_list_awaiting_poll. |
ocr_data | boolean | Also return OCR text blocks, adjusted file URL and Markdown content, when the document type produces them. |
typless_extract_data Extract data from a document
Extract fields from one document and wait for the result in the same call. Send the file as base64. Accepts PDF, JPG, PNG, TIFF and BMP up to 10 MB; use typless_extract_data_async for larger files. The document type must exist in the customer's Typless account. Typless API: POST /api/v1/extract-data.
| Parameter | Type | Description |
|---|---|---|
document_type_name * | string | Name of the document type to extract with, for example line-item-invoice. |
file_base64 * | string | The file content as a base64 string (up to 10 MB before encoding). |
file_name * | string | Original file name with its extension, for example invoice.pdf. The extension must match the file content. |
customer | string | Your internal customer id. Typless uses it for usage reports and to filter the poll queue. |
typless_extract_data_async Start an extraction
Start an extraction and return an extraction_id at once (HTTP 202). Send the file as base64 (file_base64) or as a public https URL (file_url), not both. file_url files can be up to 35 MiB and must download within 60 seconds. Read the result later with typless_get_extraction. Typless API: POST /api/v1/extract-data-async.
| Parameter | Type | Description |
|---|---|---|
document_type_name * | string | Name of the document type to extract with, for example line-item-invoice. |
file_name * | string | Original file name with its extension, for example invoice.pdf. The extension must match the file content. |
customer | string | Your internal customer id. Typless uses it for usage reports and to filter the poll queue. |
file_base64 | string | The file content as a base64 string. Pass this or file_url. |
file_password | string | Password of a password-protected PDF. |
file_url | string | Public https URL of the file (redirects are not followed). Pass this or file_base64. |