PenlyDoc

v0.1.1
io.github.OrestKlymko/penlydoc-mcp Checked 18 hours ago Published 1 month ago

Send documents for e-signature, track who signed and save sealed PDFs with PenlyDoc.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_organisation Organisation

Shows which PenlyDoc organisation the API key belongs to, its default language and its sending limit.

list_templates List templates

Lists the organisation's templates: id, name, the roles to fill (e.g. "tenant", "landlord"), the data keys to fill, and whether the template is ready to send.

send_from_template Send from a template

Creates a document from a template: one person per role, values for its data keys. With send=true PenlyDoc immediately e-mails the people with delivery EMAIL; confirm the people and values with the user first. With send=false it creates a draft the user can review in the console. Use the same externalRef/idempotencyKey to safely retry.

ParameterTypeDescription
roles *objectKeyed by role key from list_templates, e.g. {"tenant": {"name": "Mia Novak", "email": "mia@example.com"}}
send *booleantrue = e-mail people now; false = draft
templateId *string
dataobjectValues for the template data keys, e.g. {"Rent": "950 EUR"}
externalRefstringYour own reference, e.g. an order or contract number
idempotencyKeystring
messagestring
titlestring

send_document Send a document

Uploads local files (PDF, or PNG/JPEG photos of pages, joined in order) and creates a document for signature. Signature boxes come from {{sig:1}}-style tags in the PDF or from the fields argument (points, top-left origin). With send=true PenlyDoc e-mails the people right away; confirm with the user first. Without tags or fields, use send=false and let the user place the boxes in the console (the result has a link).

ParameterTypeDescription
files *arrayLocal file paths
recipients *array
send *boolean
title *string
dataobjectValues for {{data:Key}} tags in the PDF
expiresInDaysinteger
externalRefstring
fieldsarray
messagestring
signingOrderstring

list_documents List documents

Lists documents sent for signature, newest first, with who has signed. Filter by status or by your externalRef.

ParameterTypeDescription
externalRefstring
limitinteger
statusstring

get_document Document status

Full status of one document: each person, whether they opened, signed or declined (with the reason), and when.

ParameterTypeDescription
id *string

get_history Document history

The hash-chained history of a document: every step with time, who and IP address, and whether the chain is intact.

ParameterTypeDescription
id *string

send_draft Send a draft

Sends a DRAFT document: PenlyDoc e-mails the first people to sign. Confirm with the user first.

ParameterTypeDescription
id *string

send_reminder Remind

E-mails a reminder now to everyone whose turn it is on this document. Confirm with the user first.

ParameterTypeDescription
id *string

cancel_document Cancel a document

Cancels (voids) a document that is still being signed. Signing links stop working and the people still to act are told by e-mail. This cannot be undone; confirm with the user first.

ParameterTypeDescription
id *string
reason *string

download_signed_pdf Download the signed PDF

Saves the sealed, signed PDF (with the certificate of completion as last page) of a COMPLETED document to a local file.

ParameterTypeDescription
id *string
saveTo *stringLocal path for the PDF, e.g. ./signed/contract.pdf

verify_pdf Check a signed PDF

Checks a local signed PDF: is the seal intact, when was it sealed, who signed. Works for any PDF; nothing is stored. No API key needed.

ParameterTypeDescription
file *stringLocal path of the PDF