Recommand MCP by usefulapi

v1.6.1
io.usefulapi/recommand Checked 2 days ago Published 1 day ago

Read 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.

ParameterTypeDescription
enterpriseNumberstringFilter by enterprise number.
vatNumberstringFilter 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}.

ParameterTypeDescription
companyId *stringCompany 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.

ParameterTypeDescription
companyIdOne company id or a list.
deliveryFailedbooleantrue = only documents with at least one failed delivery.
directionstringincoming = received, outgoing = sent.
excludeAttachmentsbooleantrue = leave attachments out of the parsed data.
fromstringCreated at or after this ISO 8601 timestamp.
isUnreadbooleantrue = unread only, false = read only.
labelIdOne label id or a list.
limitintegerItems per page.
pageintegerPage number, starting at 1.
searchstringFree text search.
tostringCreated 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}.

ParameterTypeDescription
documentId *stringDocument 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.

ParameterTypeDescription
companyIdstringOnly 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.

ParameterTypeDescription
peppolAddress *stringPeppol address as scheme:identifier, for example "0208:0123456789" (Belgian enterprise number).
includeBusinessCardbooleantrue = add the company name and country from the business card.
includeEndpointDetailsbooleantrue = 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.

ParameterTypeDescription
companyId *stringThe company that sends the invoice.
invoice *objectInvoice 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).
emailobjectEmail delivery. Optional when a Peppol recipient is given.
pdfGenerationobjectAttach 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.

ParameterTypeDescription
documentId *stringDocument id, for example doc_01JQZ8X0M4T7RB6K9V2NDHW3PA (from recommand_list_documents or recommand_get_inbox).
readbooleantrue (default) = read. false = unread.