Recommand MCP by usefulapi
v1.6.1Read documents and the inbox, verify Peppol recipients and send invoices in Recommand.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
recommand_list_companies List companies
List every company registered under the team, with its verification and Peppol registration status. Start here to get company ids. Not paginated. Recommand API: GET /api/v1/companies.
| Parameter | Type | Description |
|---|---|---|
enterpriseNumber | string | Filter by enterprise number. |
vatNumber | string | Filter by VAT number. |
recommand_get_company Get a company
Get one company with its verification and Peppol registration status. Recommand API: GET /api/v1/companies/{companyId}.
| Parameter | Type | Description |
|---|---|---|
companyId * | string | Company id, for example c_01JQZ8X0M4T7RB6K9V2NDHW3PA (from recommand_list_companies). |
recommand_list_labels List labels
List every label in the team. Use a label id with recommand_list_documents (labelId). Recommand API: GET /api/v1/labels.
recommand_list_documents List documents
List sent and received documents, one page at a time. Filter by company, direction, read status, dates, label or failed delivery (deliveryFailed true finds sends that need attention). Recommand API: GET /api/v1/documents.
| Parameter | Type | Description |
|---|---|---|
companyId | One company id or a list. | |
deliveryFailed | boolean | true = only documents with at least one failed delivery. |
direction | string | incoming = received, outgoing = sent. |
excludeAttachments | boolean | true = leave attachments out of the parsed data. |
from | string | Created at or after this ISO 8601 timestamp. |
isUnread | boolean | true = unread only, false = read only. |
labelId | One label id or a list. | |
limit | integer | Items per page. |
page | integer | Page number, starting at 1. |
search | string | Free text search. |
to | string | Created before this ISO 8601 timestamp. |
recommand_get_document Get a document
Get one sent or received document with its parsed content and delivery status. Recommand API: GET /api/v1/documents/{documentId}.
| Parameter | Type | Description |
|---|---|---|
documentId * | string | Document id, for example doc_01JQZ8X0M4T7RB6K9V2NDHW3PA (from recommand_list_documents or recommand_get_inbox). |
recommand_get_inbox Get the inbox
List incoming documents that are not marked as read yet. Process a document, then call recommand_mark_document_read so it leaves the inbox. Not paginated. Recommand API: GET /api/v1/inbox.
| Parameter | Type | Description |
|---|---|---|
companyId | string | Only this company's inbox. |
recommand_verify_recipient Verify a Peppol recipient
Look up a Peppol address in the directory before sending. Reports whether it is registered, the company name and the document types it accepts. isValid false means the lookup failed. Recommand API: POST /api/v1/verify.
| Parameter | Type | Description |
|---|---|---|
peppolAddress * | string | Peppol address as scheme:identifier, for example "0208:0123456789" (Belgian enterprise number). |
includeBusinessCard | boolean | true = add the company name and country from the business card. |
includeEndpointDetails | boolean | true = add the endpoint details of each document type. |
recommand_send_invoice Send an invoice
SENDS A REAL INVOICE over the Peppol network, by email, or both. This cannot be undone, and each send counts toward the subscription usage. Check the buyer with recommand_verify_recipient first. Do NOT retry after a timeout: list the outgoing documents first, because the invoice may already be sent. If Peppol delivery fails and no email fallback applies, the call returns HTTP 422 and stores nothing. Recommand API: POST /api/v1/{companyId}/send.
| Parameter | Type | Description |
|---|---|---|
companyId * | string | The company that sends the invoice. |
invoice * | object | Invoice in Peppol BIS 3 terms. Currency is EUR. Payment means, discounts and attachments are not part of this tool. |
recipient * | Buyer's Peppol address. Null sends by email only (then email.to is required). | |
email | object | Email delivery. Optional when a Peppol recipient is given. |
pdfGeneration | object | Attach a generated PDF of the invoice. |
recommand_mark_document_read Mark a document as read
Mark a document as read, which removes it from the inbox. Pass read false to mark it unread again. Calling it again with the same value does no harm. Recommand API: POST /api/v1/documents/{documentId}/mark-as-read.
| Parameter | Type | Description |
|---|---|---|
documentId * | string | Document id, for example doc_01JQZ8X0M4T7RB6K9V2NDHW3PA (from recommand_list_documents or recommand_get_inbox). |
read | boolean | true (default) = read. false = unread. |