Assinafy

v3.2.0
io.github.assinafy/mcp-server Checked 1 day ago Published 1 month ago

Send documents for legally valid e-signature in Brazil, track signers and download signed files.

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

assinafy_browse_contracts Browse contracts

Find contracts with action list and filters, read terms or an amendment with get, or read the root and its amendments with related. Resolve names before writes. Apps-capable hosts show a contract browser; other clients receive the same JSON. Contract lifecycle dates are separate from signing deadlines. Reads remain available when the tracking plan lapses.

ParameterTypeDescription
action *string
account_idstring
counterpartystringPart of the counterparty name.
document_idstring
end_date_fromstringContracts ending on or after this date.
end_date_tostringContracts ending on or before this date.
ending_within_daysintegerContracts ending from today (the API's calendar day, Brasília time) to that many days later, both included; `0` is today. Any status: add `status=active` for the ones still in force.
expandstring`document` embeds each contract's document.
external_idstringID of an external reference in that system.
external_systemstringSystem of an external reference, e.g. `hubspot`.
pageintegerPage number.
per_pageintegerRecords per page (API caps at 50).
searchstringPart of the document's name.
sortstring`end_date` or `updated_at`; prefix with `-` for descending (`-updated_at`, the default). Contracts without an end date come last either way.
statusstringContract status; several, comma-separated, match any of them.

assinafy_create_assignment Create assignment (request signatures)

Request signatures on a document. Use `method: virtual` to sign without input fields, or `method: collect` to place input fields on specific pages. DigitalCertificate signers require `method: virtual`; other methods fail with code `digital_certificate_requires_virtual`. For **virtual**, the document may be in `uploaded`, `metadata_processing` or `metadata_ready`; it is promoted to `pending_signature` automatically once metadata processing completes. For **collect**, the document must be in `metadata_ready` (fields reference specific pages). `step` controls signing order: signers sharing a st…

ParameterTypeDescription
document_id *stringDocument ID.
method *string
signers *array
copy_receiversarraySigner IDs that only receive a copy.
entriesarrayRequired for `collect`: field placements per page.
estimate_onlybooleanPreview cost and balances without creating an assignment or notifying anyone.
expires_atstringISO 8601; default is no expiration. Must be at least one hour in the future.
max_total_creditsnumberMaximum credits allowed for sending; use total_credits from the latest estimate. A higher cost returns CreditCeilingExceeded without charging.
messagestringText included in the invitation email.

assinafy_create_document_from_template Send a template for signature

Generate a document from a saved template and invite each Signer role, with optional CopyReceiver roles, by signer ID or full name and email. Editor roles use only editor_fields. Find roles with assinafy_list_templates and validate editor_fields values with assinafy_validate_fields first. DigitalCertificate signers require a template without placed signer fields. This sends invitations and can consume credits. Verification settings select a method only. This tool does not accept biometric data; never request or submit it in chat or tool arguments. Any biometric verification occurs directly bet…

ParameterTypeDescription
signers *null | arrayone entry per Signer role and optional CopyReceiver roles; Editor roles use editor_fields
template_id *stringtemplate ID
account_idstringaccount ID; uses request routing if omitted
editor_fieldsnull | arraytemplate editor field values
estimate_onlybooleanpreview cost and balances for the given roles without creating contacts, documents or invitations; roles alone are sufficient
expires_atstringassignment expiry as an ISO 8601 date or date-time
max_total_creditsnumbermaximum credits allowed for sending; use total_credits from the latest estimate
messagestringsigning invitation message
namestringcustom document name
tagsnull | arraytag names, merged with the template's defaults

assinafy_create_signer Create signer

Create a signer in the workspace. Search with assinafy_list_signers first to avoid duplicates. Sends no invitation.

ParameterTypeDescription
full_name *string
account_idstringAuthorized workspace; discovered from OAuth when omitted.
emailstring
whatsapp_phone_numberstringE.164; normalized on save.

assinafy_delete_document Delete a document

Delete a document only when the user's instruction explicitly authorizes deletion. Inspect its current state first; Assinafy enforces which documents may be deleted.

ParameterTypeDescription
document_id *stringunique document ID to delete

assinafy_download_document Download a document

Download a document artifact as base64: original (default), certificated, certificate-page, pades or bundle. Download the signed PDF only when the document is certificated and the artifact is listed.

ParameterTypeDescription
document_id *stringunique document ID
artifactstringoriginal (default), certificated, certificate-page, pades, or bundle

assinafy_download_document_page Download document page

Download the rendered image of a specific document page. Use a page_id returned by assinafy_get_document. Returns base64.

ParameterTypeDescription
document_id *stringDocument ID.
page_id *stringThe page ID.

assinafy_get_document Get a document

Inspect one known document: status, assignment, signers with their progress, pages and available artifacts. Read it before retrying a send or following up. 100% signed does not mean certification is finished; the signed PDF is ready at status certificated.

ParameterTypeDescription
document_id *stringunique document ID

assinafy_get_field Get field

Retrieve a single field definition.

ParameterTypeDescription
field_id *stringThe field ID.
account_idstringAuthorized workspace; discovered from OAuth when omitted.

assinafy_get_signer Get signer

Retrieve a signer's information.

ParameterTypeDescription
signer_id *stringThe signer ID.
account_idstringAuthorized workspace; discovered from OAuth when omitted.

assinafy_get_template Get a template

Get one saved template with its roles and field placements.

ParameterTypeDescription
template_id *stringunique template ID
account_idstringaccount ID; uses default if omitted

assinafy_list_document_activities List document activities

List the activities recorded for a document. Each entry carries an event-specific `payload` snapshot (keys vary per event) and the request `origin` (`ip`, `user-agent`). Use it to explain what happened to a document and when.

ParameterTypeDescription
document_id *stringDocument ID.
pageinteger
per_pageinteger
sortstringActivity order: -id for newest first, or id for oldest first.

assinafy_list_documents List documents

Search workspace documents by name or status, with pagination. Use it to find a document the user names before inspecting or following up on it.

ParameterTypeDescription
account_idstringaccount ID; uses request routing if omitted
methodstringsignature method filter: virtual or collect
pageintegerpage number (1-based)
per_pageintegernumber of results per page (API caps at 50)
searchstringpartial match on document name or signer
sortstringname or updated_at; prefix with - for descending
statusstringdocument status filter
tagsstringcomma-separated tag IDs; documents must have all listed tags

assinafy_list_fields List fields

List the field definitions of a workspace. When `include_standard` is enabled, records of type `signature`, `initial` and `signatureDate` are also returned. Match definitions to template placement field_id and ask about ambiguous names.

ParameterTypeDescription
account_idstringAuthorized workspace; discovered from OAuth when omitted.
include_inactivebooleanInclude inactive field definitions.
include_standardbooleanInclude standard field types (signature, initial, signatureDate).

assinafy_list_signers List signers

List the signers of a workspace. Use it to resolve a recipient to a signer ID; ask the user about ambiguous matches before sending.

ParameterTypeDescription
account_idstringAuthorized workspace; discovered from OAuth when omitted.
pageintegerPage number.
per_pageintegerRecords per page (API caps at 50).
searchstringFilter by full_name or email.

assinafy_list_templates List templates

List saved templates with their signer roles, pages and field placements (field_id). Template authoring is done in Assinafy.

ParameterTypeDescription
account_idstringaccount ID; uses default if omitted
pageintegerpage number (1-based)
per_pageintegerresults per page
searchstringfilter templates by name

assinafy_list_whatsapp_notifications List WhatsApp notifications

List all WhatsApp notification messages sent for an assignment. The response includes the rendered template text split into `header`, `body` and `buttons` — exactly what the signer would see. In sandbox/stage, WhatsApp messages are simulated (no real delivery) and button URLs include access/verification codes you can use to simulate the signing flow. Treat returned signing links and verification codes as sensitive; never use them to sign for another person. Use it to troubleshoot WhatsApp delivery for one assignment.

ParameterTypeDescription
assignment_id *stringThe assignment ID.
document_id *stringDocument ID.

assinafy_place_fields Place signature fields

Open a visual editor to place signature, initials, date and input fields on a metadata_ready document, then send it with method collect. Takes the assinafy_create_assignment arguments except method and entries. Sends nothing by itself: in apps-capable hosts the user places fields and presses Send; other clients get page sizes and field IDs as text to build entries. Verification settings select a method only. This tool does not accept biometric data; never request or submit it in chat or tool arguments. Any biometric verification occurs directly between the signer and Assinafy on its signing pa…

ParameterTypeDescription
document_id *stringDocument ID.
signers *array
copy_receiversarraySigner IDs that only receive a copy.
expires_atstringISO 8601; default is no expiration. Must be at least one hour in the future.
max_total_creditsnumberMaximum credits allowed for sending; use total_credits from the latest estimate. A higher cost returns CreditCeilingExceeded without charging.
messagestringText included in the invitation email.

assinafy_rename_document Rename document

Update a document's name. Only allowed before any assignment is created (i.e. while the document is in `uploaded` or `metadata_ready` status and has no signers yet); once the signature process has started or the document is certificated, the name is locked. The name is normalized: diacritics are removed and unsupported characters are replaced with dashes.

ParameterTypeDescription
document_id *stringDocument ID.
name *string

assinafy_resend_notification Remind a signer

Send one reminder to a pending signer in the assignment's active step, after confirming with assinafy_get_document that they have not signed. May consume notification credits; never repeat a reminder only because progress is unchanged.

ParameterTypeDescription
assignment_id *stringunique assignment ID
document_id *stringunique document ID
signer_id *stringunique signer ID to notify
estimate_onlybooleanpreview the reminder cost and balances without notifying the signer

assinafy_review_signature_request Review a signature request

Preview an assinafy_create_assignment call without sending anything: same arguments, checked against the document and signers. Use it when the user wants to review before sending. Apps-capable hosts render a card whose Send button performs the request; other clients get the summary as text, and the request is sent only after the user confirms. Verification settings select a method only. This tool does not accept biometric data; never request or submit it in chat or tool arguments. Any biometric verification occurs directly between the signer and Assinafy on its signing page, with the signer's…

ParameterTypeDescription
document_id *stringDocument ID.
method *string
signers *array
copy_receiversarraySigner IDs that only receive a copy.
entriesarrayRequired for `collect`: field placements per page.
expires_atstringISO 8601; default is no expiration. Must be at least one hour in the future.
max_total_creditsnumberMaximum credits allowed for sending; use total_credits from the latest estimate. A higher cost returns CreditCeilingExceeded without charging.
messagestringText included in the invitation email.

assinafy_send_pdf_for_signature Send a PDF for signature

Upload a new PDF, wait for processing and invite signers by full name and email, using Email verification and notification. This sends invitations and uses plan allowance: use only recipients the user authorized. After a partial failure, inspect the retained document ID and continue with assinafy_create_assignment instead of uploading again.

ParameterTypeDescription
file_base64 *stringbase64-encoded PDF bytes (max 25 MB decoded)
file_name *stringPDF filename including the .pdf extension
signers *null | arrayone or more signers to create or reuse and request signatures from
account_idstringaccount ID; uses the request or server default if omitted
estimate_onlybooleanupload and prepare the PDF, then return cost and document ID without creating contacts or sending invitations; reuse that ID to send
expires_atstringassignment expiry as an ISO 8601 date or date-time
max_total_creditsnumbermaximum credits allowed for sending; use total_credits from the latest estimate
max_wait_secsintegermaximum seconds to wait for PDF processing (default 30; max 600)
messagestringinvitation message shown to signers
poll_secsintegerpolling interval in seconds (default 2; cannot exceed max_wait_secs)

assinafy_set_assignment_expiration Change the deadline

Set an existing signature request deadline with an ISO 8601 date or date-time at least one hour in the future, or remove it with expires_at: null. A shorter deadline ends signing when it passes; Assinafy refuses expired or closed requests.

ParameterTypeDescription
assignment_id *stringunique assignment ID
document_id *stringunique document ID
expires_at *null | stringnew ISO 8601 expiry, or null to remove the expiration

assinafy_show_document Show document status

Show a status card for one known document: its status, who has signed, who is still pending and when it expires. Apps-capable hosts render it with a reminder button; other clients get the same summary as text. Resolve the document with assinafy_list_documents first.

ParameterTypeDescription
document_id *stringunique document ID

assinafy_update_contract Update contract terms

Manage an existing document’s CLM record: set creates/patches terms or links a signed amendment; renew starts the next term; terminate closes tracking. Requires a tracking plan. Read first: include terms.updated_at for existing terms or links; renew requires the current term and updated_at, terminate requires updated_at. A conflict needs a fresh read and user review, never blind retries. Only supplied terms change; external_references replaces the list; null can clear values or unlink a pending amendment. Assinafy owns auto-renewal and owner reminders; changes can trigger lifecycle emails/we…

assinafy_update_signer Update signer

Update a signer's information. Only supplied fields change; send `null` or an empty string to clear `email` or `whatsapp_phone_number`. **Verification integrity:** `email` / `whatsapp_phone_number` cannot be changed while the signer has verified that channel on an in-flight (not yet certificated) document — the response is `400` naming the offending document(s). Already-certificated documents do not block updates. Changing a channel that has *unverified* in-flight requests rotates their access/verification codes (invalidating previously sent links/OTPs); use the resend endpoint to redeliver…

ParameterTypeDescription
signer_id *stringThe signer ID.
account_idstringAuthorized workspace; discovered from OAuth when omitted.
emailA valid email address, or null/empty to clear it.
full_namestring
whatsapp_phone_numberstring | nullE.164 and normalized on save; null/empty clears it.

assinafy_upload_document Upload a document

Upload a PDF without sending invitations and return its document ID. Use it when the user wants to prepare a document now and send it later with assinafy_create_assignment. Never upload again when a document ID is already known.

ParameterTypeDescription
file_base64 *stringbase64 PDF bytes, at most 25 MiB decoded
file_name *stringPDF filename including .pdf
account_idstringauthorized workspace; discovered through OAuth when omitted

assinafy_validate_fields Validate multiple field values

Validate one or more input values against existing field definitions without creating a document or requesting signatures. Supply field/value pairs in values; the server sends the documented JSON array. Check each result's success before requesting signatures.

ParameterTypeDescription
values *arrayField/value pairs to validate; sent to Assinafy as the JSON request array.
account_idstringAuthorized workspace; discovered from OAuth when omitted.

assinafy_verify_document Verify a signed document

Verify a signed document using its verification_code from assinafy_get_document or the signature hash printed on the signed document. Public lookup; requires no workspace connection and sends no credential upstream.

ParameterTypeDescription
hash *stringAssinafy verification_code from the certificated document, or its signature hash