list_documents
The Documents list exactly as the web app shows it: PDFs and Docs in one list, newest first, only the ones the caller may see. scope 'mine' (created by or sent to the caller; the default for a person) or 'workspace' (the default for an API key, which owns no documents); filter by status group (needs_you, drafts, waiting, completed, declined, expired, voided, expiring), sent_as (single, bulk, unsent), type, owner (a user id), client (a client id) and q (name or recipient).
readOnly reads. Clients can run it without asking you.
What it does
The Documents list exactly as the web app shows it: PDFs and Docs in one list, newest first, only the ones the caller may see. scope 'mine' (created by or sent to the caller; the default for a person) or 'workspace' (the default for an API key, which owns no documents); filter by status group (needs_you, drafts, waiting, completed, declined, expired, voided, expiring), sent_as (single, bulk, unsent), type, owner (a user id), client (a client id) and q (name or recipient). Paged with page (from 1) and limit (1 to 50, default 25). Returns documents[] (id, kind, name, status, owner, client, envelope_id, url), total and counts per status group. include_filters: true also returns filters {owners, clients}: everyone and every client the list could be filtered by (long in a big workspace; to find a client's id use search_clients instead). A kind 'doc' row is a Doc; for a sent Doc, pdf_document_id is the PDF id the other document tools take. in_trash: true lists the Trash instead (deleted PDFs and Docs, restorable for 30 days; kind tells them apart): restore_document and delete_document_forever take the PDF ones; a trashed Doc is restored in the web app. Use get_document for one document's detail, list_envelopes for raw envelope rows.
Inputs
| Name | Type | Description |
|---|---|---|
scope | string | One of: mine, workspace |
status | string[] | |
sent_as | string[] | |
type | string | One of: all, docs, pdfs |
owner | string | A user id (each row names its owner). |
client | string | A client id: only that client's documents. |
q | string | Matches the name, or a recipient's name or email.Up to 200 characters |
sort | string | One of: created, name, status, owner |
dir | string | One of: asc, desc |
page | integer | At least 1 |
limit | integer | Rows per page, 1 to 50 (default 25).1 to 50 · Default: 25 |
in_trash | boolean | true: the Trash (deleted PDFs and Docs) instead of the list; the other filters are ignored. |
include_filters | boolean | true: also return filters {owners, clients} for the owner and client filters (default false; search_clients finds a client). |
Call it
Your MCP client builds this request for you. This is what it sends to https://appliflo.com/api/mcp, with the required inputs filled with placeholders.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "list_documents",
"arguments": {}
}
}Input schema
The JSON Schema the server lists for this tool in tools/list.
{
"type": "object",
"additionalProperties": false,
"properties": {
"scope": {
"type": "string",
"enum": [
"mine",
"workspace"
]
},
"status": {
"type": "array",
"items": {
"type": "string",
"enum": [
"needs_you",
"drafts",
"waiting",
"completed",
"declined",
"expired",
"voided",
"expiring"
]
}
},
"sent_as": {
"type": "array",
"items": {
"type": "string",
"enum": [
"single",
"bulk",
"unsent"
]
}
},
"type": {
"type": "string",
"enum": [
"all",
"docs",
"pdfs"
]
},
"owner": {
"type": "string",
"description": "A user id (each row names its owner)."
},
"client": {
"type": "string",
"description": "A client id: only that client's documents."
},
"q": {
"type": "string",
"maxLength": 200,
"description": "Matches the name, or a recipient's name or email."
},
"sort": {
"type": "string",
"enum": [
"created",
"name",
"status",
"owner"
]
},
"dir": {
"type": "string",
"enum": [
"asc",
"desc"
]
},
"page": {
"type": "integer",
"minimum": 1
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 25,
"description": "Rows per page, 1 to 50 (default 25)."
},
"in_trash": {
"type": "boolean",
"description": "true: the Trash (deleted PDFs and Docs) instead of the list; the other filters are ignored."
},
"include_filters": {
"type": "boolean",
"description": "true: also return filters {owners, clients} for the owner and client filters (default false; search_clients finds a client)."
}
}
}fix_bulk_row
Fix one failed row of a send_template_bulk batch and send it again. get_bulk_batch shows each row's `needs_fix` (the email provider refused it or it bounced: retrying as is can't help).
get_document
One PDF document as the web app shows it: name, status, page count, its client, a summary of its boxes (how many, flagged for review, by type, by page, assigned to a recipient, choice questions) and, once sent, its signing: the latest round (envelope_id, status, recipients and where each is, with delivery: "embedded" for one your app signs, never emailed), every round (a resend starts a new one), reminders and what the caller may do next (remind, void, resend, download). signing is null for a draft.