LeaderboardBack to leaderboard — loading return destination
Opening report…
Loading report overview
M
MCP server
server.example.com/mcp
Tools and resources for your MCP client, with a public quality report and detailed checks.
Protocol
MCP 2025-11-25
Server version
1.0.0
Website
server.example.com
Supports
Tools · Resources
Overall score
90 /100
How is this score calculated?
Server metadata
Loading server metadata
Reviewed90/100
Discoverability
Loading discoverability
Reviewed90/100
Protocol
Loading protocol
Reviewed90/100
Tools
Loading tools
Reviewed90/100
MCP Apps
Loading mcp apps
Reviewed90/100
Tool documentation quality
Loading tool documentation quality
Reviewed90/100
LeaderboardBack to leaderboard — loading return destination
Verified by the Pandadoc team. This team proved they run the server, with an email on its domain or by deploying it on Manufact. It says who runs it, not that Manufact vouches for it.
P
PandaDoc
mcp.pandadoc.com/v1/mcp
Create, find, and manage documents, templates, contacts, and recipients in PandaDoc.
When the user names a document, template, or contact, resolve the name to an id with `documents_list`, `documents_search`, `templates_list`, or `contacts_list` instead of asking the user for an id.
A recipient with no `role` is added as CC. In a markdown document, a recipient is a signer only when `role_fields` maps a field to their role; an unmapped role is dropped and the recipient is added as CC.
When a PandaDoc capability is missing, a PandaDoc tool fails, or the user is frustrated after a failed attempt, you may offer once to send feedback to PandaDoc with `feedback_submit`; the user can also ask at any time. Send only after the user explicitly approves sending the exact draft.
Discoverability
2/6 passed2 of 6 passed33/100
Client listings and public setup information.
MCP Server Card
An MCP Server Card found through ai-catalog.json or the endpoint's /server-card that declares this endpoint passes. Earlier paths and mcp.json earn half credit.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description97/100
Audit trail for one document: who viewed or signed it and when, from which IP address. Use it for disputes and compliance checks. Returns one page of entries and the total count. Set limit (1–100, default 20) and offset (default 0) to read later pages. Advance offset by the number of entries returned; stop on an empty page or when offset reaches count. Entries may change between requests.
The description explains the capability, when to use it, and what to expect.
Inputs83/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
document_id
Document id, not its name. Take it from `documents_list`, `documents_search` or `documents_create`.
Clear enough to supply this argument.
limit
Maximum entries to return in this page.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
offset
Number of entries to skip before this page.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description99/100
Resolve an email address to the contact it belongs to. Use it to get the `contact_id` that `recipients_add_cc` needs, or the `new_contact_id` that `recipients_reassign` needs. For someone already on the document, skip this lookup: `documents_details_get` returns `contact_id` on each recipient alongside the recipient's own `id`. The match is on the full email address and nothing else: there is no search by name, by company, or by part of an address. When the user names a person without an email, ask for the email rather than guessing one. Returns no contact when the workspace address book holds none for that address; use `contacts_create` to add one.
The description explains the capability, when to use it, and what to expect.
Inputs75/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
email
Full email address of the contact, e.g. '[email protected]'. Matched exactly.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description99/100
Create a contact in the workspace address book from an email address, and return it with its `id`, the contact id that `recipients_add_cc` and `recipients_reassign` take. The contact stays in the workspace address book after this call, so confirm the address with the user before calling. `contacts_list` resolves an address the workspace already knows; call this only when it returns no contact.
The description explains the capability, when to use it, and what to expect.
Inputs94/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
email
Full email address of the contact to create, e.g. '[email protected]'.
Clear enough to supply this argument.
first_name
Contact's first name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
last_name
Contact's last name.
Clear enough to supply this argument.
company
Company the contact works for.
Clear enough to supply this argument.
job_title
Contact's job title at `company`.
Clear enough to supply this argument.
phone
Phone number in international format with the country code, e.g. `+14155550100`.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description89/100
Full-text search with status/date filters. It matches words inside document content and metadata, not only names. Use `documents_list` instead to browse a folder or tag, to sort, or to filter by completion date; it matches names and reference numbers only.
Examples: 'NDA in completed docs' · 'modified 2026-01-01–2026-03-31' · 'sent docs Q1 2026'
For natural-language queries, prefer ``ai_search`` if available. If the user refers to a document by name and an ID is needed for a downstream operation, use this tool to resolve the name to an ID first. Do not ask the user for a document ID before attempting this lookup.
The description explains the capability, when to use it, and what to expect.
Inputs75/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
query
Full-text search string (matches document content and metadata).
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
page
Page of results to return, the first when omitted. Increase it to read the next page.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
count
Results per page; 30 when omitted.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
status
Restrict hits to documents with these statuses (omit to ignore status). Valid values: Draft, Sent, Completed, Uploaded, Error, Viewed, Waiting for Approval, Approved, Rejected, Waiting for Payment, Paid, Expired, Declined, External Review, Scheduled. Example: ["Sent", "Completed"].
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
date_filter_column
Which document timestamp the date window applies to. If you set any date filter, set **all three** of ``date_filter_column``, ``from_date``, and ``to_date``.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
from_date
Inclusive window start (ISO-8601), e.g. ``2026-03-01T00:00:00Z``. Surrounding whitespace is ignored; timezone-free values use UTC. Use with ``date_filter_column`` and ``to_date``; the start must be at or before the end.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
to_date
Inclusive window end (ISO-8601), e.g. ``2026-03-31T23:59:59Z``. Surrounding whitespace is ignored; timezone-free values use UTC. Use with ``date_filter_column`` and ``from_date``; the end must be at or after the start.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
{
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "DocumentSearchStructuredContent",
"properties": {
"scope": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Scope",
"default": null,
"description": "Search scope returned by the upstream API, if any."
},
"total": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Total",
"default": null,
"description": "Total match count across all pages, if provided."
},
"results": {
"type": "array",
"items": {
"type": "object",
"title": "AgentDocumentSearchRow",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string",
"title": "Id",
"description": "Short document id from the search API."
},
"name": {
"type": "string",
"title": "Name",
"description": "Markdown ``[label](url)`` link to the PandaDoc web app for this id."
},
"status": {
"anyOf": [
{
"type": "string",
"description": "Document status (e.g. Draft, Sent, Completed)."
},
{
"type": "null"
}
],
"title": "Status",
"default": null
},
"date_created": {
"title": "Date Created",
"default": null,
"description": "Creation timestamp if present."
},
"date_expired": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date Expired",
"default": null,
"description": "Document expiration from the API ``date_expiration`` when present."
}
},
"description": "One document hit returned to agents (slim row, not raw API ``{type, value}``).",
"additionalProperties": false
},
"title": "Results",
"description": "Agent-oriented rows built from document search hits."
},
"has_next_page": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Has Next Page",
"default": null,
"description": "Whether more pages exist after the current page."
}
},
"description": "Structured payload for ``documents_search``.\n\nThe MCP model mirrors a small subset of the public search response envelope\n(``total``, ``has_next_page``, ``scope``, ``results``). The tool copies only\nthose known fields and drops any upstream-only keys.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
}
Original tool metadata
{
"name": "documents_search",
"title": "Search documents (full-text)",
"description": "Full-text search with status/date filters. It matches words inside document content and metadata, not only names. Use `documents_list` instead to browse a folder or tag, to sort, or to filter by completion date; it matches names and reference numbers only.\n\nExamples: 'NDA in completed docs' · 'modified 2026-01-01–2026-03-31' · 'sent docs Q1 2026'\n\nFor natural-language queries, prefer ``ai_search`` if available. If the user refers to a document by name and an ID is needed for a downstream operation, use this tool to resolve the name to an ID first. Do not ask the user for a document ID before attempting this lookup.",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"page": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
],
"default": null,
"description": "Page of results to return, the first when omitted. Increase it to read the next page."
},
"count": {
"anyOf": [
{
"type": "integer",
"maximum": 100,
"minimum": 1
},
{
"type": "null"
}
],
"default": null,
"description": "Results per page; 30 when omitted."
},
"query": {
"type": "string",
"minLength": 1,
"description": "Full-text search string (matches document content and metadata)."
},
"status": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"default": null,
"description": "Restrict hits to documents with these statuses (omit to ignore status). Valid values: Draft, Sent, Completed, Uploaded, Error, Viewed, Waiting for Approval, Approved, Rejected, Waiting for Payment, Paid, Expired, Declined, External Review, Scheduled. Example: [\"Sent\", \"Completed\"]."
},
"to_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Inclusive window end (ISO-8601), e.g. ``2026-03-31T23:59:59Z``. Surrounding whitespace is ignored; timezone-free values use UTC. Use with ``date_filter_column`` and ``from_date``; the end must be at or after the start."
},
"from_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Inclusive window start (ISO-8601), e.g. ``2026-03-01T00:00:00Z``. Surrounding whitespace is ignored; timezone-free values use UTC. Use with ``date_filter_column`` and ``to_date``; the start must be at or before the end."
},
"date_filter_column": {
"anyOf": [
{
"enum": [
"date_created",
"date_expiration",
"last_modified",
"signature_date",
"effective_date"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Which document timestamp the date window applies to. If you set any date filter, set **all three** of ``date_filter_column``, ``from_date``, and ``to_date``."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "DocumentSearchStructuredContent",
"properties": {
"scope": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Scope",
"default": null,
"description": "Search scope returned by the upstream API, if any."
},
"total": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Total",
"default": null,
"description": "Total match count across all pages, if provided."
},
"results": {
"type": "array",
"items": {
"type": "object",
"title": "AgentDocumentSearchRow",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string",
"title": "Id",
"description": "Short document id from the search API."
},
"name": {
"type": "string",
"title": "Name",
"description": "Markdown ``[label](url)`` link to the PandaDoc web app for this id."
},
"status": {
"anyOf": [
{
"type": "string",
"description": "Document status (e.g. Draft, Sent, Completed)."
},
{
"type": "null"
}
],
"title": "Status",
"default": null
},
"date_created": {
"title": "Date Created",
"default": null,
"description": "Creation timestamp if present."
},
"date_expired": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date Expired",
"default": null,
"description": "Document expiration from the API ``date_expiration`` when present."
}
},
"description": "One document hit returned to agents (slim row, not raw API ``{type, value}``).",
"additionalProperties": false
},
"title": "Results",
"description": "Agent-oriented rows built from document search hits."
},
"has_next_page": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Has Next Page",
"default": null,
"description": "Whether more pages exist after the current page."
}
},
"description": "Structured payload for ``documents_search``.\n\nThe MCP model mirrors a small subset of the public search response envelope\n(``total``, ``has_next_page``, ``scope``, ``results``). The tool copies only\nthose known fields and drops any upstream-only keys.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description98/100
# Create document
Create a new PandaDoc document. Pass a single `request` object and set its `source` to choose how the document is created:
- `source: "template"` — from an existing template. Required: `template_uuid`. Also accepts `name`, `recipients`, `fields`, `tokens`, `tags`, `images`, `pricing_tables`, `tables`, `texts`, `folder_uuid`, `owner`, `detect_title_variables`, `content_placeholders`.
- `source: "markdown"` — from markdown content. Required: `name`, `document_markdown`. Also accepts `recipients` (individual recipients only; groups are not supported), `role_fields`, `folder_uuid`.
- `source: "file"` — from a downloadable PDF or DOCX. Required: `name` and exactly one of `url` or `file_uuid`. Also accepts `recipients`, `parse_form_fields`, `fields`, `tokens`, `tags`, `folder_uuid`, `owner`.
## PDF or DOCX fallback
Apply this rule only when the user provides a PDF or DOCX and asks to create a PandaDoc document from that file, but `source: "markdown"` would be used because the file cannot be uploaded. It does not apply when the user explicitly asks to extract, rewrite, or reformat the file as text, or when the request starts from text or markdown content.
For the file-import request, prefer `source: "file"`. If the file cannot be uploaded, stop before creating anything. Do not silently call this tool with `source: "markdown"`.
Offer to recreate the document from its text and wait for the user's answer. In user-facing language, do not call this fallback "markdown". Explain that the recreated document will be editable, but its original design, logo, and layout will not be preserved. Only an explicit choice to recreate grants permission to call this tool with `source: "markdown"`. If the user declines, do not create a document. After creating it, remind the user that the original design, logo, and layout were not preserved.
The schema is polymorphic on `source`: each source accepts **only** its own parameters. Passing a parameter that belongs to another source is rejected by validation, so you never need to guess which fields are ignored.
Not for editing an existing document — use `documents_update` for that.
## Asynchronous creation
Document creation is asynchronous for every `source` (template, markdown, and file).
A successful tool response means creation was accepted, not that the document is ready. The document starts in `Uploaded` and becomes `Draft` once it is ready.
After calling this tool:
1. Poll `documents_status_get` until it reports `Draft`, or until it returns an error.
2. If `Draft`, the document is ready to edit, send, or fetch details/content.
3. If `documents_status_get` returns an error, creation failed (invalid file, markdown conversion failure, validation errors, etc.). Report `error.detail` and do not call details/content/edit/send on it. This is terminal — `error.retryable` is `false`, so stop polling.
4. While status is still `Uploaded`, do not assume success and do not call tools that require a ready document.
A failed creation is reported for roughly 8 hours. After that a status lookup reports the document as not found — treat that as the same terminal failure, not a reason to resume polling.
## Template
Create a document populated from an existing PandaDoc template. Requires `template_uuid`. Recipients are optional — omit them to use template defaults or to add them later. If the template isn't known yet, call `templates_list` first, then `templates_details_get` to discover its roles, fields, and variables. Optionally set fields, tokens, pricing tables, recipients, and other template data.
When the template details show no classic pricing table and no content placeholders, such as a Quote block template, `pricing_tables` is rejected with `PRICING_TABLES_NOT_SUPPORTED_BY_QUOTE_BLOCK`; create the document without `pricing_tables`, then price it with `quotes_update`. If the template cannot be read, the check is skipped, so confirm the total with `documents_details_get`.
## File
Create a document from a PDF or DOCX using exactly one file reference:
- `url` — a directly downloadable URL with no authentication or HTML interstitial.
- `file_uuid` — the reference returned by the `files_request_upload_url` tool. First upload the file bytes to its `presigned_url` with an HTTP PUT, then call this tool with the returned `file_uuid`. The uploaded file is checked for ownership, allowed type, size, and malware before document creation.
Presigned S3/GCS/Azure URLs or direct CDN links work best for `url`. Google Drive and Dropbox share links do not work because they return HTML instead of the file.
To parse fillable PDF form fields, set `parse_form_fields: true` and provide `fields` mapping **every** form field name to a recipient role — omitting any causes failure.
## Markdown
Create a new document in PandaDoc from markdown when there is only text representing the document content.
Document content must be generated according to the guidelines below.
The response includes a `document_url` field with a direct URL to open the created document in PandaDoc.
### Markdown guidelines
You can use standard CommonMark and GitHub-Flavored Markdown (tables, strikethrough, etc), plus the following custom extensions:
#### Custom Syntax Extensions
##### 1. Variables
Variables are placeholder values that the document creator fills in PandaDoc before sending to recipients.
Prioritize variables over fields for any value that the sender controls or pre-fills, even if it may be visible to recipients.
**Syntax:** `[VariableName]` or `[Variable.Name]` or `[Multi.Part.Variable]`
- Can include underscores, numbers, and multiple dot-separated parts
**Use variables for values controlled by the document creator:**
- Document metadata: `[Effective.Date]`, `[Agreement.Number]`, `[Contract.Value]`
- Company/sender information: `[Company.Name]`, `[Company.Address]`
- Pre-calculated values: `[Invoice.Total]`, `[Discount.Amount]`
- Recipient information already known: `[Recipient.CompanyName]`, `[Recipient.FirstName]`
**Key principle:** If the sender controls the value, use a variable.
##### 2. Fields
Fields are interactive form elements that recipients fill in or interact with during the signing process.
Recipients see these as input boxes, checkboxes, or signature areas.
> **Making a recipient a Signer — three things must line up.** A recipient becomes a Signer only when a field is assigned to their role. To assign one, all three of these must agree:
>
> 1. Give the field an `id` in `document_markdown` — e.g. `[[signature id="Signer_Sig"]]`.
> 2. Add a recipient whose `role` matches — e.g. `{ "email": "[email protected]", "role": "Signer" }`.
> 3. Map the role to that id in `role_fields` — e.g. `[{ "role": "Signer", "field_ids": ["Signer_Sig"] }]`.
>
> A bare `[[signature]]` with no `id`, or a recipient that no `role_fields` entry references, is added as **CC** and cannot sign. Always set an `id` on signature/date fields the recipient must complete and reference it from `role_fields`.
**Use fields for values controlled by the recipient:**
- Recipient signatures: `[[signature id="Signer_Sig"]]` (see the Signer callout above — a signature with no `id` and no `role_fields` mapping leaves the recipient as CC)
- Recipient personal data they must enter: `[[text]]`, `[[email]]`, `[[phone]]`, `[[date]]`
- Recipient choices/consents: `[[checkbox]]`
- Information only the recipient knows or decides
**Key principle:** If the recipient controls the value, use a field.
Fields can be prefilled with default values, but are typically left empty for the recipient to fill.
**Syntax:** `[[field_type attributes]]`
**Field Types:**
- `text` - Text input field
- `email` - Email input field
- `phone` - Phone number input field (**`format` is required** — see below)
- `number` - Number input field
- `date` - Date input field
- `checkbox` - Checkbox field
- `signature` - Digital signature field
- `dropdown` - Dropdown selection field (**`option` is required** — see below)
**Attributes (HTML-style):**
- `required="true"` - Makes field required
- `placeholder="text"` - Placeholder text
- `checked="true"` - Pre-checked (checkbox only)
- `value="timestamp"` - For date fields, use UNIX timestamp with millisecond precision (e.g., value="1718406000000"). For other fields, use plain text (e.g., value="John Doe").
- `format="US"` or `format="international"` - **Required for `phone` fields.** Must be exactly `"US"` or `"international"`. There is no default — omitting it causes a validation error.
- `date_format="yyyy/MM/dd"` - Date format in ICU notation (e.g., `"dd/MM/yyyy"`, `"MM-dd-yyyy"`). Defaults to `"yyyy/MM/dd"` if omitted.
- `option="Text"` - **Required for `dropdown` fields.** Repeatable — add one per option (e.g., `option="Yes" option="No"`). To assign a stable UUID to an option, use `option="uuid:Text"` format.
- `id="Client_Text1"` - Specify an external ID that describes who should fill this field and what it represents (e.g., `id="Client_Signature"`, `id="Landlord_FullName"`, `id="Buyer_Email"`). Use the pattern `<RecipientRole>_<FieldPurpose>` so the field can later be assigned to the correct recipient. Multiple fields MAY share the same ID (they'll be synced — when one is filled, all are filled with the same value), but they MUST have the same type and attributes. **This is also the only value `role_fields[].field_ids` may reference** (see below) — a field with no `id="..."` cannot be pre-assigned to a role.
**Assigning fields to roles via `role_fields`:** to pre-assign a field to a recipient's role at creation time, give the field an `id="..."` in `document_markdown`, then reference that exact same string in `role_fields[].field_ids`. A `field_ids` value that does not match any `id="..."` in `document_markdown` is rejected — never invent a `role_fields` value without first setting the matching `id="..."` on the field:
```text
document_markdown: "Signed: [[signature id=\"Signer_Sig\"]]"
role_fields: [{"role": "Signer", "field_ids": ["Signer_Sig"]}]
```
**Examples:**
- `[[text placeholder="Enter name"]]`
- `[[email required="true" placeholder="Email address"]]`
- `[[phone format="US"]]`
- `[[phone format="international"]]`
- `[[number]]`
- `[[date required="true" value="1718406000000"]]`
- `[[date date_format="dd/MM/yyyy"]]`
- `[[checkbox checked="true"]]`
- `[[dropdown option="Yes" option="No"]]`
- `[[dropdown option="Yes" option="No" value="Yes" placeholder="Choose..."]]`
**Important:** Fields with the same ID must have the same type and attributes. For example, you cannot have `[[text id="Field1"]]` and `[[email id="Field1"]]` in the same document as well as `[[text id="Field2" placeholder="Full Legal Name" ]]` and `[[text id="Field2"]]` because they have different attributes.
**Dropdown constraints:**
- At least one `option` attribute is required.
- Option texts must be unique within the dropdown.
- If `value` is set, it must match one of the defined option texts exactly; otherwise a validation error occurs.
##### 3. Standalone Checkboxes
Checkboxes use GFM syntax but can appear anywhere, not just in lists:
- `[ ]` - Unchecked
- `[x]` - Checked
- Can be used inline, standalone, or in task lists
##### 4. Page Breaks
**Syntax:** `---` (three hyphens) creates a page break.
**IMPORTANT:** Page breaks should be rare and intentional. Most documents don't need page breaks.
Only use `---` when content **must** be on separate pages for a specific reason:
- Legal/structural requirement
- Document structure demands it
**Do NOT use `---`:**
- Between sections (use headings: `## Section Title`)
- As visual decoration (use blank lines)
- Simply because there's a section transition
##### 5. Pricing Tables
A pricing table is a table of line items followed by a list of totals, wrapped in
HTML comment markers that the reader never sees. Use one whenever the document
quotes prices: quotes, proposals, order forms, invoices. **Without the markers it is
an ordinary table** — the numbers come back as plain text, with no currency, no
quantities and no recalculation.
**Syntax:**
```markdown
<!-- pandadoc:pricing-table name="Services" -->
| Name | Description | Price | QTY | Tax | Subtotal |
|------------|-------------|-------------|-----|------|-------------|
| Consulting | Senior rate | 2000.24 USD | 3 | 23 % | 6000.72 USD |
* Subtotal: 6000.72 USD
* Discount: -10 %
* Total: 5400.65 USD
<!-- pandadoc:end-pricing-table -->
```
**Columns** are matched by name:
- `Name` — **required**, on every row. Text, may be formatted.
- `Price` — **required**, on every row. An amount, e.g. `2000.24 USD`.
- `Description` — text, may be formatted
- `SKU` — text
- `Cost` — an amount
- `QTY` — a number. Added for you (as 1) if the column is left out.
- `Tax` — a percentage (`23 %`) or an amount (`50.00 USD`)
- `Discount` — a percentage (`-10 %`) or an amount (`-50.00 USD`), written negative
- `Subtotal` — an amount. Added for you if the column is left out.
An empty `Name` or `Price` cell is an error, and a column not in this list is kept
as text under the name you wrote. `Tax` and `Discount` may each be a percentage or
money, but a single column has to agree with itself: one mixing `-10 %` and
`-5.00 USD` is an error.
**Footer totals** go in a list directly under the table as `Name: value`. Only
`Subtotal`, `Discount`, `Tax`, `Total` and `Total QTY` are accepted; any other total
is an error.
**The name** builds the document's tokens: a table named `Services` with a `Total`
gives you `[Services.Total]` to use in any paragraph. Two tables may not share a
name; an unnamed table takes the next free `Pricing Table N`.
**The end marker** may be left out for a single table, which then reads as the table
after the marker plus the totals after that. It is **required** for a table in
sections, and it stops an unrelated table further down being swallowed into the
prices.
**Sections and optional items** — a heading above a table titles that group of line
items, and every section must describe the same columns. A checkbox before the name
offers the item rather than including it; no box means it is simply part of the
quote. `[optional]` on a section heading lets the reader drop the whole section,
`[choose one]` limits it to a single ticked row:
```markdown
<!-- pandadoc:pricing-table -->
### Setup
| Name | Price |
|---------|------------|
| Install | 500.00 USD |
### Add-ons [optional]
| Name | Price |
|-----------------------|------------|
| [ ] Extended warranty | 200.00 USD |
| [x] Support plan | 100.00 USD |
* Total: 600.00 USD
<!-- pandadoc:end-pricing-table -->
```
**Currency** comes from the amounts themselves, which must all agree on one. A
currency code (`2000.24 USD`) always names it; a symbol only when it belongs to a
single currency — `zł` is Poland's alone, but `$` is shared by many and names none.
**Not supported in a Markdown pricing table:** photos, tiered ("buy 10+") prices,
per-item editable quantities, column width, lock and colour, and the CRM datasource.
Those are set in the PandaDoc editor.
##### 6. Money Formatting
By default amounts are read the Anglo way — `.` splits decimals, `,` groups
thousands, and the currency code follows the number (`1,234.56 USD`). If the
document writes money any other way, say so in YAML front matter at the very top of
the file:
```markdown
---
pandadoc:
money:
display_as: symbol
position: before
separate_with_space: true
precision: 2
decimal_delimiter: comma
thousand_delimiter: space
---
```
With that block, `zł 2 000,24` reads as two thousand. All six settings are required
when the block is present:
- `display_as` — `no_code`, `symbol`, `code`, `code_and_symbol`
- `position` — `before`, `after`
- `separate_with_space` — `true`, `false`
- `precision` — a number of decimal places, e.g. `2`
- `decimal_delimiter` — `dot`, `comma`, `space`, `quote`, `no_delimiter`
- `thousand_delimiter` — same values as `decimal_delimiter`
These say **how** money is written, not which currency it is. Quantities and
percentages carry no currency but are written the same way, so a document splitting
decimals with a comma writes `1,5` and `7,25 %`. Digits that are not grouped in
threes are an error rather than a guess, so write amounts consistently with the
settings you declared.
**Note:** front matter opens with `---`, which is also the page break. The block is
only read as front matter at the very top of the file naming `pandadoc`; a `---`
anywhere else stays a page break.
### Limitations (Features NOT Supported)
**Do NOT include:**
- Raw HTML, including `<br>`, `<u>`, and `<div>`
- Blockquotes inside lists
- Images inside links inline with text (e.g., `[](link)`)
- Merged table cells
**Field syntax rules:**
- Field types must be lowercase and match the closed set exactly (`text`, `email`, `phone`, `number`, `date`, `checkbox`, `signature`, `dropdown`). Capitalized or otherwise altered forms are not recognized.
- The only valid syntax is `[[field_type attributes]]`. Forms like `[[Signature|Signer]]`, `[[signature:sig_a]]`, `[[s:Owner1]]`, and `[[signature_1]]` are not recognized — use `[[signature id="Signer_Signature"]]` instead.
- Fields sharing the same `id` must have the same field type — a mismatched type is rejected. `signature` fields cannot share an `id` with any other field, including another `signature` field.
- Every value passed in `role_fields.field_ids` must match the `id` attribute of a field present in `document_markdown`.
The description explains the capability, when to use it, and what to expect.
Inputs76/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
request › oneOf › 0 › source
Creates the document from a PandaDoc template.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
request › oneOf › 0 › template_uuid
ID of the template to create the document from: the `id` of a `templates_list` result.
Clear enough to supply this argument.
request › oneOf › 0 › name
Document name. Defaults to the template title when omitted.
Role this recipient fills, e.g. `Signer` or `Approver`; for a template, one of the roles `templates_details_get` lists. The recipient gets every field assigned to that role. A recipient with no `role` is added as CC.
Identity check the recipient must pass: `verification_place` (`before_open`, or `before_sign` for a signer) plus exactly one of `passcode_verification: {passcode}`, `phone_verification: {phone_number}`, `email_otp_verification: {email}`, `kba_verification: {enabled: true}` or `id_verification: {enabled: true}`. A passcode is 6-100 characters without spaces, with at least one letter and one digit.
Unit price. Leave out when `sku` names a catalog product: the catalog sets it, including the base price of a volume-priced product, and replaces any price sent for such a product. Never copy a price read from a document, it already has the volume pricing applied.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Volume pricing of the row, set together with `tiers`. With `volume_based_discount_price`, `price` is the base price. Both come from the catalog when `sku` names a volume-priced product.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Values for columns the template adds to the table, keyed by the table's `columns[].name` from `templates_details_get` or `documents_details_get`. A key with no matching column adds a new hidden column.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
ISO 4217 currency code for the table, e.g. `USD`. Omit to keep the table's currency. A table that already exists in the template keeps its currency when a document is created from it; a different one is rejected, and so are products priced in another currency. On a document update, a different currency is rejected until the user confirms the change.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
True selects the linked-data-source row shape, keyed by the table's ``merge_name`` column names. Use it only for a table that has data merge turned on in the template; any other table rejects it.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Values for columns the template adds to the table, keyed by the table's `columns[].name` from `templates_details_get` or `documents_details_get`. A key with no matching column adds a new hidden column.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Unit price. Leave out when `sku` names a catalog product: the catalog sets it, including the base price of a volume-priced product, and replaces any price sent for such a product. Never copy a price read from a document, it already has the volume pricing applied.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Volume pricing of the row, set together with `tiers`. With `volume_based_discount_price`, `price` is the base price. Both come from the catalog when `sku` names a volume-priced product.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Values for columns the template adds to the table, keyed by the table's `columns[].name` from `templates_details_get` or `documents_details_get`. A key with no matching column adds a new hidden column.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
ISO 4217 currency code for the table, e.g. `USD`. Omit to keep the table's currency. A table that already exists in the template keeps its currency when a document is created from it; a different one is rejected, and so are products priced in another currency. On a document update, a different currency is rejected until the user confirms the change.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
True selects the linked-data-source row shape, keyed by the table's ``merge_name`` column names. Use it only for a table that has data merge turned on in the template; any other table rejects it.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Values for columns the template adds to the table, keyed by the table's `columns[].name` from `templates_details_get` or `documents_details_get`. A key with no matching column adds a new hidden column.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Role this recipient fills, e.g. `Signer`. `documents_update` does not apply it: a recipient with `id` keeps its role, and one without `id` is added as CC.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Position in the signing sequence; numbers start at 1 with no gaps. Set it on every recipient and recipient group, CC recipients included, or on none. `null` on every recipient turns the signing order off.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Identity check the recipient must pass: `verification_place` (`before_open`, or `before_sign` for a signer) plus exactly one of `passcode_verification: {passcode}`, `phone_verification: {phone_number}`, `email_otp_verification: {email}`, `kba_verification: {enabled: true}` or `id_verification: {enabled: true}`. A passcode is 6-100 characters without spaces, with at least one letter and one digit. `documents_update` does not apply it; set verification when the document is created.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
request › oneOf › 1 › source
Creates the document from `document_markdown`.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
request › oneOf › 1 › name
Document name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
request › oneOf › 1 › document_markdown
Markdown content. See the tool description for the supported syntax and custom extensions.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Role this recipient fills, e.g. `Signer` or `Approver`; for a template, one of the roles `templates_details_get` lists. The recipient gets every field assigned to that role. A recipient with no `role` is added as CC.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Identity check the recipient must pass: `verification_place` (`before_open`, or `before_sign` for a signer) plus exactly one of `passcode_verification: {passcode}`, `phone_verification: {phone_number}`, `email_otp_verification: {email}`, `kba_verification: {enabled: true}` or `id_verification: {enabled: true}`. A passcode is 6-100 characters without spaces, with at least one letter and one digit.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Field ids to assign to this role. Each value must exactly match an id="..." attribute you set on a [[...]] field in document_markdown (see the tool description's Fields section) — not a name you invent. A field with no id="..." attribute cannot be referenced here.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
request › oneOf › 1 › folder_uuid
UUID of the folder (folder_uuid, NOT folder_id).
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
request › oneOf › 2 › source
Creates the document from a PDF or DOCX file.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
request › oneOf › 2 › name
Name for the new document.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
request › oneOf › 2 › url
Publicly accessible URL to a PDF or DOCX file. Do not set this when using `file_uuid`. Must return the raw file on HTTP GET without auth (presigned S3/GCS/Azure URLs or direct CDN links work). Google Drive and Dropbox share links do not work — they return HTML, not the file.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
request › oneOf › 2 › file_uuid
Reference returned by the `files_request_upload_url` tool after the upload completes. Do not set this when using `url`.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Role this recipient fills, e.g. `Signer` or `Approver`; for a template, one of the roles `templates_details_get` lists. The recipient gets every field assigned to that role. A recipient with no `role` is added as CC.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Identity check the recipient must pass: `verification_place` (`before_open`, or `before_sign` for a signer) plus exactly one of `passcode_verification: {passcode}`, `phone_verification: {phone_number}`, `email_otp_verification: {email}`, `kba_verification: {enabled: true}` or `id_verification: {enabled: true}`. A passcode is 6-100 characters without spaces, with at least one letter and one digit.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Position in the signing sequence; numbers start at 1 with no gaps. Set it on every recipient and recipient group, CC recipients included, or on none.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
request › oneOf › 2 › parse_form_fields
Parse fillable PDF form fields. Requires `fields` mapping EVERY form field name to a recipient role — omitting any causes failure. Ask the user for the complete list of field names before enabling this.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
{
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "CreateDocumentToolStructuredContent",
"required": [
"id",
"name",
"status",
"document_url"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
},
"uuid": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Uuid",
"default": null
},
"links": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"title": "Links"
},
"status": {
"type": "string",
"title": "Status",
"description": "Document status (e.g. Draft, Sent, Completed)."
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Version",
"default": null
},
"date_created": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date Created",
"default": null
},
"document_url": {
"type": "string",
"title": "Document Url",
"readOnly": true
},
"info_message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Info Message",
"default": null
},
"date_modified": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date Modified",
"default": null
},
"expiration_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Expiration Date",
"default": null
}
},
"description": "Create-document response with a stable PandaDoc web-app URL for ``id``.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
}
Original tool metadata
{
"name": "documents_create",
"title": "Create document",
"description": "# Create document\n\nCreate a new PandaDoc document. Pass a single `request` object and set its `source` to choose how the document is created:\n\n- `source: \"template\"` — from an existing template. Required: `template_uuid`. Also accepts `name`, `recipients`, `fields`, `tokens`, `tags`, `images`, `pricing_tables`, `tables`, `texts`, `folder_uuid`, `owner`, `detect_title_variables`, `content_placeholders`.\n- `source: \"markdown\"` — from markdown content. Required: `name`, `document_markdown`. Also accepts `recipients` (individual recipients only; groups are not supported), `role_fields`, `folder_uuid`.\n- `source: \"file\"` — from a downloadable PDF or DOCX. Required: `name` and exactly one of `url` or `file_uuid`. Also accepts `recipients`, `parse_form_fields`, `fields`, `tokens`, `tags`, `folder_uuid`, `owner`.\n\n## PDF or DOCX fallback\n\nApply this rule only when the user provides a PDF or DOCX and asks to create a PandaDoc document from that file, but `source: \"markdown\"` would be used because the file cannot be uploaded. It does not apply when the user explicitly asks to extract, rewrite, or reformat the file as text, or when the request starts from text or markdown content.\n\nFor the file-import request, prefer `source: \"file\"`. If the file cannot be uploaded, stop before creating anything. Do not silently call this tool with `source: \"markdown\"`.\n\nOffer to recreate the document from its text and wait for the user's answer. In user-facing language, do not call this fallback \"markdown\". Explain that the recreated document will be editable, but its original design, logo, and layout will not be preserved. Only an explicit choice to recreate grants permission to call this tool with `source: \"markdown\"`. If the user declines, do not create a document. After creating it, remind the user that the original design, logo, and layout were not preserved.\n\nThe schema is polymorphic on `source`: each source accepts **only** its own parameters. Passing a parameter that belongs to another source is rejected by validation, so you never need to guess which fields are ignored.\n\nNot for editing an existing document — use `documents_update` for that.\n\n## Asynchronous creation\n\nDocument creation is asynchronous for every `source` (template, markdown, and file).\n\nA successful tool response means creation was accepted, not that the document is ready. The document starts in `Uploaded` and becomes `Draft` once it is ready.\n\nAfter calling this tool:\n\n1. Poll `documents_status_get` until it reports `Draft`, or until it returns an error.\n2. If `Draft`, the document is ready to edit, send, or fetch details/content.\n3. If `documents_status_get` returns an error, creation failed (invalid file, markdown conversion failure, validation errors, etc.). Report `error.detail` and do not call details/content/edit/send on it. This is terminal — `error.retryable` is `false`, so stop polling.\n4. While status is still `Uploaded`, do not assume success and do not call tools that require a ready document.\n\nA failed creation is reported for roughly 8 hours. After that a status lookup reports the document as not found — treat that as the same terminal failure, not a reason to resume polling.\n\n## Template\n\nCreate a document populated from an existing PandaDoc template. Requires `template_uuid`. Recipients are optional — omit them to use template defaults or to add them later. If the template isn't known yet, call `templates_list` first, then `templates_details_get` to discover its roles, fields, and variables. Optionally set fields, tokens, pricing tables, recipients, and other template data.\n\nWhen the template details show no classic pricing table and no content placeholders, such as a Quote block template, `pricing_tables` is rejected with `PRICING_TABLES_NOT_SUPPORTED_BY_QUOTE_BLOCK`; create the document without `pricing_tables`, then price it with `quotes_update`. If the template cannot be read, the check is skipped, so confirm the total with `documents_details_get`.\n\n## File\n\nCreate a document from a PDF or DOCX using exactly one file reference:\n\n- `url` — a directly downloadable URL with no authentication or HTML interstitial.\n- `file_uuid` — the reference returned by the `files_request_upload_url` tool. First upload the file bytes to its `presigned_url` with an HTTP PUT, then call this tool with the returned `file_uuid`. The uploaded file is checked for ownership, allowed type, size, and malware before document creation.\n\nPresigned S3/GCS/Azure URLs or direct CDN links work best for `url`. Google Drive and Dropbox share links do not work because they return HTML instead of the file.\n\nTo parse fillable PDF form fields, set `parse_form_fields: true` and provide `fields` mapping **every** form field name to a recipient role — omitting any causes failure.\n\n## Markdown\n\nCreate a new document in PandaDoc from markdown when there is only text representing the document content.\nDocument content must be generated according to the guidelines below.\nThe response includes a `document_url` field with a direct URL to open the created document in PandaDoc.\n\n### Markdown guidelines\n\nYou can use standard CommonMark and GitHub-Flavored Markdown (tables, strikethrough, etc), plus the following custom extensions:\n\n#### Custom Syntax Extensions\n\n##### 1. Variables\n\nVariables are placeholder values that the document creator fills in PandaDoc before sending to recipients.\nPrioritize variables over fields for any value that the sender controls or pre-fills, even if it may be visible to recipients.\n\n**Syntax:** `[VariableName]` or `[Variable.Name]` or `[Multi.Part.Variable]`\n\n- Can include underscores, numbers, and multiple dot-separated parts\n\n**Use variables for values controlled by the document creator:**\n\n- Document metadata: `[Effective.Date]`, `[Agreement.Number]`, `[Contract.Value]`\n- Company/sender information: `[Company.Name]`, `[Company.Address]`\n- Pre-calculated values: `[Invoice.Total]`, `[Discount.Amount]`\n- Recipient information already known: `[Recipient.CompanyName]`, `[Recipient.FirstName]`\n\n**Key principle:** If the sender controls the value, use a variable.\n\n##### 2. Fields\n\nFields are interactive form elements that recipients fill in or interact with during the signing process.\nRecipients see these as input boxes, checkboxes, or signature areas.\n\n> **Making a recipient a Signer — three things must line up.** A recipient becomes a Signer only when a field is assigned to their role. To assign one, all three of these must agree:\n>\n> 1. Give the field an `id` in `document_markdown` — e.g. `[[signature id=\"Signer_Sig\"]]`.\n> 2. Add a recipient whose `role` matches — e.g. `{ \"email\": \"[email protected]\", \"role\": \"Signer\" }`.\n> 3. Map the role to that id in `role_fields` — e.g. `[{ \"role\": \"Signer\", \"field_ids\": [\"Signer_Sig\"] }]`.\n>\n> A bare `[[signature]]` with no `id`, or a recipient that no `role_fields` entry references, is added as **CC** and cannot sign. Always set an `id` on signature/date fields the recipient must complete and reference it from `role_fields`.\n\n**Use fields for values controlled by the recipient:**\n\n- Recipient signatures: `[[signature id=\"Signer_Sig\"]]` (see the Signer callout above — a signature with no `id` and no `role_fields` mapping leaves the recipient as CC)\n- Recipient personal data they must enter: `[[text]]`, `[[email]]`, `[[phone]]`, `[[date]]`\n- Recipient choices/consents: `[[checkbox]]`\n- Information only the recipient knows or decides\n\n**Key principle:** If the recipient controls the value, use a field.\n\nFields can be prefilled with default values, but are typically left empty for the recipient to fill.\n\n**Syntax:** `[[field_type attributes]]`\n\n**Field Types:**\n\n- `text` - Text input field\n- `email` - Email input field\n- `phone` - Phone number input field (**`format` is required** — see below)\n- `number` - Number input field\n- `date` - Date input field\n- `checkbox` - Checkbox field\n- `signature` - Digital signature field\n- `dropdown` - Dropdown selection field (**`option` is required** — see below)\n\n**Attributes (HTML-style):**\n\n- `required=\"true\"` - Makes field required\n- `placeholder=\"text\"` - Placeholder text\n- `checked=\"true\"` - Pre-checked (checkbox only)\n- `value=\"timestamp\"` - For date fields, use UNIX timestamp with millisecond precision (e.g., value=\"1718406000000\"). For other fields, use plain text (e.g., value=\"John Doe\").\n- `format=\"US\"` or `format=\"international\"` - **Required for `phone` fields.** Must be exactly `\"US\"` or `\"international\"`. There is no default — omitting it causes a validation error.\n- `date_format=\"yyyy/MM/dd\"` - Date format in ICU notation (e.g., `\"dd/MM/yyyy\"`, `\"MM-dd-yyyy\"`). Defaults to `\"yyyy/MM/dd\"` if omitted.\n- `option=\"Text\"` - **Required for `dropdown` fields.** Repeatable — add one per option (e.g., `option=\"Yes\" option=\"No\"`). To assign a stable UUID to an option, use `option=\"uuid:Text\"` format.\n- `id=\"Client_Text1\"` - Specify an external ID that describes who should fill this field and what it represents (e.g., `id=\"Client_Signature\"`, `id=\"Landlord_FullName\"`, `id=\"Buyer_Email\"`). Use the pattern `<RecipientRole>_<FieldPurpose>` so the field can later be assigned to the correct recipient. Multiple fields MAY share the same ID (they'll be synced — when one is filled, all are filled with the same value), but they MUST have the same type and attributes. **This is also the only value `role_fields[].field_ids` may reference** (see below) — a field with no `id=\"...\"` cannot be pre-assigned to a role.\n\n**Assigning fields to roles via `role_fields`:** to pre-assign a field to a recipient's role at creation time, give the field an `id=\"...\"` in `document_markdown`, then reference that exact same string in `role_fields[].field_ids`. A `field_ids` value that does not match any `id=\"...\"` in `document_markdown` is rejected — never invent a `role_fields` value without first setting the matching `id=\"...\"` on the field:\n\n```text\ndocument_markdown: \"Signed: [[signature id=\\\"Signer_Sig\\\"]]\"\nrole_fields: [{\"role\": \"Signer\", \"field_ids\": [\"Signer_Sig\"]}]\n```\n\n**Examples:**\n\n- `[[text placeholder=\"Enter name\"]]`\n- `[[email required=\"true\" placeholder=\"Email address\"]]`\n- `[[phone format=\"US\"]]`\n- `[[phone format=\"international\"]]`\n- `[[number]]`\n- `[[date required=\"true\" value=\"1718406000000\"]]`\n- `[[date date_format=\"dd/MM/yyyy\"]]`\n- `[[checkbox checked=\"true\"]]`\n- `[[dropdown option=\"Yes\" option=\"No\"]]`\n- `[[dropdown option=\"Yes\" option=\"No\" value=\"Yes\" placeholder=\"Choose...\"]]`\n\n**Important:** Fields with the same ID must have the same type and attributes. For example, you cannot have `[[text id=\"Field1\"]]` and `[[email id=\"Field1\"]]` in the same document as well as `[[text id=\"Field2\" placeholder=\"Full Legal Name\" ]]` and `[[text id=\"Field2\"]]` because they have different attributes.\n\n**Dropdown constraints:**\n\n- At least one `option` attribute is required.\n- Option texts must be unique within the dropdown.\n- If `value` is set, it must match one of the defined option texts exactly; otherwise a validation error occurs.\n\n##### 3. Standalone Checkboxes\n\nCheckboxes use GFM syntax but can appear anywhere, not just in lists:\n\n- `[ ]` - Unchecked\n- `[x]` - Checked\n- Can be used inline, standalone, or in task lists\n\n##### 4. Page Breaks\n\n**Syntax:** `---` (three hyphens) creates a page break.\n\n**IMPORTANT:** Page breaks should be rare and intentional. Most documents don't need page breaks.\n\nOnly use `---` when content **must** be on separate pages for a specific reason:\n\n- Legal/structural requirement\n- Document structure demands it\n\n**Do NOT use `---`:**\n\n- Between sections (use headings: `## Section Title`)\n- As visual decoration (use blank lines)\n- Simply because there's a section transition\n\n##### 5. Pricing Tables\n\nA pricing table is a table of line items followed by a list of totals, wrapped in\nHTML comment markers that the reader never sees. Use one whenever the document\nquotes prices: quotes, proposals, order forms, invoices. **Without the markers it is\nan ordinary table** — the numbers come back as plain text, with no currency, no\nquantities and no recalculation.\n\n**Syntax:**\n\n```markdown\n<!-- pandadoc:pricing-table name=\"Services\" -->\n\n| Name | Description | Price | QTY | Tax | Subtotal |\n|------------|-------------|-------------|-----|------|-------------|\n| Consulting | Senior rate | 2000.24 USD | 3 | 23 % | 6000.72 USD |\n\n* Subtotal: 6000.72 USD\n* Discount: -10 %\n* Total: 5400.65 USD\n\n<!-- pandadoc:end-pricing-table -->\n```\n\n**Columns** are matched by name:\n\n- `Name` — **required**, on every row. Text, may be formatted.\n- `Price` — **required**, on every row. An amount, e.g. `2000.24 USD`.\n- `Description` — text, may be formatted\n- `SKU` — text\n- `Cost` — an amount\n- `QTY` — a number. Added for you (as 1) if the column is left out.\n- `Tax` — a percentage (`23 %`) or an amount (`50.00 USD`)\n- `Discount` — a percentage (`-10 %`) or an amount (`-50.00 USD`), written negative\n- `Subtotal` — an amount. Added for you if the column is left out.\n\nAn empty `Name` or `Price` cell is an error, and a column not in this list is kept\nas text under the name you wrote. `Tax` and `Discount` may each be a percentage or\nmoney, but a single column has to agree with itself: one mixing `-10 %` and\n`-5.00 USD` is an error.\n\n**Footer totals** go in a list directly under the table as `Name: value`. Only\n`Subtotal`, `Discount`, `Tax`, `Total` and `Total QTY` are accepted; any other total\nis an error.\n\n**The name** builds the document's tokens: a table named `Services` with a `Total`\ngives you `[Services.Total]` to use in any paragraph. Two tables may not share a\nname; an unnamed table takes the next free `Pricing Table N`.\n\n**The end marker** may be left out for a single table, which then reads as the table\nafter the marker plus the totals after that. It is **required** for a table in\nsections, and it stops an unrelated table further down being swallowed into the\nprices.\n\n**Sections and optional items** — a heading above a table titles that group of line\nitems, and every section must describe the same columns. A checkbox before the name\noffers the item rather than including it; no box means it is simply part of the\nquote. `[optional]` on a section heading lets the reader drop the whole section,\n`[choose one]` limits it to a single ticked row:\n\n```markdown\n<!-- pandadoc:pricing-table -->\n\n### Setup\n\n| Name | Price |\n|---------|------------|\n| Install | 500.00 USD |\n\n### Add-ons [optional]\n\n| Name | Price |\n|-----------------------|------------|\n| [ ] Extended warranty | 200.00 USD |\n| [x] Support plan | 100.00 USD |\n\n* Total: 600.00 USD\n\n<!-- pandadoc:end-pricing-table -->\n```\n\n**Currency** comes from the amounts themselves, which must all agree on one. A\ncurrency code (`2000.24 USD`) always names it; a symbol only when it belongs to a\nsingle currency — `zł` is Poland's alone, but `$` is shared by many and names none.\n\n**Not supported in a Markdown pricing table:** photos, tiered (\"buy 10+\") prices,\nper-item editable quantities, column width, lock and colour, and the CRM datasource.\nThose are set in the PandaDoc editor.\n\n##### 6. Money Formatting\n\nBy default amounts are read the Anglo way — `.` splits decimals, `,` groups\nthousands, and the currency code follows the number (`1,234.56 USD`). If the\ndocument writes money any other way, say so in YAML front matter at the very top of\nthe file:\n\n```markdown\n---\npandadoc:\n money:\n display_as: symbol\n position: before\n separate_with_space: true\n precision: 2\n decimal_delimiter: comma\n thousand_delimiter: space\n---\n```\n\nWith that block, `zł 2 000,24` reads as two thousand. All six settings are required\nwhen the block is present:\n\n- `display_as` — `no_code`, `symbol`, `code`, `code_and_symbol`\n- `position` — `before`, `after`\n- `separate_with_space` — `true`, `false`\n- `precision` — a number of decimal places, e.g. `2`\n- `decimal_delimiter` — `dot`, `comma`, `space`, `quote`, `no_delimiter`\n- `thousand_delimiter` — same values as `decimal_delimiter`\n\nThese say **how** money is written, not which currency it is. Quantities and\npercentages carry no currency but are written the same way, so a document splitting\ndecimals with a comma writes `1,5` and `7,25 %`. Digits that are not grouped in\nthrees are an error rather than a guess, so write amounts consistently with the\nsettings you declared.\n\n**Note:** front matter opens with `---`, which is also the page break. The block is\nonly read as front matter at the very top of the file naming `pandadoc`; a `---`\nanywhere else stays a page break.\n\n### Limitations (Features NOT Supported)\n\n**Do NOT include:**\n\n- Raw HTML, including `<br>`, `<u>`, and `<div>`\n- Blockquotes inside lists\n- Images inside links inline with text (e.g., `[](link)`)\n- Merged table cells\n\n**Field syntax rules:**\n\n- Field types must be lowercase and match the closed set exactly (`text`, `email`, `phone`, `number`, `date`, `checkbox`, `signature`, `dropdown`). Capitalized or otherwise altered forms are not recognized.\n- The only valid syntax is `[[field_type attributes]]`. Forms like `[[Signature|Signer]]`, `[[signature:sig_a]]`, `[[s:Owner1]]`, and `[[signature_1]]` are not recognized — use `[[signature id=\"Signer_Signature\"]]` instead.\n- Fields sharing the same `id` must have the same field type — a mismatched type is rejected. `signature` fields cannot share an `id` with any other field, including another `signature` field.\n- Every value passed in `role_fields.field_ids` must match the `id` attribute of a field present in `document_markdown`.\n",
"inputSchema": {
"type": "object",
"required": [
"request"
],
"properties": {
"request": {
"oneOf": [
{
"type": "object",
"required": [
"template_uuid",
"source"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Document name. Defaults to the template title when omitted."
},
"tags": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"default": null,
"description": "Document tags."
},
"owner": {
"anyOf": [
{
"type": "object",
"properties": {
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Email of the workspace member who will own the document. Pass this or `membership_id`."
},
"membership_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Workspace membership id of the member who will own the document. Pass this or `email`."
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Document owner (email or membership_id)."
},
"texts": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"data"
],
"properties": {
"data": {
"type": "string",
"description": "Text to place in the block; markdown is supported."
},
"name": {
"type": "string",
"description": "Name of the text block in the template."
}
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Text blocks to populate by name."
},
"fields": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "object",
"required": [
"value"
],
"properties": {
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Recipient role the field is assigned to; must be a `role` in `recipients`."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
}
],
"description": "Value to pre-fill the field with, typed by the field: a boolean for a checkbox, an RFC 3339 date such as `2019-12-31T00:00:00.000Z` for a date."
}
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Field values keyed by the field's `merge_field` as `templates_details_get` shows it. Signature fields can't be pre-filled."
},
"images": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"urls"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the image block in the template."
},
"urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "Publicly reachable URLs of the images to place in the block."
}
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Images to populate in template image blocks."
},
"source": {
"type": "string",
"const": "template",
"default": "template",
"description": "Creates the document from a PandaDoc template."
},
"tables": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"sections"
],
"properties": {
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "Text shown in the cell."
},
"col_span": {
"type": "integer",
"default": 1,
"minimum": 0,
"description": "Number of columns the cell spans."
},
"row_span": {
"type": "integer",
"default": 1,
"minimum": 0,
"description": "Number of rows the cell spans."
}
}
}
},
"description": "Body rows of the section, each a list of cells."
},
"header": {
"type": "array",
"items": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "Text shown in the cell."
},
"col_span": {
"type": "integer",
"default": 1,
"minimum": 0,
"description": "Number of columns the cell spans."
},
"row_span": {
"type": "integer",
"default": 1,
"minimum": 0,
"description": "Number of rows the cell spans."
}
}
},
"description": "Header row of the section."
}
}
},
"minItems": 1,
"description": "Sections of the table, each a header row and body rows."
}
},
"description": "Content to fill the table with."
},
"name": {
"type": "string",
"description": "Name of the table block in the template."
}
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Tables that already exist in the template, filled by name."
},
"tokens": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "Variable name, e.g. `Favorite.Pet`. System variables such as `Document.CreatedDate` are read-only."
},
"value": {
"type": "string",
"description": "Value to fill the variable with."
}
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Document tokens (variables) as name/value pairs."
},
"recipients": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Role this recipient fills, e.g. `Signer` or `Approver`; for a template, one of the roles `templates_details_get` lists. The recipient gets every field assigned to that role. A recipient with no `role` is added as CC."
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Email address. Pass this or `phone`."
},
"phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Phone number in international format with the country code, e.g. `+14155550100`. Pass this or `email`."
},
"redirect": {
"anyOf": [
{
"type": "object",
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Page the recipient is sent to after completing the document."
},
"is_enabled": {
"type": "boolean",
"default": false,
"description": "Turns the redirect to `url` on."
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Post-signing redirect for this recipient (is_enabled, url)."
},
"last_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Last name; taken from the workspace contact if omitted."
},
"first_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "First name; taken from the workspace contact if omitted."
},
"signing_order": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Position in the signing sequence; numbers start at 1 with no gaps. Set it on every recipient and recipient group, CC recipients included, or on none."
},
"delivery_methods": {
"anyOf": [
{
"type": "object",
"properties": {
"sms": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Send the document link by SMS; needs a `phone`."
},
"email": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Send the document link by email."
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Channels the document link is sent through: `email`, `sms` or both. If you pass it, set at least one to true; `sms` needs the recipient's `phone`."
},
"verification_settings": {
"anyOf": [
{
"type": "object",
"properties": {},
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Identity check the recipient must pass: `verification_place` (`before_open`, or `before_sign` for a signer) plus exactly one of `passcode_verification: {passcode}`, `phone_verification: {phone_number}`, `email_otp_verification: {email}`, `kba_verification: {enabled: true}` or `id_verification: {enabled: true}`. A passcode is 6-100 characters without spaces, with at least one letter and one digit."
}
},
"description": "Recipient to put on a newly created document.\n\nThe document assigns the recipient id, so this shape accepts no `id` —\nids belong to the update-side recipient (`documents_update`) and to\ndocument details.",
"additionalProperties": false
},
{
"type": "object",
"required": [
"name",
"members"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the recipient group."
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Role the group fills."
},
"type": {
"type": "string",
"const": "recipient_group",
"default": "recipient_group",
"description": "Marks this entry as a group rather than a single recipient."
},
"members": {
"type": "array",
"items": {
"type": "object",
"properties": {
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Email address. Pass this or `phone`."
},
"phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Phone number in international format with the country code, e.g. `+14155550100`. Pass this or `email`."
},
"last_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Last name; taken from the workspace contact if omitted."
},
"first_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "First name; taken from the workspace contact if omitted."
}
}
},
"description": "People in the recipient group."
},
"signing_order": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Position in the signing sequence; numbers start at 1 with no gaps. Set it on every recipient and recipient group, CC recipients included, or on none."
}
}
}
]
}
},
{
"type": "null"
}
],
"default": null,
"description": "Recipients. Omit to use template defaults or to create without recipients."
},
"folder_uuid": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "UUID of the folder (folder_uuid, NOT folder_id)."
},
"template_uuid": {
"type": "string",
"description": "ID of the template to create the document from: the `id` of a `templates_list` result."
},
"pricing_tables": {
"anyOf": [
{
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"name",
"sections"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the pricing table block as it appears in the template."
},
"options": {
"anyOf": [
{
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO 4217 currency code for the table, e.g. `USD`. Omit to keep the table's currency. A table that already exists in the template keeps its currency when a document is created from it; a different one is rejected, and so are products priced in another currency. On a document update, a different currency is rejected until the user confirms the change."
},
"discount": {
"anyOf": [
{
"type": "object",
"required": [
"name",
"type",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "Label shown for the discount."
},
"type": {
"enum": [
"absolute",
"percent"
],
"type": "string",
"description": "`percent` reads `value` as a percentage, `absolute` as a fixed amount."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Discount amount or percentage, as `type` says."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"default": null,
"description": "Discount applied to the table total."
},
"tax_first": {
"anyOf": [
{
"type": "object",
"required": [
"name",
"type",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "Label shown for the tax."
},
"type": {
"type": "string",
"const": "percent",
"description": "Unit of `value`."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Tax rate as a percentage, e.g. `8.5`."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"default": null,
"description": "First tax applied to the table total."
},
"tax_second": {
"anyOf": [
{
"type": "object",
"required": [
"name",
"type",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "Label shown for the tax."
},
"type": {
"type": "string",
"const": "percent",
"description": "Unit of `value`."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Tax rate as a percentage, e.g. `8.5`."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"default": null,
"description": "Second tax applied to the table total."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"default": null,
"description": "Currency, discount and taxes for the whole table."
},
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"default",
"rows"
],
"properties": {
"rows": {
"type": "array",
"items": {
"type": "object",
"required": [
"data",
"options"
],
"properties": {
"data": {
"type": "object",
"required": [
"qty"
],
"properties": {
"qty": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Number of units."
},
"sku": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "SKU of a catalog product. When it names one, row values you leave out, such as `name` and `price`, come from the catalog."
},
"cost": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "Value for the table's Cost column, separate from `price`."
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Product or service name. When omitted and `sku` names a catalog product, the catalog fills it in."
},
"price": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "Unit price. Leave out when `sku` names a catalog product: the catalog sets it, including the base price of a volume-priced product, and replaces any price sent for such a product. Never copy a price read from a document, it already has the volume pricing applied."
},
"tiers": {
"type": "array",
"items": {
"type": "object",
"required": [
"min_qty",
"value"
],
"properties": {
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Unit price from `min_qty` for `volume_based_price`; percent off `price` for `volume_based_discount_price`."
},
"min_qty": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Smallest whole quantity the tier applies from."
}
},
"additionalProperties": false
},
"maxItems": 50,
"description": "Up to 50 volume tiers, one of them with `min_qty` 1."
},
"images": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"required": [
"src"
],
"properties": {
"src": {
"type": "string",
"description": "Publicly reachable image URL."
}
},
"additionalProperties": false
}
},
{
"type": "null"
}
],
"default": null,
"description": "Images shown on the row."
},
"discount": {
"type": "object",
"required": [
"value",
"type"
],
"properties": {
"type": {
"type": "string",
"const": "percent",
"description": "Unit of `value`."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Percentage to apply, e.g. `10` for 10%."
}
},
"description": "Discount on this row.",
"additionalProperties": false
},
"tax_first": {
"type": "object",
"required": [
"value",
"type"
],
"properties": {
"type": {
"type": "string",
"const": "percent",
"description": "Unit of `value`."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Percentage to apply, e.g. `10` for 10%."
}
},
"description": "First tax on this row.",
"additionalProperties": false
},
"tax_second": {
"type": "object",
"required": [
"value",
"type"
],
"properties": {
"type": {
"type": "string",
"const": "percent",
"description": "Unit of `value`."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Percentage to apply, e.g. `10` for 10%."
}
},
"description": "Second tax on this row.",
"additionalProperties": false
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Description of the item."
},
"pricing_method": {
"anyOf": [
{
"enum": [
"volume_based_price",
"volume_based_discount_price"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Volume pricing of the row, set together with `tiers`. With `volume_based_discount_price`, `price` is the base price. Both come from the catalog when `sku` names a volume-priced product."
}
},
"description": "Values for one pricing table row.\n\nKeys are the column names below, spelled exactly like that, in lower case.\nThey are not the column titles shown in the template, and a column the\ntemplate adds has no key here: the API accepts only this set.\n\n``name`` and ``price`` may be left out when ``sku`` names a catalog\nproduct: they then come from the catalog.",
"additionalProperties": false
},
"options": {
"type": "object",
"properties": {
"optional": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Recipients can include or exclude this row."
},
"qty_editable": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Recipients can change this row's quantity."
},
"optional_selected": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Pre-selects an optional row. Only meaningful with ``optional``."
},
"multichoice_selected": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Pre-selects this row. Only allowed when the section sets ``multichoice_enabled``."
}
},
"description": "Send an empty object to accept the table's own defaults.",
"additionalProperties": false
},
"custom_fields": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Values for columns the template adds to the table, keyed by the table's `columns[].name` from `templates_details_get` or `documents_details_get`. A key with no matching column adds a new hidden column."
}
},
"additionalProperties": false
},
"description": "Line items in this section."
},
"title": {
"type": "string",
"description": "Heading of this group of rows; required and not blank, even when `default` is true."
},
"default": {
"type": "boolean",
"description": "Hides the section header when true. At most one section per table may set this to true."
},
"multichoice_enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Recipients pick one row out of this section. Its rows may then set ``multichoice_selected`` but not ``optional``."
}
},
"additionalProperties": false
},
"minItems": 1,
"description": "Groups of rows in the table."
},
"data_merge": {
"type": "boolean",
"const": false,
"default": false,
"description": "False selects the built-in row shape, keyed by the lower-case column names. Omit it for an ordinary table."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"data_merge",
"name",
"sections"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the pricing table block as it appears in the template."
},
"options": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"name",
"type",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "Label shown for the discount."
},
"type": {
"enum": [
"absolute",
"percent"
],
"type": "string",
"description": "`percent` reads `value` as a percentage, `absolute` as a fixed amount."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Discount amount or percentage, as `type` says."
}
},
"additionalProperties": false
}
]
}
},
{
"type": "null"
}
],
"default": null,
"description": "Table-level options: ``currency``, which must match the template table's own currency when a document is created from it, and needs the user's confirmation to change on a document update (a different one is rejected otherwise), or an adjustment keyed by its external column name and carrying ``{name, type: \"absolute\" | \"percent\", value}``."
},
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"default",
"rows"
],
"properties": {
"rows": {
"type": "array",
"items": {
"type": "object",
"required": [
"data",
"options"
],
"properties": {
"data": {
"type": "object",
"description": "Row values keyed by the linked data source's external column names — the ``merge_name`` reported for each of the table's ``columns`` in ``templates_details_get`` — not by the built-in lower-case names. A key the table's columns do not list is silently ignored upstream, so a typo in one disappears without an error. A missing value for a column the source maps to the table's name, price or qty columns fails; an adjustment column takes ``{value, type: \"percent\" | \"flat\"}``.",
"minProperties": 1,
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "object",
"required": [
"value",
"type"
],
"properties": {
"type": {
"enum": [
"percent",
"flat"
],
"type": "string",
"description": "`percent` reads `value` as a percentage, `flat` as a fixed amount."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Adjustment amount or percentage, as `type` says."
}
},
"description": "An adjustment value in a data-merge row, keyed by its column name.",
"additionalProperties": false
},
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
]
}
}
}
]
}
},
"options": {
"type": "object",
"properties": {
"optional": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Recipients can include or exclude this row."
},
"qty_editable": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Recipients can change this row's quantity."
},
"optional_selected": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Pre-selects an optional row. Only meaningful with ``optional``."
},
"multichoice_selected": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Pre-selects this row. Only allowed when the section sets ``multichoice_enabled``."
}
},
"description": "Send an empty object to accept the table's own defaults.",
"additionalProperties": false
},
"custom_fields": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Values for columns the template adds to the table, keyed by the table's `columns[].name` from `templates_details_get` or `documents_details_get`. A key with no matching column adds a new hidden column."
}
},
"description": "One row of a pricing table populated from a linked data source.",
"additionalProperties": false
},
"description": "Line items in this section."
},
"title": {
"type": "string",
"description": "Heading of this group of rows; required and not blank, even when `default` is true."
},
"default": {
"type": "boolean",
"description": "Hides the section header when true. At most one section per table may set this to true."
},
"multichoice_enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Recipients pick one row out of this section. Its rows may then set ``multichoice_selected`` but not ``optional``."
}
},
"additionalProperties": false
},
"minItems": 1,
"description": "Groups of rows in the table."
},
"data_merge": {
"type": "boolean",
"const": true,
"description": "True selects the linked-data-source row shape, keyed by the table's ``merge_name`` column names. Use it only for a table that has data merge turned on in the template; any other table rejects it."
}
},
"description": "A pricing table populated from its linked data source's columns.\n\nUse this variant when the table's ``templates_details_get`` details\nreport ``data_merge_enabled: true``. Row values are keyed by the\nexternal column names of the linked data source, given by ``merge_name``\non each of the table's ``columns``. The built-in lower-case names do not\napply to this variant.",
"additionalProperties": false
}
]
}
},
{
"type": "null"
}
],
"default": null,
"description": "Pricing tables to populate by name. For a table whose ``templates_details_get`` details report ``data_merge_enabled: true``, send the ``data_merge: true`` variant instead, with row values keyed by the table's ``merge_name`` column names."
},
"content_placeholders": {
"type": "array",
"items": {
"type": "object",
"required": [
"block_id",
"content_library_items"
],
"properties": {
"block_id": {
"type": "string",
"description": "Placeholder block to fill: a `content_placeholders[].block_id` from `templates_details_get`."
},
"content_library_items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "ID of the content library item to insert."
},
"fields": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Field values for the inserted item, keyed by field name."
},
"recipients": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ID of an existing recipient, from `documents_details_get`. Pass it only to change that recipient."
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Role this recipient fills, e.g. `Signer`. `documents_update` does not apply it: a recipient with `id` keeps its role, and one without `id` is added as CC."
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Email address. Pass this or `phone`."
},
"phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Phone number in international format with the country code, e.g. `+14155550100`. Pass this or `email`."
},
"redirect": {
"anyOf": [
{
"type": "object",
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Page the recipient is sent to after completing the document."
},
"is_enabled": {
"type": "boolean",
"default": false,
"description": "Turns the redirect to `url` on."
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Where to send this recipient after they complete the document."
},
"last_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Last name; taken from the workspace contact if omitted."
},
"first_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "First name; taken from the workspace contact if omitted."
},
"signing_order": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Position in the signing sequence; numbers start at 1 with no gaps. Set it on every recipient and recipient group, CC recipients included, or on none. `null` on every recipient turns the signing order off."
},
"delivery_methods": {
"anyOf": [
{
"type": "object",
"properties": {
"sms": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Send the document link by SMS; needs a `phone`."
},
"email": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Send the document link by email."
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Channels the document link is sent through: `email`, `sms` or both. If you pass it, set at least one to true; `sms` needs the recipient's `phone`."
},
"verification_settings": {
"anyOf": [
{
"type": "object",
"properties": {},
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Identity check the recipient must pass: `verification_place` (`before_open`, or `before_sign` for a signer) plus exactly one of `passcode_verification: {passcode}`, `phone_verification: {phone_number}`, `email_otp_verification: {email}`, `kba_verification: {enabled: true}` or `id_verification: {enabled: true}`. A passcode is 6-100 characters without spaces, with at least one letter and one digit. `documents_update` does not apply it; set verification when the document is created."
}
}
},
"description": "Recipients to assign to the inserted item's roles."
},
"pricing_tables": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"name",
"sections"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the pricing table block as it appears in the template."
},
"options": {
"anyOf": [
{
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO 4217 currency code for the table, e.g. `USD`. Omit to keep the table's currency. A table that already exists in the template keeps its currency when a document is created from it; a different one is rejected, and so are products priced in another currency. On a document update, a different currency is rejected until the user confirms the change."
},
"discount": {
"anyOf": [
{
"type": "object",
"required": [
"name",
"type",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "Label shown for the discount."
},
"type": {
"enum": [
"absolute",
"percent"
],
"type": "string",
"description": "`percent` reads `value` as a percentage, `absolute` as a fixed amount."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Discount amount or percentage, as `type` says."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"default": null,
"description": "Discount applied to the table total."
},
"tax_first": {
"anyOf": [
{
"type": "object",
"required": [
"name",
"type",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "Label shown for the tax."
},
"type": {
"type": "string",
"const": "percent",
"description": "Unit of `value`."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Tax rate as a percentage, e.g. `8.5`."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"default": null,
"description": "First tax applied to the table total."
},
"tax_second": {
"anyOf": [
{
"type": "object",
"required": [
"name",
"type",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "Label shown for the tax."
},
"type": {
"type": "string",
"const": "percent",
"description": "Unit of `value`."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Tax rate as a percentage, e.g. `8.5`."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"default": null,
"description": "Second tax applied to the table total."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"default": null,
"description": "Currency, discount and taxes for the whole table."
},
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"default",
"rows"
],
"properties": {
"rows": {
"type": "array",
"items": {
"type": "object",
"required": [
"data",
"options"
],
"properties": {
"data": {
"type": "object",
"required": [
"qty"
],
"properties": {
"qty": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Number of units."
},
"sku": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "SKU of a catalog product. When it names one, row values you leave out, such as `name` and `price`, come from the catalog."
},
"cost": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "Value for the table's Cost column, separate from `price`."
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Product or service name. When omitted and `sku` names a catalog product, the catalog fills it in."
},
"price": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "Unit price. Leave out when `sku` names a catalog product: the catalog sets it, including the base price of a volume-priced product, and replaces any price sent for such a product. Never copy a price read from a document, it already has the volume pricing applied."
},
"tiers": {
"type": "array",
"items": {
"type": "object",
"required": [
"min_qty",
"value"
],
"properties": {
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Unit price from `min_qty` for `volume_based_price`; percent off `price` for `volume_based_discount_price`."
},
"min_qty": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Smallest whole quantity the tier applies from."
}
},
"additionalProperties": false
},
"maxItems": 50,
"description": "Up to 50 volume tiers, one of them with `min_qty` 1."
},
"images": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"required": [
"src"
],
"properties": {
"src": {
"type": "string",
"description": "Publicly reachable image URL."
}
},
"additionalProperties": false
}
},
{
"type": "null"
}
],
"default": null,
"description": "Images shown on the row."
},
"discount": {
"type": "object",
"required": [
"value",
"type"
],
"properties": {
"type": {
"type": "string",
"const": "percent",
"description": "Unit of `value`."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Percentage to apply, e.g. `10` for 10%."
}
},
"description": "Discount on this row.",
"additionalProperties": false
},
"tax_first": {
"type": "object",
"required": [
"value",
"type"
],
"properties": {
"type": {
"type": "string",
"const": "percent",
"description": "Unit of `value`."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Percentage to apply, e.g. `10` for 10%."
}
},
"description": "First tax on this row.",
"additionalProperties": false
},
"tax_second": {
"type": "object",
"required": [
"value",
"type"
],
"properties": {
"type": {
"type": "string",
"const": "percent",
"description": "Unit of `value`."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Percentage to apply, e.g. `10` for 10%."
}
},
"description": "Second tax on this row.",
"additionalProperties": false
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Description of the item."
},
"pricing_method": {
"anyOf": [
{
"enum": [
"volume_based_price",
"volume_based_discount_price"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Volume pricing of the row, set together with `tiers`. With `volume_based_discount_price`, `price` is the base price. Both come from the catalog when `sku` names a volume-priced product."
}
},
"description": "Values for one pricing table row.\n\nKeys are the column names below, spelled exactly like that, in lower case.\nThey are not the column titles shown in the template, and a column the\ntemplate adds has no key here: the API accepts only this set.\n\n``name`` and ``price`` may be left out when ``sku`` names a catalog\nproduct: they then come from the catalog.",
"additionalProperties": false
},
"options": {
"type": "object",
"properties": {
"optional": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Recipients can include or exclude this row."
},
"qty_editable": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Recipients can change this row's quantity."
},
"optional_selected": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Pre-selects an optional row. Only meaningful with ``optional``."
},
"multichoice_selected": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Pre-selects this row. Only allowed when the section sets ``multichoice_enabled``."
}
},
"description": "Send an empty object to accept the table's own defaults.",
"additionalProperties": false
},
"custom_fields": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Values for columns the template adds to the table, keyed by the table's `columns[].name` from `templates_details_get` or `documents_details_get`. A key with no matching column adds a new hidden column."
}
},
"additionalProperties": false
},
"description": "Line items in this section."
},
"title": {
"type": "string",
"description": "Heading of this group of rows; required and not blank, even when `default` is true."
},
"default": {
"type": "boolean",
"description": "Hides the section header when true. At most one section per table may set this to true."
},
"multichoice_enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Recipients pick one row out of this section. Its rows may then set ``multichoice_selected`` but not ``optional``."
}
},
"additionalProperties": false
},
"minItems": 1,
"description": "Groups of rows in the table."
},
"data_merge": {
"type": "boolean",
"const": false,
"default": false,
"description": "False selects the built-in row shape, keyed by the lower-case column names. Omit it for an ordinary table."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"data_merge",
"name",
"sections"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the pricing table block as it appears in the template."
},
"options": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"name",
"type",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "Label shown for the discount."
},
"type": {
"enum": [
"absolute",
"percent"
],
"type": "string",
"description": "`percent` reads `value` as a percentage, `absolute` as a fixed amount."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Discount amount or percentage, as `type` says."
}
},
"additionalProperties": false
}
]
}
},
{
"type": "null"
}
],
"default": null,
"description": "Table-level options: ``currency``, which must match the template table's own currency when a document is created from it, and needs the user's confirmation to change on a document update (a different one is rejected otherwise), or an adjustment keyed by its external column name and carrying ``{name, type: \"absolute\" | \"percent\", value}``."
},
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"default",
"rows"
],
"properties": {
"rows": {
"type": "array",
"items": {
"type": "object",
"required": [
"data",
"options"
],
"properties": {
"data": {
"type": "object",
"description": "Row values keyed by the linked data source's external column names — the ``merge_name`` reported for each of the table's ``columns`` in ``templates_details_get`` — not by the built-in lower-case names. A key the table's columns do not list is silently ignored upstream, so a typo in one disappears without an error. A missing value for a column the source maps to the table's name, price or qty columns fails; an adjustment column takes ``{value, type: \"percent\" | \"flat\"}``.",
"minProperties": 1,
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "object",
"required": [
"value",
"type"
],
"properties": {
"type": {
"enum": [
"percent",
"flat"
],
"type": "string",
"description": "`percent` reads `value` as a percentage, `flat` as a fixed amount."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Adjustment amount or percentage, as `type` says."
}
},
"description": "An adjustment value in a data-merge row, keyed by its column name.",
"additionalProperties": false
},
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
]
}
}
}
]
}
},
"options": {
"type": "object",
"properties": {
"optional": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Recipients can include or exclude this row."
},
"qty_editable": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Recipients can change this row's quantity."
},
"optional_selected": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Pre-selects an optional row. Only meaningful with ``optional``."
},
"multichoice_selected": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Pre-selects this row. Only allowed when the section sets ``multichoice_enabled``."
}
},
"description": "Send an empty object to accept the table's own defaults.",
"additionalProperties": false
},
"custom_fields": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Values for columns the template adds to the table, keyed by the table's `columns[].name` from `templates_details_get` or `documents_details_get`. A key with no matching column adds a new hidden column."
}
},
"description": "One row of a pricing table populated from a linked data source.",
"additionalProperties": false
},
"description": "Line items in this section."
},
"title": {
"type": "string",
"description": "Heading of this group of rows; required and not blank, even when `default` is true."
},
"default": {
"type": "boolean",
"description": "Hides the section header when true. At most one section per table may set this to true."
},
"multichoice_enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Recipients pick one row out of this section. Its rows may then set ``multichoice_selected`` but not ``optional``."
}
},
"additionalProperties": false
},
"minItems": 1,
"description": "Groups of rows in the table."
},
"data_merge": {
"type": "boolean",
"const": true,
"description": "True selects the linked-data-source row shape, keyed by the table's ``merge_name`` column names. Use it only for a table that has data merge turned on in the template; any other table rejects it."
}
},
"description": "A pricing table populated from its linked data source's columns.\n\nUse this variant when the table's ``templates_details_get`` details\nreport ``data_merge_enabled: true``. Row values are keyed by the\nexternal column names of the linked data source, given by ``merge_name``\non each of the table's ``columns``. The built-in lower-case names do not\napply to this variant.",
"additionalProperties": false
}
]
},
"description": "Pricing tables inside the inserted item, populated by name."
}
},
"additionalProperties": true
},
"description": "Content library items to insert into the placeholder."
}
}
},
"description": "Content placeholders for content library blocks."
},
"detect_title_variables": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Use title variables from the template in the document name."
}
},
"description": "Create a document from an existing PandaDoc template.\n\n``extra=\"forbid\"`` makes the per-source schema authoritative: markdown-only\nparameters (e.g. ``document_markdown``) are rejected by validation rather\nthan silently ignored, so no cross-parameter runtime checks are needed.",
"additionalProperties": false
},
{
"type": "object",
"required": [
"name",
"document_markdown",
"source"
],
"properties": {
"name": {
"type": "string",
"description": "Document name."
},
"source": {
"type": "string",
"const": "markdown",
"default": "markdown",
"description": "Creates the document from `document_markdown`."
},
"recipients": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Role this recipient fills, e.g. `Signer` or `Approver`; for a template, one of the roles `templates_details_get` lists. The recipient gets every field assigned to that role. A recipient with no `role` is added as CC."
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Email address. Pass this or `phone`."
},
"phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Phone number in international format with the country code, e.g. `+14155550100`. Pass this or `email`."
},
"redirect": {
"anyOf": [
{
"type": "object",
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Page the recipient is sent to after completing the document."
},
"is_enabled": {
"type": "boolean",
"default": false,
"description": "Turns the redirect to `url` on."
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Post-signing redirect for this recipient (is_enabled, url)."
},
"last_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Last name; taken from the workspace contact if omitted."
},
"first_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "First name; taken from the workspace contact if omitted."
},
"signing_order": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Position in the signing sequence; numbers start at 1 with no gaps. Set it on every recipient and recipient group, CC recipients included, or on none."
},
"delivery_methods": {
"anyOf": [
{
"type": "object",
"properties": {
"sms": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Send the document link by SMS; needs a `phone`."
},
"email": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Send the document link by email."
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Channels the document link is sent through: `email`, `sms` or both. If you pass it, set at least one to true; `sms` needs the recipient's `phone`."
},
"verification_settings": {
"anyOf": [
{
"type": "object",
"properties": {},
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Identity check the recipient must pass: `verification_place` (`before_open`, or `before_sign` for a signer) plus exactly one of `passcode_verification: {passcode}`, `phone_verification: {phone_number}`, `email_otp_verification: {email}`, `kba_verification: {enabled: true}` or `id_verification: {enabled: true}`. A passcode is 6-100 characters without spaces, with at least one letter and one digit."
}
},
"description": "Recipient to put on a newly created document.\n\nThe document assigns the recipient id, so this shape accepts no `id` —\nids belong to the update-side recipient (`documents_update`) and to\ndocument details.",
"additionalProperties": false
}
},
{
"type": "null"
}
],
"default": null,
"description": "Individual recipients. Recipient groups are not supported for markdown documents."
},
"folder_uuid": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "UUID of the folder (folder_uuid, NOT folder_id)."
},
"role_fields": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"required": [
"role",
"field_ids"
],
"properties": {
"role": {
"type": "string",
"description": "Recipient role the fields go to; must be the `role` of one of the `recipients`."
},
"field_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Field ids to assign to this role. Each value must exactly match an id=\"...\" attribute you set on a [[...]] field in document_markdown (see the tool description's Fields section) — not a name you invent. A field with no id=\"...\" attribute cannot be referenced here."
}
},
"description": "Role-to-field mapping for markdown document creation."
}
},
{
"type": "null"
}
],
"default": null,
"description": "Role-to-field mappings. Every role must match a recipient role when recipients are provided, and role names must be unique. Only reference fields you gave an explicit id=\"...\" in document_markdown — a field_ids value with no matching id=\"...\" is rejected."
},
"document_markdown": {
"type": "string",
"description": "Markdown content. See the tool description for the supported syntax and custom extensions."
}
},
"description": "Create a document from markdown content.\n\n``extra=\"forbid\"`` makes the per-source schema authoritative: template-only\nparameters (e.g. ``template_uuid``, ``fields``) are rejected by validation\nrather than silently ignored.",
"additionalProperties": false
},
{
"type": "object",
"required": [
"name",
"source"
],
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Publicly accessible URL to a PDF or DOCX file. Do not set this when using `file_uuid`. Must return the raw file on HTTP GET without auth (presigned S3/GCS/Azure URLs or direct CDN links work). Google Drive and Dropbox share links do not work — they return HTML, not the file."
},
"name": {
"type": "string",
"description": "Name for the new document."
},
"tags": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"default": null,
"description": "Document tags."
},
"owner": {
"anyOf": [
{
"type": "object",
"properties": {
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Email of the workspace member who will own the document. Pass this or `membership_id`."
},
"membership_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Workspace membership id of the member who will own the document. Pass this or `email`."
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Document owner (email or membership_id)."
},
"fields": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "object",
"required": [
"value"
],
"properties": {
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Recipient role the field is assigned to; must be a `role` in `recipients`."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
}
],
"description": "Value to pre-fill the field with, typed by the field: a boolean for a checkbox, an RFC 3339 date such as `2019-12-31T00:00:00.000Z` for a date."
}
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Field name to value+role mapping. Each value needs `role` (recipient role name) and `value` (string, or false for checkboxes). Required with `parse_form_fields` — must include ALL fields from the PDF."
},
"source": {
"type": "string",
"const": "file",
"default": "file",
"description": "Creates the document from a PDF or DOCX file."
},
"tokens": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "Variable name, e.g. `Favorite.Pet`. System variables such as `Document.CreatedDate` are read-only."
},
"value": {
"type": "string",
"description": "Value to fill the variable with."
}
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Document tokens (variables) as name/value pairs."
},
"file_uuid": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
],
"default": null,
"description": "Reference returned by the `files_request_upload_url` tool after the upload completes. Do not set this when using `url`."
},
"recipients": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Role this recipient fills, e.g. `Signer` or `Approver`; for a template, one of the roles `templates_details_get` lists. The recipient gets every field assigned to that role. A recipient with no `role` is added as CC."
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Email address. Pass this or `phone`."
},
"phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Phone number in international format with the country code, e.g. `+14155550100`. Pass this or `email`."
},
"redirect": {
"anyOf": [
{
"type": "object",
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Page the recipient is sent to after completing the document."
},
"is_enabled": {
"type": "boolean",
"default": false,
"description": "Turns the redirect to `url` on."
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Post-signing redirect for this recipient (is_enabled, url)."
},
"last_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Last name; taken from the workspace contact if omitted."
},
"first_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "First name; taken from the workspace contact if omitted."
},
"signing_order": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Position in the signing sequence; numbers start at 1 with no gaps. Set it on every recipient and recipient group, CC recipients included, or on none."
},
"delivery_methods": {
"anyOf": [
{
"type": "object",
"properties": {
"sms": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Send the document link by SMS; needs a `phone`."
},
"email": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Send the document link by email."
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Channels the document link is sent through: `email`, `sms` or both. If you pass it, set at least one to true; `sms` needs the recipient's `phone`."
},
"verification_settings": {
"anyOf": [
{
"type": "object",
"properties": {},
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Identity check the recipient must pass: `verification_place` (`before_open`, or `before_sign` for a signer) plus exactly one of `passcode_verification: {passcode}`, `phone_verification: {phone_number}`, `email_otp_verification: {email}`, `kba_verification: {enabled: true}` or `id_verification: {enabled: true}`. A passcode is 6-100 characters without spaces, with at least one letter and one digit."
}
},
"description": "Recipient to put on a newly created document.\n\nThe document assigns the recipient id, so this shape accepts no `id` —\nids belong to the update-side recipient (`documents_update`) and to\ndocument details.",
"additionalProperties": false
},
{
"type": "object",
"required": [
"name",
"members"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the recipient group."
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Role the group fills."
},
"type": {
"type": "string",
"const": "recipient_group",
"default": "recipient_group",
"description": "Marks this entry as a group rather than a single recipient."
},
"members": {
"type": "array",
"items": {
"type": "object",
"properties": {
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Email address. Pass this or `phone`."
},
"phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Phone number in international format with the country code, e.g. `+14155550100`. Pass this or `email`."
},
"last_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Last name; taken from the workspace contact if omitted."
},
"first_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "First name; taken from the workspace contact if omitted."
}
}
},
"description": "People in the recipient group."
},
"signing_order": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Position in the signing sequence; numbers start at 1 with no gaps. Set it on every recipient and recipient group, CC recipients included, or on none."
}
}
}
]
}
},
{
"type": "null"
}
],
"default": null,
"description": "Document recipients."
},
"folder_uuid": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "UUID of the folder (folder_uuid, NOT folder_id)."
},
"parse_form_fields": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Parse fillable PDF form fields. Requires `fields` mapping EVERY form field name to a recipient role — omitting any causes failure. Ask the user for the complete list of field names before enabling this."
}
},
"description": "Create a document from a downloadable or previously uploaded file.\n\n``extra=\"forbid\"`` makes the per-source schema authoritative: template- and\nmarkdown-only parameters are rejected by validation rather than silently\nignored.",
"additionalProperties": false
}
],
"description": "Document to create. Set `source` to `template` (create from a PandaDoc template), `markdown` (create from markdown content), or `file` (create from a PDF/DOCX URL or uploaded file reference). Each source accepts only its own parameters."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "CreateDocumentToolStructuredContent",
"required": [
"id",
"name",
"status",
"document_url"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"name": {
"type": "string",
"title": "Name"
},
"uuid": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Uuid",
"default": null
},
"links": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"title": "Links"
},
"status": {
"type": "string",
"title": "Status",
"description": "Document status (e.g. Draft, Sent, Completed)."
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Version",
"default": null
},
"date_created": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date Created",
"default": null
},
"document_url": {
"type": "string",
"title": "Document Url",
"readOnly": true
},
"info_message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Info Message",
"default": null
},
"date_modified": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date Modified",
"default": null
},
"expiration_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Expiration Date",
"default": null
}
},
"description": "Create-document response with a stable PandaDoc web-app URL for ``id``.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description98/100
Update document content, properties, or settings. Content and property updates require Draft status. Tables and text blocks are filled by name and must already exist in the document; this tool cannot add or remove a table, block, or section. For those structural edits use the content_edit tool when it is available. When the document has no classic pricing table, such as one with a Quote block, `pricing_tables` is rejected with `PRICING_TABLES_NOT_SUPPORTED_BY_QUOTE_BLOCK`; price it with `quotes_update` instead. If the document cannot be read, the check is skipped. Qualified electronic signatures and suggest edits also require Draft status; expiration can be updated after sending. Pass `expiration_date` for the real signing deadline. Expiration.* variables change printed text only. After creating a new document, wait for it to reach Draft status before updating its content. When content or properties and settings are combined, they are sent to separate APIs and are not atomic: content and property updates happen first and are not rolled back if the settings update fails. Only the parameters you pass are sent; the rest stay as they are. Returns a confirmation, not the updated document; read it back with `documents_details_get`.
The description explains the capability, when to use it, and what to expect.
Inputs85/100
Explain the meaning of this value, not just its name.
document_id
Document id, not its name. Take it from `documents_list`, `documents_search` or `documents_create`.
Clear enough to supply this argument.
name
New name for the document.
Clear enough to supply this argument.
url
Document URL
Explain the meaning of this value, not just its name.
recipients › anyOf › 0 › items › anyOf › 0 › id
ID of an existing recipient, from `documents_details_get`. Pass it only to change that recipient.
Last name; taken from the workspace contact if omitted.
Clear enough to supply this argument.
recipients › anyOf › 0 › items › anyOf › 0 › role
Role this recipient fills, e.g. `Signer`. `documents_update` does not apply it: a recipient with `id` keeps its role, and one without `id` is added as CC.
Position in the signing sequence; numbers start at 1 with no gaps. Set it on every recipient and recipient group, CC recipients included, or on none. `null` on every recipient turns the signing order off.
Identity check the recipient must pass: `verification_place` (`before_open`, or `before_sign` for a signer) plus exactly one of `passcode_verification: {passcode}`, `phone_verification: {phone_number}`, `email_otp_verification: {email}`, `kba_verification: {enabled: true}` or `id_verification: {enabled: true}`. A passcode is 6-100 characters without spaces, with at least one letter and one digit. `documents_update` does not apply it; set verification when the document is created.
Clear enough to supply this argument.
recipients › anyOf › 0 › items › anyOf › 1 › name
Name of the recipient group.
Clear enough to supply this argument.
recipients › anyOf › 0 › items › anyOf › 1 › type
Marks this entry as a group rather than a single recipient.
Unit price. Leave out when `sku` names a catalog product: the catalog sets it, including the base price of a volume-priced product, and replaces any price sent for such a product. Never copy a price read from a document, it already has the volume pricing applied.
Volume pricing of the row, set together with `tiers`. With `volume_based_discount_price`, `price` is the base price. Both come from the catalog when `sku` names a volume-priced product.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Values for columns the template adds to the table, keyed by the table's `columns[].name` from `templates_details_get` or `documents_details_get`. A key with no matching column adds a new hidden column.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
ISO 4217 currency code for the table, e.g. `USD`. Omit to keep the table's currency. A table that already exists in the template keeps its currency when a document is created from it; a different one is rejected, and so are products priced in another currency. On a document update, a different currency is rejected until the user confirms the change.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
True selects the linked-data-source row shape, keyed by the table's ``merge_name`` column names. Use it only for a table that has data merge turned on in the template; any other table rejects it.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Values for columns the template adds to the table, keyed by the table's `columns[].name` from `templates_details_get` or `documents_details_get`. A key with no matching column adds a new hidden column.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
images › anyOf › 0 › items › name
Name of the image block in the template.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
images › anyOf › 0 › items › urls
Publicly reachable URLs of the images to place in the block.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
texts › anyOf › 0 › items › name
Name of the text block in the template.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
texts › anyOf › 0 › items › data
Text to place in the block; markdown is supported.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
expiration_date
Real signing expiration date in YYYY-MM-DD format. For a sent document, the saved interval is calculated from its original send date. For a Draft, it is calculated from today and remains relative to the day the document is eventually sent, so set it immediately before sending.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
language
Document language as a supported locale code, for example `en-US`, `de-DE`, or `fr-FR`.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
qualified_electronic_signature
Enable or disable qualified electronic signatures. Can only be changed while the document is in Draft status and enabling requires at least one individual signer and no recipient groups. Enabling automatically turns on signing order, places every recipient in a separate sequential signing step (reordering recipients that shared an order), and disables signature forwarding with reassignment. Disabling does not restore the previous signing order or forwarding setting.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
suggest_edits
Enable or disable recipient edit suggestions. Can only be changed while the document is in Draft status.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
confirm_currency_change
Set to true only after the user confirmed changing a pricing table's currency. Without it, a `pricing_tables` entry whose currency differs from the document's table is rejected and nothing is updated.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
{
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "DocumentUpdateStructuredContent",
"required": [
"updated",
"document_id"
],
"properties": {
"updated": {
"type": "boolean",
"const": true,
"title": "Updated"
},
"language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Language",
"default": null,
"description": "Document language, when it was updated."
},
"warnings": {
"type": "array",
"items": {
"type": "string"
},
"title": "Warnings",
"description": "Important limits of the update that the user must be told about."
},
"document_id": {
"type": "string",
"title": "Document Id"
},
"suggest_edits": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Suggest Edits",
"default": null,
"description": "Whether recipients can suggest edits, when updated."
},
"expiration_date": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
],
"title": "Expiration Date",
"default": null,
"description": "Requested signing expiration date, when it was updated."
},
"expires_in_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Expires In Days",
"default": null,
"description": "Expiration interval saved in document settings."
},
"effective_expiration_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Effective Expiration At",
"default": null,
"description": "Effective signing deadline for a sent document, or null while it is Draft."
},
"qualified_electronic_signature": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Qualified Electronic Signature",
"default": null,
"description": "Whether qualified electronic signatures are enabled after the update. This setting can only be changed while the document is in Draft status. Enabling requires at least one individual signer and no recipient groups. It automatically turns on signing order, places every recipient in a separate sequential signing step (reordering recipients that shared an order), and disables signature forwarding with reassignment. Disabling does not restore the previous signing order or forwarding setting."
}
},
"description": "``documents_update``—confirmation payload for update calls.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
}
Original tool metadata
{
"name": "documents_update",
"title": "Update document",
"description": "Update document content, properties, or settings. Content and property updates require Draft status. Tables and text blocks are filled by name and must already exist in the document; this tool cannot add or remove a table, block, or section. For those structural edits use the content_edit tool when it is available. When the document has no classic pricing table, such as one with a Quote block, `pricing_tables` is rejected with `PRICING_TABLES_NOT_SUPPORTED_BY_QUOTE_BLOCK`; price it with `quotes_update` instead. If the document cannot be read, the check is skipped. Qualified electronic signatures and suggest edits also require Draft status; expiration can be updated after sending. Pass `expiration_date` for the real signing deadline. Expiration.* variables change printed text only. After creating a new document, wait for it to reach Draft status before updating its content. When content or properties and settings are combined, they are sent to separate APIs and are not atomic: content and property updates happen first and are not rolled back if the settings update fails. Only the parameters you pass are sent; the rest stay as they are. Returns a confirmation, not the updated document; read it back with `documents_details_get`.",
"inputSchema": {
"type": "object",
"required": [
"document_id"
],
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Document URL"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "New name for the document."
},
"tags": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"default": null,
"description": "Document tags"
},
"texts": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"data"
],
"properties": {
"data": {
"type": "string",
"description": "Text to place in the block; markdown is supported."
},
"name": {
"type": "string",
"description": "Name of the text block in the template."
}
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Text blocks that already exist in the document, filled by name. Never write a table here as markdown or pipe-delimited text: it renders as plain text."
},
"fields": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "object",
"required": [
"value"
],
"properties": {
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Recipient role the field is assigned to; must be a `role` in `recipients`."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "boolean"
}
],
"description": "Value to pre-fill the field with, typed by the field: a boolean for a checkbox, an RFC 3339 date such as `2019-12-31T00:00:00.000Z` for a date."
}
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Field values keyed by the field's `merge_field` as `documents_details_get` shows it, each `{value}`. A field without a `merge_field` can't be set here."
},
"images": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"urls"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the image block in the template."
},
"urls": {
"type": "array",
"items": {
"type": "string"
},
"description": "Publicly reachable URLs of the images to place in the block."
}
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Images to place in the document's image blocks."
},
"tables": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"sections"
],
"properties": {
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rows": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "Text shown in the cell."
},
"col_span": {
"type": "integer",
"default": 1,
"minimum": 0,
"description": "Number of columns the cell spans."
},
"row_span": {
"type": "integer",
"default": 1,
"minimum": 0,
"description": "Number of rows the cell spans."
}
}
}
},
"description": "Body rows of the section, each a list of cells."
},
"header": {
"type": "array",
"items": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "Text shown in the cell."
},
"col_span": {
"type": "integer",
"default": 1,
"minimum": 0,
"description": "Number of columns the cell spans."
},
"row_span": {
"type": "integer",
"default": 1,
"minimum": 0,
"description": "Number of rows the cell spans."
}
}
},
"description": "Header row of the section."
}
}
},
"minItems": 1,
"description": "Sections of the table, each a header row and body rows."
}
},
"description": "Content to fill the table with."
},
"name": {
"type": "string",
"description": "Name of the table block in the template."
}
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Tables that already exist in the document, filled by name. Cannot create a new table."
},
"tokens": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "Variable name, e.g. `Favorite.Pet`. System variables such as `Document.CreatedDate` are read-only."
},
"value": {
"type": "string",
"description": "Value to fill the variable with."
}
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Document tokens (variables) to fill, by name. Each should have a name and value. Expiration.* variables are printed text only and do not change the signing deadline."
},
"language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Document language as a supported locale code, for example `en-US`, `de-DE`, or `fr-FR`."
},
"recipients": {
"anyOf": [
{
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ID of an existing recipient, from `documents_details_get`. Pass it only to change that recipient."
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Role this recipient fills, e.g. `Signer`. `documents_update` does not apply it: a recipient with `id` keeps its role, and one without `id` is added as CC."
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Email address. Pass this or `phone`."
},
"phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Phone number in international format with the country code, e.g. `+14155550100`. Pass this or `email`."
},
"redirect": {
"anyOf": [
{
"type": "object",
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Page the recipient is sent to after completing the document."
},
"is_enabled": {
"type": "boolean",
"default": false,
"description": "Turns the redirect to `url` on."
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Where to send this recipient after they complete the document."
},
"last_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Last name; taken from the workspace contact if omitted."
},
"first_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "First name; taken from the workspace contact if omitted."
},
"signing_order": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Position in the signing sequence; numbers start at 1 with no gaps. Set it on every recipient and recipient group, CC recipients included, or on none. `null` on every recipient turns the signing order off."
},
"delivery_methods": {
"anyOf": [
{
"type": "object",
"properties": {
"sms": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Send the document link by SMS; needs a `phone`."
},
"email": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Send the document link by email."
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Channels the document link is sent through: `email`, `sms` or both. If you pass it, set at least one to true; `sms` needs the recipient's `phone`."
},
"verification_settings": {
"anyOf": [
{
"type": "object",
"properties": {},
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Identity check the recipient must pass: `verification_place` (`before_open`, or `before_sign` for a signer) plus exactly one of `passcode_verification: {passcode}`, `phone_verification: {phone_number}`, `email_otp_verification: {email}`, `kba_verification: {enabled: true}` or `id_verification: {enabled: true}`. A passcode is 6-100 characters without spaces, with at least one letter and one digit. `documents_update` does not apply it; set verification when the document is created."
}
}
},
{
"type": "object",
"required": [
"name",
"members"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the recipient group."
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Role the group fills."
},
"type": {
"type": "string",
"const": "recipient_group",
"default": "recipient_group",
"description": "Marks this entry as a group rather than a single recipient."
},
"members": {
"type": "array",
"items": {
"type": "object",
"properties": {
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Email address. Pass this or `phone`."
},
"phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Phone number in international format with the country code, e.g. `+14155550100`. Pass this or `email`."
},
"last_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Last name; taken from the workspace contact if omitted."
},
"first_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "First name; taken from the workspace contact if omitted."
}
}
},
"description": "People in the recipient group."
},
"signing_order": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Position in the signing sequence; numbers start at 1 with no gaps. Set it on every recipient and recipient group, CC recipients included, or on none."
}
}
}
]
}
},
{
"type": "null"
}
],
"default": null,
"description": "Recipients to change or add; recipients left out stay on the document. An entry with `id` from `documents_details_get` changes that recipient's email, name, phone, delivery methods or `signing_order`; its `role` stays. An entry without `id` must have an `email` and is added as CC whatever its `role`."
},
"document_id": {
"type": "string",
"description": "Document id, not its name. Take it from `documents_list`, `documents_search` or `documents_create`."
},
"suggest_edits": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Enable or disable recipient edit suggestions. Can only be changed while the document is in Draft status."
},
"pricing_tables": {
"anyOf": [
{
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"name",
"sections"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the pricing table block as it appears in the template."
},
"options": {
"anyOf": [
{
"type": "object",
"properties": {
"currency": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO 4217 currency code for the table, e.g. `USD`. Omit to keep the table's currency. A table that already exists in the template keeps its currency when a document is created from it; a different one is rejected, and so are products priced in another currency. On a document update, a different currency is rejected until the user confirms the change."
},
"discount": {
"anyOf": [
{
"type": "object",
"required": [
"name",
"type",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "Label shown for the discount."
},
"type": {
"enum": [
"absolute",
"percent"
],
"type": "string",
"description": "`percent` reads `value` as a percentage, `absolute` as a fixed amount."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Discount amount or percentage, as `type` says."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"default": null,
"description": "Discount applied to the table total."
},
"tax_first": {
"anyOf": [
{
"type": "object",
"required": [
"name",
"type",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "Label shown for the tax."
},
"type": {
"type": "string",
"const": "percent",
"description": "Unit of `value`."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Tax rate as a percentage, e.g. `8.5`."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"default": null,
"description": "First tax applied to the table total."
},
"tax_second": {
"anyOf": [
{
"type": "object",
"required": [
"name",
"type",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "Label shown for the tax."
},
"type": {
"type": "string",
"const": "percent",
"description": "Unit of `value`."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Tax rate as a percentage, e.g. `8.5`."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"default": null,
"description": "Second tax applied to the table total."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"default": null,
"description": "Currency, discount and taxes for the whole table."
},
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"default",
"rows"
],
"properties": {
"rows": {
"type": "array",
"items": {
"type": "object",
"required": [
"data",
"options"
],
"properties": {
"data": {
"type": "object",
"required": [
"qty"
],
"properties": {
"qty": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Number of units."
},
"sku": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "SKU of a catalog product. When it names one, row values you leave out, such as `name` and `price`, come from the catalog."
},
"cost": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "Value for the table's Cost column, separate from `price`."
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Product or service name. When omitted and `sku` names a catalog product, the catalog fills it in."
},
"price": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "Unit price. Leave out when `sku` names a catalog product: the catalog sets it, including the base price of a volume-priced product, and replaces any price sent for such a product. Never copy a price read from a document, it already has the volume pricing applied."
},
"tiers": {
"type": "array",
"items": {
"type": "object",
"required": [
"min_qty",
"value"
],
"properties": {
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Unit price from `min_qty` for `volume_based_price`; percent off `price` for `volume_based_discount_price`."
},
"min_qty": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Smallest whole quantity the tier applies from."
}
},
"additionalProperties": false
},
"maxItems": 50,
"description": "Up to 50 volume tiers, one of them with `min_qty` 1."
},
"images": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"required": [
"src"
],
"properties": {
"src": {
"type": "string",
"description": "Publicly reachable image URL."
}
},
"additionalProperties": false
}
},
{
"type": "null"
}
],
"default": null,
"description": "Images shown on the row."
},
"discount": {
"type": "object",
"required": [
"value",
"type"
],
"properties": {
"type": {
"type": "string",
"const": "percent",
"description": "Unit of `value`."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Percentage to apply, e.g. `10` for 10%."
}
},
"description": "Discount on this row.",
"additionalProperties": false
},
"tax_first": {
"type": "object",
"required": [
"value",
"type"
],
"properties": {
"type": {
"type": "string",
"const": "percent",
"description": "Unit of `value`."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Percentage to apply, e.g. `10` for 10%."
}
},
"description": "First tax on this row.",
"additionalProperties": false
},
"tax_second": {
"type": "object",
"required": [
"value",
"type"
],
"properties": {
"type": {
"type": "string",
"const": "percent",
"description": "Unit of `value`."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Percentage to apply, e.g. `10` for 10%."
}
},
"description": "Second tax on this row.",
"additionalProperties": false
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Description of the item."
},
"pricing_method": {
"anyOf": [
{
"enum": [
"volume_based_price",
"volume_based_discount_price"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Volume pricing of the row, set together with `tiers`. With `volume_based_discount_price`, `price` is the base price. Both come from the catalog when `sku` names a volume-priced product."
}
},
"description": "Values for one pricing table row.\n\nKeys are the column names below, spelled exactly like that, in lower case.\nThey are not the column titles shown in the template, and a column the\ntemplate adds has no key here: the API accepts only this set.\n\n``name`` and ``price`` may be left out when ``sku`` names a catalog\nproduct: they then come from the catalog.",
"additionalProperties": false
},
"options": {
"type": "object",
"properties": {
"optional": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Recipients can include or exclude this row."
},
"qty_editable": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Recipients can change this row's quantity."
},
"optional_selected": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Pre-selects an optional row. Only meaningful with ``optional``."
},
"multichoice_selected": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Pre-selects this row. Only allowed when the section sets ``multichoice_enabled``."
}
},
"description": "Send an empty object to accept the table's own defaults.",
"additionalProperties": false
},
"custom_fields": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Values for columns the template adds to the table, keyed by the table's `columns[].name` from `templates_details_get` or `documents_details_get`. A key with no matching column adds a new hidden column."
}
},
"additionalProperties": false
},
"description": "Line items in this section."
},
"title": {
"type": "string",
"description": "Heading of this group of rows; required and not blank, even when `default` is true."
},
"default": {
"type": "boolean",
"description": "Hides the section header when true. At most one section per table may set this to true."
},
"multichoice_enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Recipients pick one row out of this section. Its rows may then set ``multichoice_selected`` but not ``optional``."
}
},
"additionalProperties": false
},
"minItems": 1,
"description": "Groups of rows in the table."
},
"data_merge": {
"type": "boolean",
"const": false,
"default": false,
"description": "False selects the built-in row shape, keyed by the lower-case column names. Omit it for an ordinary table."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"data_merge",
"name",
"sections"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the pricing table block as it appears in the template."
},
"options": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "object",
"required": [
"name",
"type",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "Label shown for the discount."
},
"type": {
"enum": [
"absolute",
"percent"
],
"type": "string",
"description": "`percent` reads `value` as a percentage, `absolute` as a fixed amount."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Discount amount or percentage, as `type` says."
}
},
"additionalProperties": false
}
]
}
},
{
"type": "null"
}
],
"default": null,
"description": "Table-level options: ``currency``, which must match the template table's own currency when a document is created from it, and needs the user's confirmation to change on a document update (a different one is rejected otherwise), or an adjustment keyed by its external column name and carrying ``{name, type: \"absolute\" | \"percent\", value}``."
},
"sections": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"default",
"rows"
],
"properties": {
"rows": {
"type": "array",
"items": {
"type": "object",
"required": [
"data",
"options"
],
"properties": {
"data": {
"type": "object",
"description": "Row values keyed by the linked data source's external column names — the ``merge_name`` reported for each of the table's ``columns`` in ``templates_details_get`` — not by the built-in lower-case names. A key the table's columns do not list is silently ignored upstream, so a typo in one disappears without an error. A missing value for a column the source maps to the table's name, price or qty columns fails; an adjustment column takes ``{value, type: \"percent\" | \"flat\"}``.",
"minProperties": 1,
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "object",
"required": [
"value",
"type"
],
"properties": {
"type": {
"enum": [
"percent",
"flat"
],
"type": "string",
"description": "`percent` reads `value` as a percentage, `flat` as a fixed amount."
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
],
"description": "Adjustment amount or percentage, as `type` says."
}
},
"description": "An adjustment value in a data-merge row, keyed by its column name.",
"additionalProperties": false
},
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "number"
}
]
}
}
}
]
}
},
"options": {
"type": "object",
"properties": {
"optional": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Recipients can include or exclude this row."
},
"qty_editable": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Recipients can change this row's quantity."
},
"optional_selected": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Pre-selects an optional row. Only meaningful with ``optional``."
},
"multichoice_selected": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Pre-selects this row. Only allowed when the section sets ``multichoice_enabled``."
}
},
"description": "Send an empty object to accept the table's own defaults.",
"additionalProperties": false
},
"custom_fields": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Values for columns the template adds to the table, keyed by the table's `columns[].name` from `templates_details_get` or `documents_details_get`. A key with no matching column adds a new hidden column."
}
},
"description": "One row of a pricing table populated from a linked data source.",
"additionalProperties": false
},
"description": "Line items in this section."
},
"title": {
"type": "string",
"description": "Heading of this group of rows; required and not blank, even when `default` is true."
},
"default": {
"type": "boolean",
"description": "Hides the section header when true. At most one section per table may set this to true."
},
"multichoice_enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Recipients pick one row out of this section. Its rows may then set ``multichoice_selected`` but not ``optional``."
}
},
"additionalProperties": false
},
"minItems": 1,
"description": "Groups of rows in the table."
},
"data_merge": {
"type": "boolean",
"const": true,
"description": "True selects the linked-data-source row shape, keyed by the table's ``merge_name`` column names. Use it only for a table that has data merge turned on in the template; any other table rejects it."
}
},
"description": "A pricing table populated from its linked data source's columns.\n\nUse this variant when the table's ``templates_details_get`` details\nreport ``data_merge_enabled: true``. Row values are keyed by the\nexternal column names of the linked data source, given by ``merge_name``\non each of the table's ``columns``. The built-in lower-case names do not\napply to this variant.",
"additionalProperties": false
}
]
}
},
{
"type": "null"
}
],
"default": null,
"description": "Pricing tables to populate by name. For a table whose ``templates_details_get`` details report ``data_merge_enabled: true``, send the ``data_merge: true`` variant instead, with row values keyed by the table's ``merge_name`` column names."
},
"expiration_date": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
],
"default": null,
"description": "Real signing expiration date in YYYY-MM-DD format. For a sent document, the saved interval is calculated from its original send date. For a Draft, it is calculated from today and remains relative to the day the document is eventually sent, so set it immediately before sending."
},
"confirm_currency_change": {
"type": "boolean",
"default": false,
"description": "Set to true only after the user confirmed changing a pricing table's currency. Without it, a `pricing_tables` entry whose currency differs from the document's table is rejected and nothing is updated."
},
"qualified_electronic_signature": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "Enable or disable qualified electronic signatures. Can only be changed while the document is in Draft status and enabling requires at least one individual signer and no recipient groups. Enabling automatically turns on signing order, places every recipient in a separate sequential signing step (reordering recipients that shared an order), and disables signature forwarding with reassignment. Disabling does not restore the previous signing order or forwarding setting."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "DocumentUpdateStructuredContent",
"required": [
"updated",
"document_id"
],
"properties": {
"updated": {
"type": "boolean",
"const": true,
"title": "Updated"
},
"language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Language",
"default": null,
"description": "Document language, when it was updated."
},
"warnings": {
"type": "array",
"items": {
"type": "string"
},
"title": "Warnings",
"description": "Important limits of the update that the user must be told about."
},
"document_id": {
"type": "string",
"title": "Document Id"
},
"suggest_edits": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Suggest Edits",
"default": null,
"description": "Whether recipients can suggest edits, when updated."
},
"expiration_date": {
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
],
"title": "Expiration Date",
"default": null,
"description": "Requested signing expiration date, when it was updated."
},
"expires_in_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Expires In Days",
"default": null,
"description": "Expiration interval saved in document settings."
},
"effective_expiration_at": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
],
"title": "Effective Expiration At",
"default": null,
"description": "Effective signing deadline for a sent document, or null while it is Draft."
},
"qualified_electronic_signature": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Qualified Electronic Signature",
"default": null,
"description": "Whether qualified electronic signatures are enabled after the update. This setting can only be changed while the document is in Draft status. Enabling requires at least one individual signer and no recipient groups. It automatically turns on signing order, places every recipient in a separate sequential signing step (reordering recipients that shared an order), and disables signature forwarding with reassignment. Disabling does not restore the previous signing order or forwarding setting."
}
},
"description": "``documents_update``—confirmation payload for update calls.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description87/100
Manually change a document's status. Confirm the new status with the user before calling.
Supported target statuses: Draft, Completed, Paid, Expired, Declined. Statuses such as Sent, Viewed, and Approved are set automatically by the system and cannot be set with this tool.
Draft:
- First use read-only tools to find the document and check its current status. The initial request to revert is not confirmation of its destructive effects. Before asking for confirmation, explain that signatures, initials, stamps and auto-filled dates will be cleared, any scheduled send cancelled, and signing will require resending. Other filled field values are preserved and recipients are not notified. Ask for explicit confirmation of these effects and do not call this tool until the user confirms in a subsequent reply. Read-only lookups do not require that confirmation.
- Supported unless the document is already Draft or has been archived or deleted (Removed), subject to document permissions and editing locks.
- Omit note and leave notify_recipients=false.
- After moving to Draft, recipient ids may change; read the document again with documents_details_get before editing recipients or assigning fields.
Other manual statuses (Completed, Paid, Expired, Declined):
Transitions are restricted based on the current document status. The change collects no signatures and processes no payment. Setting Paid needs a connected payment app.
Explain mutations, irreversible effects, or prerequisites that matter before calling this tool.
Inputs88/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
document_id
Document id, not its name. Take it from `documents_list`, `documents_search` or `documents_create`.
{
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "DocumentStatusChangeStructuredContent",
"required": [
"changed",
"document_id",
"status"
],
"properties": {
"status": {
"type": "string",
"title": "Status",
"description": "Label for the new status (Draft, Completed, Paid, Expired, Declined)."
},
"changed": {
"type": "boolean",
"const": true,
"title": "Changed"
},
"document_id": {
"type": "string",
"title": "Document Id"
}
},
"description": "``documents_status_change`` — confirmation after manual status change.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
}
Original tool metadata
{
"name": "documents_status_change",
"title": "Change document status",
"description": "Manually change a document's status. Confirm the new status with the user before calling.\n\nSupported target statuses: Draft, Completed, Paid, Expired, Declined. Statuses such as Sent, Viewed, and Approved are set automatically by the system and cannot be set with this tool.\n\nDraft:\n- First use read-only tools to find the document and check its current status. The initial request to revert is not confirmation of its destructive effects. Before asking for confirmation, explain that signatures, initials, stamps and auto-filled dates will be cleared, any scheduled send cancelled, and signing will require resending. Other filled field values are preserved and recipients are not notified. Ask for explicit confirmation of these effects and do not call this tool until the user confirms in a subsequent reply. Read-only lookups do not require that confirmation.\n- Supported unless the document is already Draft or has been archived or deleted (Removed), subject to document permissions and editing locks.\n- Omit note and leave notify_recipients=false.\n- After moving to Draft, recipient ids may change; read the document again with documents_details_get before editing recipients or assigning fields.\n\nOther manual statuses (Completed, Paid, Expired, Declined):\nTransitions are restricted based on the current document status. The change collects no signatures and processes no payment. Setting Paid needs a connected payment app.",
"inputSchema": {
"type": "object",
"required": [
"document_id",
"status"
],
"properties": {
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Private note about the manual status change. Omit for Draft."
},
"status": {
"type": "string",
"description": "Target status. Valid values: Draft, Completed, Paid, Expired, Declined. Case-insensitive; surrounding whitespace is ignored."
},
"document_id": {
"type": "string",
"description": "Document id, not its name. Take it from `documents_list`, `documents_search` or `documents_create`."
},
"notify_recipients": {
"type": "boolean",
"default": false,
"description": "Email every recipient about the status change. Must be false for Draft."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "DocumentStatusChangeStructuredContent",
"required": [
"changed",
"document_id",
"status"
],
"properties": {
"status": {
"type": "string",
"title": "Status",
"description": "Label for the new status (Draft, Completed, Paid, Expired, Declined)."
},
"changed": {
"type": "boolean",
"const": true,
"title": "Changed"
},
"document_id": {
"type": "string",
"title": "Document Id"
}
},
"description": "``documents_status_change`` — confirmation after manual status change.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description95/100
Send a document to its recipients. The document must be in Draft status. After sending, the status changes to Sent and recipients receive a notification. Recipients are sent the link by the workspace's default delivery method. If a recipient is set to SMS without a phone number, nothing is sent and `SMS_DELIVERY_UNAVAILABLE` lists them: ask the user whether to add a phone number or send by email, then retry with fallback_to_email=true to switch them to email. The switch stays on the document and is listed in `delivery_switched_to_email`. Use skip_unfilled_variables to send even when some variables are empty. The tool refuses to send while any field is unassigned. A role-based template field with no signer for its role counts as unassigned, for example when the document has only CC recipients. Pass selected_approvers only if documents_details_get shows an `approval_execution`; if absent, send without it. Always confirm with the user before sending.
The description explains the capability, when to use it, and what to expect.
Inputs92/100
Input documentation gives an agent enough context to populate the arguments.
document_id
Document id, not its name. Take it from `documents_list`, `documents_search` or `documents_create`.
Clear enough to supply this argument.
message
A message that will be sent by email with a link to the document to sign.
Clear enough to supply this argument.
subject
Subject line of the email that carries the document link to recipients.
Clear enough to supply this argument.
silent
If true, disables email notifications for document recipients and the sender. Also disables scheduled reminders. Does not affect 'Approve document' email notification.
Clear enough to supply this argument.
sender › anyOf › 0 › email
Email of the workspace member to send as. Pass this or `membership_id`.
Clear enough to supply this argument.
sender › anyOf › 0 › membership_id
Workspace membership id of the member to send as. Pass this or `email`.
True for the approver who should approve this step.
Clear enough to supply this argument.
skip_unfilled_variables
When false, the tool first checks the document's variables and, if any is empty, returns a `DOCUMENT_HAS_UNFILLED_VARIABLES` error listing them instead of sending. System variables such as `Document.SentDate`, which PandaDoc fills on send, are not checked. Set true only when the user has explicitly chosen to send with empty variables.
Clear enough to supply this argument.
fallback_to_email
Set true only when the user has agreed to send by email to recipients whose SMS delivery has no phone number. Those recipients are switched to email delivery before the send.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description99/100
Retrieve only the overall document status (e.g. Draft, Sent, Completed, Expired); returns just id and status. Some statuses are set automatically by the system: Sent (when the document is sent), Viewed (when a recipient opens it), Approved/Rejected (via approval workflows). Does not return recipients, fields or any other document content. For recipients (names, emails, roles, per-recipient signing progress) use documents_details_get. Right after creating a document it may still be processing — if so, wait briefly and check again before acting.
The description explains the capability, when to use it, and what to expect.
Inputs98/100
Input documentation gives an agent enough context to populate the arguments.
document_id
Document id, not its name. Take it from `documents_list`, `documents_search` or `documents_create`.
{
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "DocumentStatusGetStructuredContent",
"required": [
"id",
"status"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"status": {
"type": "string",
"title": "Status",
"description": "Document status (e.g. Draft, Sent, Completed)."
}
},
"description": "``documents_status_get`` — slim status payload.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
}
Original tool metadata
{
"name": "documents_status_get",
"title": "Get document status",
"description": "Retrieve only the overall document status (e.g. Draft, Sent, Completed, Expired); returns just id and status. Some statuses are set automatically by the system: Sent (when the document is sent), Viewed (when a recipient opens it), Approved/Rejected (via approval workflows). Does not return recipients, fields or any other document content. For recipients (names, emails, roles, per-recipient signing progress) use documents_details_get. Right after creating a document it may still be processing — if so, wait briefly and check again before acting.",
"inputSchema": {
"type": "object",
"required": [
"document_id"
],
"properties": {
"document_id": {
"type": "string",
"description": "Document id, not its name. Take it from `documents_list`, `documents_search` or `documents_create`."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "DocumentStatusGetStructuredContent",
"required": [
"id",
"status"
],
"properties": {
"id": {
"type": "string",
"title": "Id"
},
"status": {
"type": "string",
"title": "Status",
"description": "Document status (e.g. Draft, Sent, Completed)."
}
},
"description": "``documents_status_get`` — slim status payload.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description97/100
Retrieve a document's full structure by document_id. Use this to see who the recipients are (names, emails, roles, signing progress), and to read fields, variables, tokens, tags, pricing/grand total, linked objects, name, status, dates, including the effective signing deadline in `expiration_date`, version, reference number, creator and template. Also use it to inspect a document before acting on it. Recipients carry `recipient_type` (signer, CC, approver) and, when the person is a workspace contact, the `contact_id` the contact tools take. Does not return extracted metadata — use `documents_metadata_batch_get` for that; for the overall status only, use `documents_status_get`.
The description explains the capability, when to use it, and what to expect.
Inputs99/100
Input documentation gives an agent enough context to populate the arguments.
document_id
Document id, not its name. Take it from `documents_list`, `documents_search` or `documents_create`.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description92/100
Returns a summary for the specified document. Supports three granularity levels: detailed, short, or headline. If not ready, returns `{retry_after: N}` where N is seconds to wait before retrying.
The description explains the capability, when to use it, and what to expect.
Inputs81/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
document_id
Document id, not its name. Take it from `documents_list`, `documents_search` or `documents_create`.
Clear enough to supply this argument.
summary_type
How detailed the summary is.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description92/100
Returns the textual content of a document in plaintext or markdown format. If the content is not ready, returns `{retry_after: N}` where N is seconds to wait before retrying.
The description explains the capability, when to use it, and what to expect.
Inputs88/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
document_id
Document id, not its name. Take it from `documents_list`, `documents_search` or `documents_create`.
Clear enough to supply this argument.
content_format
`markdown` returns the text with its structure as markdown; `plaintext` returns the text alone.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
{
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "DocumentContentToolStructuredContent",
"required": [
"format",
"body"
],
"properties": {
"body": {
"type": "string",
"title": "Body",
"description": "Document body as plaintext or markdown (see ``format``)."
},
"etag": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Etag",
"default": null,
"description": "Opaque version identifier for the returned content."
},
"format": {
"enum": [
"plaintext",
"markdown"
],
"type": "string",
"title": "DocumentContentFormat",
"description": "Document content format types."
}
},
"description": "MCP payload for ``documents_content_get``.\n\nUses ``body`` instead of ``content`` so JSON Schema validation does not mix up\nthis string with MCP ``CallToolResult.content`` (an array of content blocks).",
"additionalProperties": false
},
{
"type": "object",
"title": "NotReadyResponse",
"required": [
"retry_after"
],
"properties": {
"retry_after": {
"type": "integer",
"title": "Retry After",
"description": "Seconds the client should wait before retrying the request."
}
},
"description": "Not-ready hint: the requested resource is still being generated.\n\nReturned when the requested resource is not available yet and\nthe client should retry after the indicated number of seconds."
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Document content on success, or a not-ready hint (`retry_after` seconds) when the content is still being generated. Other failures surface as a standard tool error."
}
},
"description": "Document content on success, or a not-ready hint (`retry_after` seconds) when the content is still being generated. Other failures surface as a standard tool error. The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
}
Original tool metadata
{
"name": "documents_content_get",
"title": "Get document content",
"description": "Returns the textual content of a document in plaintext or markdown format. If the content is not ready, returns `{retry_after: N}` where N is seconds to wait before retrying.",
"inputSchema": {
"type": "object",
"required": [
"document_id",
"content_format"
],
"properties": {
"document_id": {
"type": "string",
"description": "Document id, not its name. Take it from `documents_list`, `documents_search` or `documents_create`."
},
"content_format": {
"enum": [
"plaintext",
"markdown"
],
"type": "string",
"description": "`markdown` returns the text with its structure as markdown; `plaintext` returns the text alone."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "DocumentContentToolStructuredContent",
"required": [
"format",
"body"
],
"properties": {
"body": {
"type": "string",
"title": "Body",
"description": "Document body as plaintext or markdown (see ``format``)."
},
"etag": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Etag",
"default": null,
"description": "Opaque version identifier for the returned content."
},
"format": {
"enum": [
"plaintext",
"markdown"
],
"type": "string",
"title": "DocumentContentFormat",
"description": "Document content format types."
}
},
"description": "MCP payload for ``documents_content_get``.\n\nUses ``body`` instead of ``content`` so JSON Schema validation does not mix up\nthis string with MCP ``CallToolResult.content`` (an array of content blocks).",
"additionalProperties": false
},
{
"type": "object",
"title": "NotReadyResponse",
"required": [
"retry_after"
],
"properties": {
"retry_after": {
"type": "integer",
"title": "Retry After",
"description": "Seconds the client should wait before retrying the request."
}
},
"description": "Not-ready hint: the requested resource is still being generated.\n\nReturned when the requested resource is not available yet and\nthe client should retry after the indicated number of seconds."
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Document content on success, or a not-ready hint (`retry_after` seconds) when the content is still being generated. Other failures surface as a standard tool error."
}
},
"description": "Document content on success, or a not-ready hint (`retry_after` seconds) when the content is still being generated. Other failures surface as a standard tool error. The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description98/100
Use to read the business terms extracted from documents — counterparty, contract value, dates, renewal terms — without fetching and re-reading their full text. Handles 1-40 documents per call, so pass a one-element `document_ids` for a single one. Narrow the response with `field_keys` when only certain terms matter. Extraction generally runs once a document is completed, so a document still being worked on may have nothing to return yet. Each document reports its own outcome, so one failure does not lose the rest: `ok` carries that document's fields, `extraction_pending` should be retried after `retry_after` seconds, `extraction_not_started` means the document is not completed yet, `extraction_failed` is terminal (contact support), `not_found` and `access_denied` mean the document cannot be read, and `internal_error` is safe to retry for that document alone.
The description explains the capability, when to use it, and what to expect.
Inputs88/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
document_ids
IDs of the documents to read metadata for, from `documents_list` or `documents_search`. List each document once; the server rejects duplicates.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
field_keys
Optional case-sensitive filter on metadata field `key` (the human-readable field name returned as `results[].ai_metadata.results[].key`, e.g. `Contract value`). Unknown keys are silently ignored. When omitted, every populated field is returned per document.
{
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "AgentBatchAIMetadataResponse",
"required": [
"count"
],
"properties": {
"count": {
"type": "integer",
"title": "Count",
"minimum": 0,
"description": "Number of entries in `results`. Equal to the number of documents requested."
},
"results": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"title": "AgentBatchAIMetadataResultOk",
"required": [
"document_id",
"ai_metadata",
"status"
],
"properties": {
"status": {
"type": "string",
"const": "ok",
"title": "Status",
"default": "ok",
"description": "Discriminator for the success branch."
},
"ai_metadata": {
"type": "object",
"title": "AgentAIMetadataResponse",
"required": [
"count"
],
"properties": {
"count": {
"type": "integer",
"title": "Count",
"minimum": 0,
"description": "Total number of metadata fields available for the document across all pages."
},
"results": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"title": "AgentAICurrencyMetadataField",
"required": [
"key",
"field_type"
],
"properties": {
"key": {
"type": "string",
"title": "Key",
"description": "Field name, e.g. `Counterparty name`. This is the value to pass in `field_keys` to request this field again."
},
"value": {
"anyOf": [
{
"type": "object",
"title": "AIMetadataValue",
"required": [
"value",
"acceptance_status"
],
"properties": {
"value": {
"type": "string",
"title": "Value",
"description": "Extracted or entered value, serialised as a string. Interpretation depends on the parent field's ``field_type``."
},
"acceptance_status": {
"type": "string",
"title": "Acceptance Status",
"description": "Acceptance state of this value. Public spec values are ``pending`` and ``accepted``"
}
},
"description": "Extracted value for a metadata field on a document."
},
{
"type": "null"
}
],
"default": null,
"description": "Extracted value for this field on the document. Omitted when no value has been extracted."
},
"field_type": {
"type": "string",
"const": "currency",
"title": "Field Type"
},
"currency_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Currency Code",
"default": null,
"description": "Currency that `value` is denominated in, e.g. `USD`. Omitted when the workspace default currency applies."
}
},
"description": "A monetary field, whose `value` is an amount with no currency symbol.",
"additionalProperties": false
},
{
"type": "object",
"title": "AgentAIDurationMetadataField",
"required": [
"key",
"field_type"
],
"properties": {
"key": {
"type": "string",
"title": "Key",
"description": "Field name, e.g. `Counterparty name`. This is the value to pass in `field_keys` to request this field again."
},
"value": {
"anyOf": [
{
"type": "object",
"title": "AIMetadataValue",
"required": [
"value",
"acceptance_status"
],
"properties": {
"value": {
"type": "string",
"title": "Value",
"description": "Extracted or entered value, serialised as a string. Interpretation depends on the parent field's ``field_type``."
},
"acceptance_status": {
"type": "string",
"title": "Acceptance Status",
"description": "Acceptance state of this value. Public spec values are ``pending`` and ``accepted``"
}
},
"description": "Extracted value for a metadata field on a document."
},
{
"type": "null"
}
],
"default": null,
"description": "Extracted value for this field on the document. Omitted when no value has been extracted."
},
"period": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Period",
"default": null,
"description": "Unit that `value` is counted in, e.g. `months`. Omitted when upstream did not record one."
},
"field_type": {
"type": "string",
"const": "duration",
"title": "Field Type"
}
},
"description": "A length-of-time field, whose `value` is a magnitude with no unit.",
"additionalProperties": false
},
{
"type": "object",
"title": "AgentAIMetadataField",
"required": [
"key",
"field_type"
],
"properties": {
"key": {
"type": "string",
"title": "Key",
"description": "Field name, e.g. `Counterparty name`. This is the value to pass in `field_keys` to request this field again."
},
"value": {
"anyOf": [
{
"type": "object",
"title": "AIMetadataValue",
"required": [
"value",
"acceptance_status"
],
"properties": {
"value": {
"type": "string",
"title": "Value",
"description": "Extracted or entered value, serialised as a string. Interpretation depends on the parent field's ``field_type``."
},
"acceptance_status": {
"type": "string",
"title": "Acceptance Status",
"description": "Acceptance state of this value. Public spec values are ``pending`` and ``accepted``"
}
},
"description": "Extracted value for a metadata field on a document."
},
{
"type": "null"
}
],
"default": null,
"description": "Extracted value for this field on the document. Omitted when no value has been extracted."
},
"field_type": {
"type": "string",
"title": "Field Type",
"description": "Data type of the field. Values usually include `single_line`, `multi_line`, `date`, `number`, `dropdown`, `checkbox`, `url`, `percent`, `signature_info`."
}
},
"description": "One metadata field on a document, with its extracted value.\n\nCarries the value plus only the configuration needed to read that value\ncorrectly. Field-definition internals are not returned — selectable option\nlists, placeholder text and selection-mode flags describe how the field is\nfilled in, which nothing here can do.",
"additionalProperties": false
}
]
},
"title": "Results",
"description": "Metadata fields populated for the document."
}
},
"description": "Metadata fields populated for this document.",
"additionalProperties": false
},
"document_id": {
"type": "string",
"title": "Document Id",
"description": "The document this result corresponds to."
}
},
"description": "Per-document entry carrying that document's populated metadata.",
"additionalProperties": false
},
{
"type": "object",
"title": "BatchAIMetadataResultExtractionPending",
"required": [
"document_id",
"retry_after",
"description",
"status"
],
"properties": {
"status": {
"type": "string",
"const": "extraction_pending",
"title": "Status",
"default": "extraction_pending",
"description": "Discriminator for the in-progress branch."
},
"description": {
"type": "string",
"title": "Description",
"description": "Human-readable explanation of the current state."
},
"document_id": {
"type": "string",
"title": "Document Id",
"description": "The document this result corresponds to."
},
"retry_after": {
"type": "integer",
"title": "Retry After",
"minimum": 1,
"description": "Seconds the client should wait before retrying this document."
}
},
"description": "Extraction is still in progress for this document."
},
{
"type": "object",
"title": "BatchAIMetadataResultExtractionFailed",
"required": [
"document_id",
"description",
"status"
],
"properties": {
"status": {
"type": "string",
"const": "extraction_failed",
"title": "Status",
"default": "extraction_failed",
"description": "Discriminator for the terminal-failure branch."
},
"description": {
"type": "string",
"title": "Description",
"description": "Human-readable explanation. Retrying will not help — contact support."
},
"document_id": {
"type": "string",
"title": "Document Id",
"description": "The document this result corresponds to."
}
},
"description": "Terminal extraction failure for this document."
},
{
"type": "object",
"title": "BatchAIMetadataResultExtractionNotStarted",
"required": [
"document_id",
"description",
"status"
],
"properties": {
"status": {
"type": "string",
"const": "extraction_not_started",
"title": "Status",
"default": "extraction_not_started",
"description": "Discriminator for the not-started branch."
},
"description": {
"type": "string",
"title": "Description",
"description": "Human-readable explanation, typically because the document is not yet completed."
},
"document_id": {
"type": "string",
"title": "Document Id",
"description": "The document this result corresponds to."
}
},
"description": "Extraction has not been triggered for this document yet."
},
{
"type": "object",
"title": "BatchAIMetadataResultNotFound",
"required": [
"document_id",
"description",
"status"
],
"properties": {
"status": {
"type": "string",
"const": "not_found",
"title": "Status",
"default": "not_found",
"description": "Discriminator for the missing-document branch."
},
"description": {
"type": "string",
"title": "Description",
"description": "Human-readable explanation."
},
"document_id": {
"type": "string",
"title": "Document Id",
"description": "The document this result corresponds to."
}
},
"description": "The document does not exist or has been deleted."
},
{
"type": "object",
"title": "BatchAIMetadataResultAccessDenied",
"required": [
"document_id",
"description",
"status"
],
"properties": {
"status": {
"type": "string",
"const": "access_denied",
"title": "Status",
"default": "access_denied",
"description": "Discriminator for the per-document permission-denied branch."
},
"description": {
"type": "string",
"title": "Description",
"description": "Human-readable explanation."
},
"document_id": {
"type": "string",
"title": "Document Id",
"description": "The document this result corresponds to."
}
},
"description": "Caller is authenticated but cannot access this specific document."
},
{
"type": "object",
"title": "BatchAIMetadataResultInternalError",
"required": [
"document_id",
"description",
"status"
],
"properties": {
"status": {
"type": "string",
"const": "internal_error",
"title": "Status",
"default": "internal_error",
"description": "Discriminator for the per-document internal-error branch."
},
"description": {
"type": "string",
"title": "Description",
"description": "Human-readable explanation."
},
"document_id": {
"type": "string",
"title": "Document Id",
"description": "The document this result corresponds to."
}
},
"description": "Isolated server-side failure for this single document.\n\nThe request as a whole succeeded; retrying the affected document\n(alone or in a smaller batch) is safe."
}
]
},
"title": "Results",
"description": "Per-document outcomes, in the same order as the requested documents. Each entry's shape is selected by its `status`."
}
},
"description": "Per-document metadata outcomes for a batch of documents.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Batch metadata for up to 40 documents in a single call. Returns `{count, results[]}` where each entry is keyed by `document_id` and discriminated by `status`: `ok` carries the populated metadata; `extraction_pending` carries `retry_after` seconds; `extraction_failed` is terminal (contact support); `extraction_not_started` typically means the document is not yet completed; `not_found` and `access_denied` are per-document gating outcomes; `internal_error` is an isolated per-document failure that is safe to retry on its own. Whole-request failures (validation, auth, rate limit, …) surface as a standard tool error."
}
},
"description": "Batch metadata for up to 40 documents in a single call. Returns `{count, results[]}` where each entry is keyed by `document_id` and discriminated by `status`: `ok` carries the populated metadata; `extraction_pending` carries `retry_after` seconds; `extraction_failed` is terminal (contact support); `extraction_not_started` typically means the document is not yet completed; `not_found` and `access_denied` are per-document gating outcomes; `internal_error` is an isolated per-document failure that is safe to retry on its own. Whole-request failures (validation, auth, rate limit, …) surface as a standard tool error. The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
}
Original tool metadata
{
"name": "documents_metadata_batch_get",
"title": "Batch get document metadata",
"description": "Use to read the business terms extracted from documents — counterparty, contract value, dates, renewal terms — without fetching and re-reading their full text. Handles 1-40 documents per call, so pass a one-element `document_ids` for a single one. Narrow the response with `field_keys` when only certain terms matter. Extraction generally runs once a document is completed, so a document still being worked on may have nothing to return yet. Each document reports its own outcome, so one failure does not lose the rest: `ok` carries that document's fields, `extraction_pending` should be retried after `retry_after` seconds, `extraction_not_started` means the document is not completed yet, `extraction_failed` is terminal (contact support), `not_found` and `access_denied` mean the document cannot be read, and `internal_error` is safe to retry for that document alone.",
"inputSchema": {
"type": "object",
"required": [
"document_ids"
],
"properties": {
"field_keys": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
},
"maxItems": 150,
"minItems": 1
},
{
"type": "null"
}
],
"default": null,
"description": "Optional case-sensitive filter on metadata field `key` (the human-readable field name returned as `results[].ai_metadata.results[].key`, e.g. `Contract value`). Unknown keys are silently ignored. When omitted, every populated field is returned per document."
},
"document_ids": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 40,
"minItems": 1,
"description": "IDs of the documents to read metadata for, from `documents_list` or `documents_search`. List each document once; the server rejects duplicates."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "AgentBatchAIMetadataResponse",
"required": [
"count"
],
"properties": {
"count": {
"type": "integer",
"title": "Count",
"minimum": 0,
"description": "Number of entries in `results`. Equal to the number of documents requested."
},
"results": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"title": "AgentBatchAIMetadataResultOk",
"required": [
"document_id",
"ai_metadata",
"status"
],
"properties": {
"status": {
"type": "string",
"const": "ok",
"title": "Status",
"default": "ok",
"description": "Discriminator for the success branch."
},
"ai_metadata": {
"type": "object",
"title": "AgentAIMetadataResponse",
"required": [
"count"
],
"properties": {
"count": {
"type": "integer",
"title": "Count",
"minimum": 0,
"description": "Total number of metadata fields available for the document across all pages."
},
"results": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"title": "AgentAICurrencyMetadataField",
"required": [
"key",
"field_type"
],
"properties": {
"key": {
"type": "string",
"title": "Key",
"description": "Field name, e.g. `Counterparty name`. This is the value to pass in `field_keys` to request this field again."
},
"value": {
"anyOf": [
{
"type": "object",
"title": "AIMetadataValue",
"required": [
"value",
"acceptance_status"
],
"properties": {
"value": {
"type": "string",
"title": "Value",
"description": "Extracted or entered value, serialised as a string. Interpretation depends on the parent field's ``field_type``."
},
"acceptance_status": {
"type": "string",
"title": "Acceptance Status",
"description": "Acceptance state of this value. Public spec values are ``pending`` and ``accepted``"
}
},
"description": "Extracted value for a metadata field on a document."
},
{
"type": "null"
}
],
"default": null,
"description": "Extracted value for this field on the document. Omitted when no value has been extracted."
},
"field_type": {
"type": "string",
"const": "currency",
"title": "Field Type"
},
"currency_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Currency Code",
"default": null,
"description": "Currency that `value` is denominated in, e.g. `USD`. Omitted when the workspace default currency applies."
}
},
"description": "A monetary field, whose `value` is an amount with no currency symbol.",
"additionalProperties": false
},
{
"type": "object",
"title": "AgentAIDurationMetadataField",
"required": [
"key",
"field_type"
],
"properties": {
"key": {
"type": "string",
"title": "Key",
"description": "Field name, e.g. `Counterparty name`. This is the value to pass in `field_keys` to request this field again."
},
"value": {
"anyOf": [
{
"type": "object",
"title": "AIMetadataValue",
"required": [
"value",
"acceptance_status"
],
"properties": {
"value": {
"type": "string",
"title": "Value",
"description": "Extracted or entered value, serialised as a string. Interpretation depends on the parent field's ``field_type``."
},
"acceptance_status": {
"type": "string",
"title": "Acceptance Status",
"description": "Acceptance state of this value. Public spec values are ``pending`` and ``accepted``"
}
},
"description": "Extracted value for a metadata field on a document."
},
{
"type": "null"
}
],
"default": null,
"description": "Extracted value for this field on the document. Omitted when no value has been extracted."
},
"period": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Period",
"default": null,
"description": "Unit that `value` is counted in, e.g. `months`. Omitted when upstream did not record one."
},
"field_type": {
"type": "string",
"const": "duration",
"title": "Field Type"
}
},
"description": "A length-of-time field, whose `value` is a magnitude with no unit.",
"additionalProperties": false
},
{
"type": "object",
"title": "AgentAIMetadataField",
"required": [
"key",
"field_type"
],
"properties": {
"key": {
"type": "string",
"title": "Key",
"description": "Field name, e.g. `Counterparty name`. This is the value to pass in `field_keys` to request this field again."
},
"value": {
"anyOf": [
{
"type": "object",
"title": "AIMetadataValue",
"required": [
"value",
"acceptance_status"
],
"properties": {
"value": {
"type": "string",
"title": "Value",
"description": "Extracted or entered value, serialised as a string. Interpretation depends on the parent field's ``field_type``."
},
"acceptance_status": {
"type": "string",
"title": "Acceptance Status",
"description": "Acceptance state of this value. Public spec values are ``pending`` and ``accepted``"
}
},
"description": "Extracted value for a metadata field on a document."
},
{
"type": "null"
}
],
"default": null,
"description": "Extracted value for this field on the document. Omitted when no value has been extracted."
},
"field_type": {
"type": "string",
"title": "Field Type",
"description": "Data type of the field. Values usually include `single_line`, `multi_line`, `date`, `number`, `dropdown`, `checkbox`, `url`, `percent`, `signature_info`."
}
},
"description": "One metadata field on a document, with its extracted value.\n\nCarries the value plus only the configuration needed to read that value\ncorrectly. Field-definition internals are not returned — selectable option\nlists, placeholder text and selection-mode flags describe how the field is\nfilled in, which nothing here can do.",
"additionalProperties": false
}
]
},
"title": "Results",
"description": "Metadata fields populated for the document."
}
},
"description": "Metadata fields populated for this document.",
"additionalProperties": false
},
"document_id": {
"type": "string",
"title": "Document Id",
"description": "The document this result corresponds to."
}
},
"description": "Per-document entry carrying that document's populated metadata.",
"additionalProperties": false
},
{
"type": "object",
"title": "BatchAIMetadataResultExtractionPending",
"required": [
"document_id",
"retry_after",
"description",
"status"
],
"properties": {
"status": {
"type": "string",
"const": "extraction_pending",
"title": "Status",
"default": "extraction_pending",
"description": "Discriminator for the in-progress branch."
},
"description": {
"type": "string",
"title": "Description",
"description": "Human-readable explanation of the current state."
},
"document_id": {
"type": "string",
"title": "Document Id",
"description": "The document this result corresponds to."
},
"retry_after": {
"type": "integer",
"title": "Retry After",
"minimum": 1,
"description": "Seconds the client should wait before retrying this document."
}
},
"description": "Extraction is still in progress for this document."
},
{
"type": "object",
"title": "BatchAIMetadataResultExtractionFailed",
"required": [
"document_id",
"description",
"status"
],
"properties": {
"status": {
"type": "string",
"const": "extraction_failed",
"title": "Status",
"default": "extraction_failed",
"description": "Discriminator for the terminal-failure branch."
},
"description": {
"type": "string",
"title": "Description",
"description": "Human-readable explanation. Retrying will not help — contact support."
},
"document_id": {
"type": "string",
"title": "Document Id",
"description": "The document this result corresponds to."
}
},
"description": "Terminal extraction failure for this document."
},
{
"type": "object",
"title": "BatchAIMetadataResultExtractionNotStarted",
"required": [
"document_id",
"description",
"status"
],
"properties": {
"status": {
"type": "string",
"const": "extraction_not_started",
"title": "Status",
"default": "extraction_not_started",
"description": "Discriminator for the not-started branch."
},
"description": {
"type": "string",
"title": "Description",
"description": "Human-readable explanation, typically because the document is not yet completed."
},
"document_id": {
"type": "string",
"title": "Document Id",
"description": "The document this result corresponds to."
}
},
"description": "Extraction has not been triggered for this document yet."
},
{
"type": "object",
"title": "BatchAIMetadataResultNotFound",
"required": [
"document_id",
"description",
"status"
],
"properties": {
"status": {
"type": "string",
"const": "not_found",
"title": "Status",
"default": "not_found",
"description": "Discriminator for the missing-document branch."
},
"description": {
"type": "string",
"title": "Description",
"description": "Human-readable explanation."
},
"document_id": {
"type": "string",
"title": "Document Id",
"description": "The document this result corresponds to."
}
},
"description": "The document does not exist or has been deleted."
},
{
"type": "object",
"title": "BatchAIMetadataResultAccessDenied",
"required": [
"document_id",
"description",
"status"
],
"properties": {
"status": {
"type": "string",
"const": "access_denied",
"title": "Status",
"default": "access_denied",
"description": "Discriminator for the per-document permission-denied branch."
},
"description": {
"type": "string",
"title": "Description",
"description": "Human-readable explanation."
},
"document_id": {
"type": "string",
"title": "Document Id",
"description": "The document this result corresponds to."
}
},
"description": "Caller is authenticated but cannot access this specific document."
},
{
"type": "object",
"title": "BatchAIMetadataResultInternalError",
"required": [
"document_id",
"description",
"status"
],
"properties": {
"status": {
"type": "string",
"const": "internal_error",
"title": "Status",
"default": "internal_error",
"description": "Discriminator for the per-document internal-error branch."
},
"description": {
"type": "string",
"title": "Description",
"description": "Human-readable explanation."
},
"document_id": {
"type": "string",
"title": "Document Id",
"description": "The document this result corresponds to."
}
},
"description": "Isolated server-side failure for this single document.\n\nThe request as a whole succeeded; retrying the affected document\n(alone or in a smaller batch) is safe."
}
]
},
"title": "Results",
"description": "Per-document outcomes, in the same order as the requested documents. Each entry's shape is selected by its `status`."
}
},
"description": "Per-document metadata outcomes for a batch of documents.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Batch metadata for up to 40 documents in a single call. Returns `{count, results[]}` where each entry is keyed by `document_id` and discriminated by `status`: `ok` carries the populated metadata; `extraction_pending` carries `retry_after` seconds; `extraction_failed` is terminal (contact support); `extraction_not_started` typically means the document is not yet completed; `not_found` and `access_denied` are per-document gating outcomes; `internal_error` is an isolated per-document failure that is safe to retry on its own. Whole-request failures (validation, auth, rate limit, …) surface as a standard tool error."
}
},
"description": "Batch metadata for up to 40 documents in a single call. Returns `{count, results[]}` where each entry is keyed by `document_id` and discriminated by `status`: `ok` carries the populated metadata; `extraction_pending` carries `retry_after` seconds; `extraction_failed` is terminal (contact support); `extraction_not_started` typically means the document is not yet completed; `not_found` and `access_denied` are per-document gating outcomes; `internal_error` is an isolated per-document failure that is safe to retry on its own. Whole-request failures (validation, auth, rate limit, …) surface as a standard tool error. The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description87/100
Assign, reassign, or unassign document fields to recipients. The document must be in draft status. Provide a list of field-to-recipient mappings. Set recipient_id to null to unassign a field. Use get document details to obtain field UUIDs (fields[].uuid) and recipient IDs (recipients[].id). Once a field is assigned, that recipient becomes a signer for it. If it's unclear which recipient a field belongs to, ask the user before assigning.
The description explains the capability, when to use it, and what to expect.
Inputs96/100
Input documentation gives an agent enough context to populate the arguments.
document_id
Document id, not its name. Take it from `documents_list`, `documents_search` or `documents_create`.
Clear enough to supply this argument.
assignments › items › field_id
UUID of the document field to assign. Obtain from document details (fields[].uuid).
Clear enough to supply this argument.
assignments › items › recipient_id
Recipient to assign the field to: their `id` from `documents_details_get` (`recipients[].id`), never their `contact_id`. Set to null to unassign the field from its current recipient.
{
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "DocumentFieldsAssignmentStructuredContent",
"required": [
"assigned",
"document_id"
],
"properties": {
"assigned": {
"type": "boolean",
"const": true,
"title": "Assigned"
},
"document_id": {
"type": "string",
"title": "Document Id"
}
},
"description": "``documents_fields_assign`` — confirmation after field assignment update.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
}
Original tool metadata
{
"name": "documents_fields_assign",
"title": "Assign document fields to recipients",
"description": "Assign, reassign, or unassign document fields to recipients. The document must be in draft status. Provide a list of field-to-recipient mappings. Set recipient_id to null to unassign a field. Use get document details to obtain field UUIDs (fields[].uuid) and recipient IDs (recipients[].id). Once a field is assigned, that recipient becomes a signer for it. If it's unclear which recipient a field belongs to, ask the user before assigning.",
"inputSchema": {
"type": "object",
"required": [
"document_id",
"assignments"
],
"properties": {
"assignments": {
"type": "array",
"items": {
"type": "object",
"required": [
"field_id",
"recipient_id"
],
"properties": {
"field_id": {
"type": "string",
"description": "UUID of the document field to assign. Obtain from document details (fields[].uuid)."
},
"recipient_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Recipient to assign the field to: their `id` from `documents_details_get` (`recipients[].id`), never their `contact_id`. Set to null to unassign the field from its current recipient."
}
}
},
"minItems": 1,
"description": "List of field-to-recipient assignments. Each item maps a field UUID to a recipient UUID (or null to unassign)."
},
"document_id": {
"type": "string",
"description": "Document id, not its name. Take it from `documents_list`, `documents_search` or `documents_create`."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "DocumentFieldsAssignmentStructuredContent",
"required": [
"assigned",
"document_id"
],
"properties": {
"assigned": {
"type": "boolean",
"const": true,
"title": "Assigned"
},
"document_id": {
"type": "string",
"title": "Document Id"
}
},
"description": "``documents_fields_assign`` — confirmation after field assignment update.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description85/100
Send the user's feedback about PandaDoc's tools to the PandaDoc team.
When to offer: a PandaDoc tool or server operation failed, a needed capability does not exist, the result was confusing or wrong, the user is frustrated after a failed attempt, or the user asks to send feedback. Offer once; never interrupt or block the user's task.
Before calling: show the user the full draft, tell them it goes to PandaDoc, and ask "Send this exact feedback to PandaDoc?" Call this tool only after the user explicitly approves sending it. Agreeing to a draft, silence or an ambiguous reply is not approval. Never call it on your own initiative.
Send only the approved text. Do not include chat history, document content, names of people or companies, email addresses, secrets or credentials. One call sends one feedback item.
The description explains the capability, when to use it, and what to expect.
Inputs88/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
message
The exact feedback text the user approved. Do not include secrets, credentials, or customer document content.
Clear enough to supply this argument.
category
What the feedback is about. `bug`: something is broken. `missing_capability`: a needed action is not available. `content_inaccurate`: a result was wrong. `confusing_output`: a result was hard to understand. `feature_request`: a suggested improvement. `usability`: hard to use. `performance`: too slow. `praise`: positive feedback. `other`: none of these.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
author
`user`: the user wrote the text. `model_draft`: the user approved a draft you wrote.
Clear enough to supply this argument.
severity
`low`: a minor annoyance that did not block the task. `medium`: a real problem with a workaround. `high`: a serious problem that made the task much harder. `blocker`: the user could not continue.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
sentiment
`negative`: the user is dissatisfied or frustrated. `neutral`: an observation or suggestion with no strong feeling. `positive`: praise or a good experience.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
tool_names
Names of the PandaDoc tools this feedback is about, if any. Not the full list of tools called.
{
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "FeedbackSubmitResult",
"required": [
"status",
"feedback_id"
],
"properties": {
"status": {
"enum": [
"received",
"duplicate"
],
"type": "string",
"title": "Status",
"description": "`received`: the feedback was sent to PandaDoc. `duplicate`: the same feedback was already sent a few minutes ago and was not sent again. Either way, do not call the tool again for this feedback."
},
"feedback_id": {
"type": "string",
"title": "Feedback Id",
"description": "Reference for this feedback; share it with the user."
}
},
"description": "Confirmation that PandaDoc received the feedback.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
}
Original tool metadata
{
"name": "feedback_submit",
"title": "Send feedback to PandaDoc",
"description": "Send the user's feedback about PandaDoc's tools to the PandaDoc team.\n\nWhen to offer: a PandaDoc tool or server operation failed, a needed capability does not exist, the result was confusing or wrong, the user is frustrated after a failed attempt, or the user asks to send feedback. Offer once; never interrupt or block the user's task.\n\nBefore calling: show the user the full draft, tell them it goes to PandaDoc, and ask \"Send this exact feedback to PandaDoc?\" Call this tool only after the user explicitly approves sending it. Agreeing to a draft, silence or an ambiguous reply is not approval. Never call it on your own initiative.\n\nSend only the approved text. Do not include chat history, document content, names of people or companies, email addresses, secrets or credentials. One call sends one feedback item.",
"inputSchema": {
"type": "object",
"required": [
"message",
"category",
"author"
],
"properties": {
"author": {
"enum": [
"model_draft",
"user"
],
"type": "string",
"description": "`user`: the user wrote the text. `model_draft`: the user approved a draft you wrote."
},
"message": {
"type": "string",
"maxLength": 2000,
"minLength": 1,
"description": "The exact feedback text the user approved. Do not include secrets, credentials, or customer document content."
},
"category": {
"enum": [
"bug",
"missing_capability",
"content_inaccurate",
"confusing_output",
"feature_request",
"usability",
"performance",
"praise",
"other"
],
"type": "string",
"description": "What the feedback is about. `bug`: something is broken. `missing_capability`: a needed action is not available. `content_inaccurate`: a result was wrong. `confusing_output`: a result was hard to understand. `feature_request`: a suggested improvement. `usability`: hard to use. `performance`: too slow. `praise`: positive feedback. `other`: none of these."
},
"severity": {
"enum": [
"low",
"medium",
"high",
"blocker"
],
"type": "string",
"default": "medium",
"description": "`low`: a minor annoyance that did not block the task. `medium`: a real problem with a workaround. `high`: a serious problem that made the task much harder. `blocker`: the user could not continue."
},
"sentiment": {
"anyOf": [
{
"enum": [
"negative",
"neutral",
"positive"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "`negative`: the user is dissatisfied or frustrated. `neutral`: an observation or suggestion with no strong feeling. `positive`: praise or a good experience."
},
"tool_names": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
},
"maxItems": 10
},
{
"type": "null"
}
],
"default": null,
"description": "Names of the PandaDoc tools this feedback is about, if any. Not the full list of tools called."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "FeedbackSubmitResult",
"required": [
"status",
"feedback_id"
],
"properties": {
"status": {
"enum": [
"received",
"duplicate"
],
"type": "string",
"title": "Status",
"description": "`received`: the feedback was sent to PandaDoc. `duplicate`: the same feedback was already sent a few minutes ago and was not sent again. Either way, do not call the tool again for this feedback."
},
"feedback_id": {
"type": "string",
"title": "Feedback Id",
"description": "Reference for this feedback; share it with the user."
}
},
"description": "Confirmation that PandaDoc received the feedback.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description86/100
Associate a document with a CRM object such as a HubSpot deal, so the document appears in that CRM record. Works on a document in any status. `provider` and `entity_type` identify the CRM object. Common pairs: `hubspot` with `deal`; `salesforce-oauth2` (or `salesforce-oauth2-sandbox`) with `opportunity`, `lead`, `account`, or `contact`; `pipedrive` with `deal`, `organization`, or `person`; `ms-dynamics` with `opportunity`, `lead`, `contact`, `quote`, or `competitor`. `entity_id` is the object's id in that CRM (for HubSpot, the deal id). The CRM integration must be connected in the workspace. A document can be linked to several CRM objects with separate calls.
The description explains the capability, when to use it, and what to expect.
Inputs92/100
Input documentation gives an agent enough context to populate the arguments.
document_id
Document id, not its name. Take it from `documents_list`, `documents_search` or `documents_create`.
Clear enough to supply this argument.
provider
CRM provider, e.g. 'hubspot'.
Clear enough to supply this argument.
entity_type
CRM object type, e.g. 'deal'.
Clear enough to supply this argument.
entity_id
ID of the object in the CRM, e.g. the HubSpot deal id. PandaDoc checks that it exists; take it from the user or the CRM.
{
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "LinkDocumentStructuredContent",
"required": [
"linked",
"document_id",
"link_id",
"provider",
"entity_type",
"entity_id"
],
"properties": {
"linked": {
"type": "boolean",
"const": true,
"title": "Linked"
},
"link_id": {
"type": "string",
"title": "Link Id"
},
"provider": {
"type": "string",
"title": "Provider"
},
"entity_id": {
"type": "string",
"title": "Entity Id"
},
"document_id": {
"type": "string",
"title": "Document Id"
},
"entity_type": {
"type": "string",
"title": "Entity Type"
}
},
"description": "``documents_link`` — confirmation that a document was linked to a CRM object.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
}
Original tool metadata
{
"name": "documents_link",
"title": "Link document to CRM object",
"description": "Associate a document with a CRM object such as a HubSpot deal, so the document appears in that CRM record. Works on a document in any status. `provider` and `entity_type` identify the CRM object. Common pairs: `hubspot` with `deal`; `salesforce-oauth2` (or `salesforce-oauth2-sandbox`) with `opportunity`, `lead`, `account`, or `contact`; `pipedrive` with `deal`, `organization`, or `person`; `ms-dynamics` with `opportunity`, `lead`, `contact`, `quote`, or `competitor`. `entity_id` is the object's id in that CRM (for HubSpot, the deal id). The CRM integration must be connected in the workspace. A document can be linked to several CRM objects with separate calls.",
"inputSchema": {
"type": "object",
"required": [
"document_id",
"provider",
"entity_type",
"entity_id"
],
"properties": {
"provider": {
"type": "string",
"description": "CRM provider, e.g. 'hubspot'."
},
"entity_id": {
"type": "string",
"description": "ID of the object in the CRM, e.g. the HubSpot deal id. PandaDoc checks that it exists; take it from the user or the CRM."
},
"document_id": {
"type": "string",
"description": "Document id, not its name. Take it from `documents_list`, `documents_search` or `documents_create`."
},
"entity_type": {
"type": "string",
"description": "CRM object type, e.g. 'deal'."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "LinkDocumentStructuredContent",
"required": [
"linked",
"document_id",
"link_id",
"provider",
"entity_type",
"entity_id"
],
"properties": {
"linked": {
"type": "boolean",
"const": true,
"title": "Linked"
},
"link_id": {
"type": "string",
"title": "Link Id"
},
"provider": {
"type": "string",
"title": "Provider"
},
"entity_id": {
"type": "string",
"title": "Entity Id"
},
"document_id": {
"type": "string",
"title": "Document Id"
},
"entity_type": {
"type": "string",
"title": "Entity Type"
}
},
"description": "``documents_link`` — confirmation that a document was linked to a CRM object.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description81/100
Update one recipient's details (email, name, phone, company, address, redirect) in place. Signers can be edited in Draft, Waiting Approval, Approved, Rejected, Sent, or Viewed status. A signer's email cannot be changed after they have signed. CC recipients can be edited in any status except Expired or Declined. Get recipient_id from document details first. To change an email to one that belongs to another contact, resolve the new email with `contacts_list`, then call `recipients_reassign` with the returned contact id as `new_contact_id`.
The description explains the capability, when to use it, and what to expect.
Inputs82/100
Explain the meaning of this value, not just its name.
document_id
Document id, not its name. Take it from `documents_list`, `documents_search` or `documents_create`.
Clear enough to supply this argument.
recipient_id
Recipient id: a recipient's `id` from `documents_details_get`. Never its `contact_id`.
Clear enough to supply this argument.
email
New email address.
Explain the meaning of this value, not just its name.
first_name
First name.
Explain the meaning of this value, not just its name.
last_name
Last name.
Explain the meaning of this value, not just its name.
phone
Phone number in international format with the country code, e.g. `+14155550100`.
Clear enough to supply this argument.
company
Company name.
Explain the meaning of this value, not just its name.
title
Job title.
Explain the meaning of this value, not just its name.
state
State or region.
Explain the meaning of this value, not just its name.
street_address
Street address.
Clear enough to supply this argument.
city
City.
Clear enough to supply this argument.
postal_code
Postal / ZIP code.
Clear enough to supply this argument.
country
Country.
Clear enough to supply this argument.
delivery_methods › anyOf › 0 › email
Send the document link by email.
Clear enough to supply this argument.
delivery_methods › anyOf › 0 › sms
Send the document link by SMS; needs a `phone`.
Clear enough to supply this argument.
redirect › anyOf › 0 › is_enabled
Turns the redirect to `url` on.
Clear enough to supply this argument.
redirect › anyOf › 0 › url
Page the recipient is sent to after completing the document.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description88/100
Add a CC (non-signing) recipient to a document. Requires an existing contact ID, which is not the same as a recipient id. For someone already on the document, take `contact_id` from that recipient in `documents_details_get`. Otherwise resolve their email with `contacts_list`; when it finds no contact, `contacts_create` can add one after the user confirms the address. Cannot add to Expired or Declined documents. Adding a contact that is already a CC recipient is silently ignored. This tool only adds CC recipients. No tool adds a signer to an existing document: when asked for one, tell the user so instead of adding a CC. Signers are set when `documents_create` creates it.
The description explains the capability, when to use it, and what to expect.
Inputs92/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
document_id
Document id, not its name. Take it from `documents_list`, `documents_search` or `documents_create`.
Clear enough to supply this argument.
contact_id
Contact id to add as CC: a recipient's `contact_id` from `documents_details_get`, or a contact `id` from `contacts_list` or `contacts_create`. Never a recipient id.
Clear enough to supply this argument.
kind
`contact_group` when the id names a contact group rather than a single contact.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
{
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "RecipientAddStructuredContent",
"required": [
"added",
"document_id"
],
"properties": {
"added": {
"type": "boolean",
"const": true,
"title": "Added"
},
"document_id": {
"type": "string",
"title": "Document Id"
},
"recipient_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Recipient Id",
"default": null
}
},
"description": "``recipients_add_cc`` — result after adding a CC recipient.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
}
Original tool metadata
{
"name": "recipients_add_cc",
"title": "Add CC recipient to document",
"description": "Add a CC (non-signing) recipient to a document. Requires an existing contact ID, which is not the same as a recipient id. For someone already on the document, take `contact_id` from that recipient in `documents_details_get`. Otherwise resolve their email with `contacts_list`; when it finds no contact, `contacts_create` can add one after the user confirms the address. Cannot add to Expired or Declined documents. Adding a contact that is already a CC recipient is silently ignored. This tool only adds CC recipients. No tool adds a signer to an existing document: when asked for one, tell the user so instead of adding a CC. Signers are set when `documents_create` creates it.",
"inputSchema": {
"type": "object",
"required": [
"document_id",
"contact_id"
],
"properties": {
"kind": {
"enum": [
"contact",
"contact_group"
],
"type": "string",
"default": "contact",
"description": "`contact_group` when the id names a contact group rather than a single contact."
},
"contact_id": {
"type": "string",
"description": "Contact id to add as CC: a recipient's `contact_id` from `documents_details_get`, or a contact `id` from `contacts_list` or `contacts_create`. Never a recipient id."
},
"document_id": {
"type": "string",
"description": "Document id, not its name. Take it from `documents_list`, `documents_search` or `documents_create`."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "RecipientAddStructuredContent",
"required": [
"added",
"document_id"
],
"properties": {
"added": {
"type": "boolean",
"const": true,
"title": "Added"
},
"document_id": {
"type": "string",
"title": "Document Id"
},
"recipient_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Recipient Id",
"default": null
}
},
"description": "``recipients_add_cc`` — result after adding a CC recipient.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description94/100
Replace a signer with another contact. `recipient_id` is the signer being replaced, from the recipient's `id` in document details. `new_contact_id` is the replacement's contact ID, never a recipient id: take it from that recipient's `contact_id` in document details when they are already on the document, and otherwise resolve their email with `contacts_list`; when it finds no contact, `contacts_create` can add one after the user confirms the address. Transfers all assigned fields to the new signer. The original signer is removed. Cannot reassign already-signed recipients. To just fix a signer's email/name, use `recipients_edit`.
The description explains the capability, when to use it, and what to expect.
Inputs96/100
Input documentation gives an agent enough context to populate the arguments.
document_id
Document id, not its name. Take it from `documents_list`, `documents_search` or `documents_create`.
Clear enough to supply this argument.
recipient_id
Recipient id of the signer to replace: their `id` from `documents_details_get`. Never their `contact_id`.
Clear enough to supply this argument.
new_contact_id
Contact id of the new signer: a recipient's `contact_id` from `documents_details_get`, or a contact `id` from `contacts_list` or `contacts_create`. Never a recipient id.
Clear enough to supply this argument.
kind
`contact_group` when the id names a contact group rather than a single contact.
{
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "RecipientReassignStructuredContent",
"required": [
"reassigned",
"document_id"
],
"properties": {
"reassigned": {
"type": "boolean",
"const": true,
"title": "Reassigned"
},
"document_id": {
"type": "string",
"title": "Document Id"
},
"new_recipient_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "New Recipient Id",
"default": null
}
},
"description": "``recipients_reassign`` — result after reassigning a signer.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
}
Original tool metadata
{
"name": "recipients_reassign",
"title": "Reassign signer (change signer)",
"description": "Replace a signer with another contact. `recipient_id` is the signer being replaced, from the recipient's `id` in document details. `new_contact_id` is the replacement's contact ID, never a recipient id: take it from that recipient's `contact_id` in document details when they are already on the document, and otherwise resolve their email with `contacts_list`; when it finds no contact, `contacts_create` can add one after the user confirms the address. Transfers all assigned fields to the new signer. The original signer is removed. Cannot reassign already-signed recipients. To just fix a signer's email/name, use `recipients_edit`.",
"inputSchema": {
"type": "object",
"required": [
"document_id",
"recipient_id",
"new_contact_id"
],
"properties": {
"kind": {
"enum": [
"contact",
"contact_group"
],
"type": "string",
"default": "contact",
"description": "`contact_group` when the id names a contact group rather than a single contact."
},
"document_id": {
"type": "string",
"description": "Document id, not its name. Take it from `documents_list`, `documents_search` or `documents_create`."
},
"recipient_id": {
"type": "string",
"description": "Recipient id of the signer to replace: their `id` from `documents_details_get`. Never their `contact_id`."
},
"new_contact_id": {
"type": "string",
"description": "Contact id of the new signer: a recipient's `contact_id` from `documents_details_get`, or a contact `id` from `contacts_list` or `contacts_create`. Never a recipient id."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "RecipientReassignStructuredContent",
"required": [
"reassigned",
"document_id"
],
"properties": {
"reassigned": {
"type": "boolean",
"const": true,
"title": "Reassigned"
},
"document_id": {
"type": "string",
"title": "Document Id"
},
"new_recipient_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "New Recipient Id",
"default": null
}
},
"description": "``recipients_reassign`` — result after reassigning a signer.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description99/100
Discover, browse, or pick a template by name, tag, or folder (e.g. 'what templates do we have?', 'find the NDA template'). If the user refers to a template by name and an ID is needed for a downstream operation, use this tool to resolve the name to an ID first. Do not ask the user for a template ID before attempting this lookup. Returns a paginated list of templates. Pass a returned `id` as `templates_details_get`'s `template_id` to inspect roles/fields/variables, or as `documents_create`'s `template_uuid` to generate a document. Not for searching documents (use `documents_list`) or creating one. Each result includes a `template_url`; use it directly to open PandaDoc with existing access. Deleted templates may be unavailable at that link.
The description explains the capability, when to use it, and what to expect.
Inputs78/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
count
Templates per page; 50 when omitted.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
deleted
When true, lists only deleted templates.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
fields
Extra fields to add to each result; `content_date_modified` is the supported one.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
folder_uuid
ID of a folder; lists only the templates stored in it.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
template_id
Lists only the template with this id.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
page
Page of results to return. Increase it to read the next page.
Clear enough to supply this argument.
q
Text matched against template names.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
shared
When true, lists only shared templates.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
tag
Lists only templates carrying these tags.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description98/100
Create a new template from a PDF at a URL. `url` must be a direct, public HTTPS link to the file itself, not a sharing page: PandaDoc downloads it server-side and rejects any redirect, so Google Drive/Docs, SharePoint, Dropbox and Box share or export links fail. It cannot read local or sandbox files (e.g. /mnt/data/...) or attachments from the chat; if the user only has such a file, ask for a direct download link. Omit `folder_uuid` and `owner_email` unless the user supplied valid values. If the account has reached its template limit, retrying cannot help: tell the user instead. Returns the new template's `id`, `name`, and `template_url`; use the link to open the template with existing access. The template needs a few seconds of processing before `templates_update` can change it.
The description explains the capability, when to use it, and what to expect.
Inputs89/100
Explain what happens when this optional value is omitted.
url
Direct, public HTTPS download link to the PDF file itself (no redirect, not a share page, not a local/sandbox path).
Clear enough to supply this argument.
name
The name of the template
Explain what happens when this optional value is omitted.
folder_uuid
ID of an existing folder to store the template in. Omit unless the user supplied it.
Clear enough to supply this argument.
owner_email
Email of an existing member of the user's PandaDoc workspace to own the template. Omit to create it on the current user's behalf.
Clear enough to supply this argument.
owner_membership_id
Workspace membership id of the member who will own the template. Pass this or `owner_email`.
Clear enough to supply this argument.
metadata
Arbitrary key-value data to associate with the template
Explain the meaning of this value, not just its name.
tokens › anyOf › 0 › items › name
Variable name, e.g. `Favorite.Pet`. System variables such as `Document.CreatedDate` are read-only.
{
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "CreateTemplateToolStructuredContent",
"required": [
"id",
"name",
"template_url"
],
"properties": {
"id": {
"type": "string",
"title": "Id",
"description": "ID of the new template. Pass it as `template_id` to `templates_details_get` or `templates_update`."
},
"name": {
"type": "string",
"title": "Name",
"description": "Name of the new template."
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Version",
"default": null,
"description": "Template version."
},
"date_created": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date Created",
"default": null,
"description": "When the template was created."
},
"template_url": {
"type": "string",
"title": "Template Url",
"readOnly": true,
"description": "PandaDoc template link. Requires access to the template; deleted templates may be unavailable."
},
"date_modified": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date Modified",
"default": null,
"description": "When the template was last modified."
},
"content_date_modified": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Content Date Modified",
"default": null,
"description": "When the template's content last changed."
}
},
"description": "The template that was created.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
}
Original tool metadata
{
"name": "templates_create",
"title": "Create template",
"description": "Create a new template from a PDF at a URL. `url` must be a direct, public HTTPS link to the file itself, not a sharing page: PandaDoc downloads it server-side and rejects any redirect, so Google Drive/Docs, SharePoint, Dropbox and Box share or export links fail. It cannot read local or sandbox files (e.g. /mnt/data/...) or attachments from the chat; if the user only has such a file, ask for a direct download link. Omit `folder_uuid` and `owner_email` unless the user supplied valid values. If the account has reached its template limit, retrying cannot help: tell the user instead. Returns the new template's `id`, `name`, and `template_url`; use the link to open the template with existing access. The template needs a few seconds of processing before `templates_update` can change it.",
"inputSchema": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "Direct, public HTTPS download link to the PDF file itself (no redirect, not a share page, not a local/sandbox path)."
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The name of the template"
},
"tokens": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "Variable name, e.g. `Favorite.Pet`. System variables such as `Document.CreatedDate` are read-only."
},
"value": {
"type": "string",
"description": "Value to fill the variable with."
}
}
}
},
{
"type": "null"
}
],
"default": null,
"description": "Custom variables to create on the template, with their values. Predefined variables are read-only and ignored."
},
"metadata": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
],
"default": null,
"description": "Arbitrary key-value data to associate with the template"
},
"folder_uuid": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ID of an existing folder to store the template in. Omit unless the user supplied it."
},
"owner_email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Email of an existing member of the user's PandaDoc workspace to own the template. Omit to create it on the current user's behalf."
},
"owner_membership_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Workspace membership id of the member who will own the template. Pass this or `owner_email`."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "CreateTemplateToolStructuredContent",
"required": [
"id",
"name",
"template_url"
],
"properties": {
"id": {
"type": "string",
"title": "Id",
"description": "ID of the new template. Pass it as `template_id` to `templates_details_get` or `templates_update`."
},
"name": {
"type": "string",
"title": "Name",
"description": "Name of the new template."
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Version",
"default": null,
"description": "Template version."
},
"date_created": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date Created",
"default": null,
"description": "When the template was created."
},
"template_url": {
"type": "string",
"title": "Template Url",
"readOnly": true,
"description": "PandaDoc template link. Requires access to the template; deleted templates may be unavailable."
},
"date_modified": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date Modified",
"default": null,
"description": "When the template was last modified."
},
"content_date_modified": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Content Date Modified",
"default": null,
"description": "When the template's content last changed."
}
},
"description": "The template that was created.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description99/100
Inspect a template's schema — roles, fields, variables, pricing tables, content placeholders, tags, metadata — usually to prepare a `documents_create` call (e.g. 'what roles does the Sales Contract template expect?'). Typical flow: `templates_list` -> this tool -> `documents_create`. Returns the details and `template_url`; use the link to open the template with existing access. Not for listing templates or fetching a regular document.
The description explains the capability, when to use it, and what to expect.
Inputs97/100
Input documentation gives an agent enough context to populate the arguments.
template_id
Template id, not its name. Take it from `templates_list`.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description99/100
Update an existing template's CUSTOM variables (tokens) and/or its signer roles. Provide `tokens` to upsert variables by name, and/or `roles` to replace the full list of roles. Inspect current roles and variables with `templates_details_get` first. At least one of `tokens` or `roles` must be provided. This tool does not rename a template or edit its content/pages. A newly created template needs a few seconds to finish processing before it can be updated; if an update fails immediately after creation, wait briefly and retry. Returns a confirmation and `template_url` to open the template with existing access. To read the UUIDs of any newly created roles, call `templates_details_get` afterwards.
The description explains the capability, when to use it, and what to expect.
Inputs96/100
Remove repeated schema validation from descriptions; focus on meaning and usage context.
template_id
Template id, not its name. Take it from `templates_list`.
Clear enough to supply this argument.
tokens › anyOf › 0 › items › name
Variable name, e.g. 'Favorite.Pet'.
Clear enough to supply this argument.
tokens › anyOf › 0 › items › value
New value for the variable; replaces its current value.
Clear enough to supply this argument.
roles › anyOf › 0 › items › id
UUID of an existing role to update (from `templates_details_get` roles[].id). Omit to add a new role.
Clear enough to supply this argument.
roles › anyOf › 0 › items › name
Role name, e.g. 'Client' or 'Signer'. Must be unique within the template.
Clear enough to supply this argument.
roles › anyOf › 0 › items › signing_order
Signing order for the role. Set it on every role as a contiguous sequence starting from 1 (duplicates allowed for parallel signing groups, e.g. 1, 1, 2), or omit it on every role for fully parallel signing — do not mix ordered and unordered roles.
{
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "UpdateTemplateStructuredContent",
"required": [
"updated",
"template_id",
"template_url"
],
"properties": {
"updated": {
"type": "boolean",
"const": true,
"title": "Updated"
},
"template_id": {
"type": "string",
"title": "Template Id"
},
"template_url": {
"type": "string",
"title": "Template Url",
"readOnly": true,
"description": "PandaDoc template link. Requires access to the template; deleted templates may be unavailable."
}
},
"description": "``templates_update`` — confirmation payload after a template update.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
}
Original tool metadata
{
"name": "templates_update",
"title": "Update template",
"description": "Update an existing template's CUSTOM variables (tokens) and/or its signer roles. Provide `tokens` to upsert variables by name, and/or `roles` to replace the full list of roles. Inspect current roles and variables with `templates_details_get` first. At least one of `tokens` or `roles` must be provided. This tool does not rename a template or edit its content/pages. A newly created template needs a few seconds to finish processing before it can be updated; if an update fails immediately after creation, wait briefly and retry. Returns a confirmation and `template_url` to open the template with existing access. To read the UUIDs of any newly created roles, call `templates_details_get` afterwards.",
"inputSchema": {
"type": "object",
"required": [
"template_id"
],
"properties": {
"roles": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "UUID of an existing role to update (from `templates_details_get` roles[].id). Omit to add a new role."
},
"name": {
"type": "string",
"description": "Role name, e.g. 'Client' or 'Signer'. Must be unique within the template."
},
"signing_order": {
"anyOf": [
{
"type": "integer",
"minimum": 1
},
{
"type": "null"
}
],
"default": null,
"description": "Signing order for the role. Set it on every role as a contiguous sequence starting from 1 (duplicates allowed for parallel signing groups, e.g. 1, 1, 2), or omit it on every role for fully parallel signing — do not mix ordered and unordered roles."
}
},
"description": "``templates_update`` — one signer role in the replacement roles list.",
"additionalProperties": false
}
},
{
"type": "null"
}
],
"default": null,
"description": "Replace the full set of template roles in one request: items with an `id` update that role, items without an `id` are created, and existing roles omitted from the list are deleted. Passing an empty list removes every role. This can delete signer roles, so confirm with the user before you replace or remove roles."
},
"tokens": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"value"
],
"properties": {
"name": {
"type": "string",
"description": "Variable name, e.g. 'Favorite.Pet'."
},
"value": {
"type": "string",
"description": "New value for the variable; replaces its current value."
}
},
"description": "``templates_update`` — one CUSTOM variable to upsert.",
"additionalProperties": false
},
"minItems": 1
},
{
"type": "null"
}
],
"default": null,
"description": "CUSTOM variables to upsert, as a list of {name, value} pairs. Must be non-empty when provided. The template's predefined variables are read-only; attempts to change them are ignored."
},
"template_id": {
"type": "string",
"description": "Template id, not its name. Take it from `templates_list`."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "UpdateTemplateStructuredContent",
"required": [
"updated",
"template_id",
"template_url"
],
"properties": {
"updated": {
"type": "boolean",
"const": true,
"title": "Updated"
},
"template_id": {
"type": "string",
"title": "Template Id"
},
"template_url": {
"type": "string",
"title": "Template Url",
"readOnly": true,
"description": "PandaDoc template link. Requires access to the template; deleted templates may be unavailable."
}
},
"description": "``templates_update`` — confirmation payload after a template update.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description95/100
Create a copy of an existing template within the same workspace. Optionally provide a `name` for the copy; when omitted or empty, a name is auto-generated from the source template. Returns the new template's id and name, the source template id, and `template_url`. Use that link to open the new copy with existing access.
The description explains the capability, when to use it, and what to expect.
Inputs88/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
template_id
Template id, not its name. Take it from `templates_list`.
Clear enough to supply this argument.
name
Custom name for the copy; when omitted or empty, a name is auto-generated from the source template.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
{
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "DuplicateTemplateStructuredContent",
"required": [
"id",
"name",
"template_url"
],
"properties": {
"id": {
"type": "string",
"title": "Id",
"description": "ID of the newly created template copy"
},
"name": {
"type": "string",
"title": "Name",
"description": "Name of the newly created template copy"
},
"date_created": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date Created",
"default": null
},
"template_url": {
"type": "string",
"title": "Template Url",
"readOnly": true,
"description": "PandaDoc template link. Requires access to the template; deleted templates may be unavailable."
},
"date_modified": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date Modified",
"default": null
},
"source_template_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source Template Id",
"default": null,
"description": "ID of the template that was duplicated"
}
},
"description": "``templates_duplicate`` — the newly created copy and its source.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
}
Original tool metadata
{
"name": "templates_duplicate",
"title": "Duplicate template",
"description": "Create a copy of an existing template within the same workspace. Optionally provide a `name` for the copy; when omitted or empty, a name is auto-generated from the source template. Returns the new template's id and name, the source template id, and `template_url`. Use that link to open the new copy with existing access.",
"inputSchema": {
"type": "object",
"required": [
"template_id"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string",
"maxLength": 255
},
{
"type": "null"
}
],
"default": null,
"description": "Custom name for the copy; when omitted or empty, a name is auto-generated from the source template."
},
"template_id": {
"type": "string",
"description": "Template id, not its name. Take it from `templates_list`."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"content": {
"type": "array",
"title": "MCP content (e.g. TextContent blocks)"
},
"isError": {
"type": "boolean"
},
"structuredContent": {
"type": "object",
"anyOf": [
{
"type": "object",
"title": "DuplicateTemplateStructuredContent",
"required": [
"id",
"name",
"template_url"
],
"properties": {
"id": {
"type": "string",
"title": "Id",
"description": "ID of the newly created template copy"
},
"name": {
"type": "string",
"title": "Name",
"description": "Name of the newly created template copy"
},
"date_created": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date Created",
"default": null
},
"template_url": {
"type": "string",
"title": "Template Url",
"readOnly": true,
"description": "PandaDoc template link. Requires access to the template; deleted templates may be unavailable."
},
"date_modified": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Date Modified",
"default": null
},
"source_template_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source Template Id",
"default": null,
"description": "ID of the template that was duplicated"
}
},
"description": "``templates_duplicate`` — the newly created copy and its source.",
"additionalProperties": false
},
{
"type": "object",
"title": "McpToolErrorStructuredContent",
"required": [
"error"
],
"properties": {
"error": {
"type": "object",
"title": "McpToolErrorBody",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"title": "Code",
"description": "Stable error code (e.g. ``UPSTREAM_PANDADOC_API_ERROR``, ``PANDADOC_API_RESPONSE_INVALID``, ``TOOL_INPUT_VALIDATION_ERROR``)."
},
"detail": {
"title": "Detail",
"default": null
},
"message": {
"type": "string",
"title": "Message"
},
"retryable": {
"type": "boolean",
"title": "Retryable",
"default": false
},
"request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Id",
"default": null
},
"http_status": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Http Status",
"default": null,
"description": "HTTP status from the PandaDoc request when the failure was a response (4xx/5xx). Omitted for transport/validation-only failures."
}
},
"description": "Machine-readable error information when the tool result has ``isError: true``.",
"additionalProperties": false
}
},
"description": "Standard ``structuredContent`` when ``isError: true`` (``error`` key).",
"additionalProperties": false
}
],
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`)."
}
},
"description": "Successful `structuredContent` for this tool, or a standard error object under the `error` key (when the tool result has `isError: true`). The full `tools/call` result is an object with `content` (MCP), optional `isError` / `meta`, and optional `structuredContent` (the success|error oneOf).",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description95/100
Delete a template by ID. The template is moved to the deleted state and no longer appears in normal listings (it can still be found by listing with the deleted filter). Confirm with the user before deleting.
The description explains the capability, when to use it, and what to expect.
Inputs96/100
Input documentation gives an agent enough context to populate the arguments.
template_id
Template id, not its name. Take it from `templates_list`.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description98/100
Duplicate an existing document into a new draft. Preserves content, layout, recipients, attachments and settings; resets signing and approval execution. The copy stays in the same workspace and folder and belongs to you. Omit name to generate a copy name. Nothing is sent to recipients. Use the returned id for subsequent edits to the copy. Every call creates another copy. If the outcome is unknown, check existing documents before trying again; do not blindly retry.
The description explains the capability, when to use it, and what to expect.
Inputs75/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
document_id
Id of the source document to copy.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
name
Optional copy name; blank uses the generated copy name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
{
"type": "object",
"required": [
"id",
"name",
"status",
"source_document_id"
],
"properties": {
"id": {
"type": "string",
"description": "Id of the newly created copy; use it for subsequent edits."
},
"name": {
"type": "string"
},
"status": {
"enum": [
"draft",
"sent",
"completed",
"viewed",
"waiting for approval",
"approved",
"rejected",
"waiting for pay",
"paid",
"expired",
"declined",
"external review",
"scheduled"
],
"type": "string"
},
"source_document_id": {
"type": "string"
}
}
}
Original tool metadata
{
"name": "documents_duplicate",
"title": "Duplicate document",
"description": "Duplicate an existing document into a new draft. Preserves content, layout, recipients, attachments and settings; resets signing and approval execution. The copy stays in the same workspace and folder and belongs to you. Omit name to generate a copy name. Nothing is sent to recipients. Use the returned id for subsequent edits to the copy. Every call creates another copy. If the outcome is unknown, check existing documents before trying again; do not blindly retry.",
"inputSchema": {
"type": "object",
"required": [
"document_id"
],
"properties": {
"name": {
"type": [
"string",
"null"
],
"maxLength": 255,
"description": "Optional copy name; blank uses the generated copy name."
},
"document_id": {
"type": "string",
"format": "pd-shortuuid",
"maxLength": 22,
"description": "Id of the source document to copy."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"id",
"name",
"status",
"source_document_id"
],
"properties": {
"id": {
"type": "string",
"description": "Id of the newly created copy; use it for subsequent edits."
},
"name": {
"type": "string"
},
"status": {
"enum": [
"draft",
"sent",
"completed",
"viewed",
"waiting for approval",
"approved",
"rejected",
"waiting for pay",
"paid",
"expired",
"declined",
"external review",
"scheduled"
],
"type": "string"
},
"source_document_id": {
"type": "string"
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description96/100
Send a reminder to recipients of a document that is out for signature, so the ones who have not completed their part are prompted again. The document must be in Sent or Viewed status. Reminders reach real people by email and/or SMS, so confirm with the user which recipients to remind before calling. Take recipient ids from the document's details; recipients left out of the call are not reminded. To word the email yourself, pass subject and message at the top level of the call — they apply to every recipient in it. This call can succeed as a call and still deliver nothing: it always answers with one entry per requested recipient, carrying a status for both email and SMS. Report a reminder as sent only where that status is `sent`. Where a method you requested has any other status, name the recipient, the method and the reason from `detail`, and do not call the request successful. A method you did not request always reports `error` with "delivery method is not selected" — that is expected, not a failure, and must not be mentioned to the user.
The description explains the capability, when to use it, and what to expect.
Inputs75/100
6 of 8 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
document_id
Id of the document whose recipients should be reminded.
Clear enough to supply this argument.
reminders › items › recipient_id
Id of the recipient to remind, from the document's details.
Clear enough to supply this argument.
reminders › items › email
Send this recipient's reminder by email.
Clear enough to supply this argument.
reminders › items › sms
Also send it by SMS. Requires SMS delivery to be enabled for this recipient, and a valid phone number on them.
Clear enough to supply this argument.
reminders › items › if › email
Not provided
Missing description. Explain what this value means and how to supply it.
reminders › items › then › sms
Not provided
Missing description. Explain what this value means and how to supply it.
subject
Subject line for the reminder email, applied to every recipient in this call. Set this when the user dictates a subject ("subject ASAP"). Ignored by SMS; the account default is used when omitted.
Clear enough to supply this argument.
message
Body of the reminder email, in Markdown, applied to every recipient in this call. Set this when the user dictates the wording ("text SIGN IT"). Ignored by SMS; the account default is used when omitted.
{
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"required": [
"recipient_id",
"email",
"sms"
],
"properties": {
"sms": {
"type": "object",
"required": [
"status"
],
"properties": {
"detail": {
"enum": [
"Can't send reminder. Document is not in SENT or VIEWED statuses",
"Can't send reminder. Suggesting mode in progress",
"Can't send reminder to CC recipient",
"Can't send reminder to the Recipient who completed their part",
"Can't send reminder. Signing order is enabled and this Recipient can't sign the document yet",
"Can't send reminder. Email delivery method is not selected for recipient",
"Can't send reminder. SMS delivery method is not selected for recipient",
"Can't send email reminder. Recipient's mailbox is unreachable",
"Can't send SMS reminder. Recipient's phone is unreachable",
"Can't send email reminder to the Recipient with no email",
"Can't send SMS reminder. Confirmation of recipient consent is required. Admin should access workspace settings to certify",
"Can't send SMS reminder to the Recipient more than once every 24 hours",
"Can't send SMS reminder to recipient group",
"Can't send email reminder to the Recipient more than once every 24 hours",
"Can't send SMS reminder to the Recipient with no phone number",
"Can't send SMS reminder to the Recipient with invalid phone number",
"Can't send reminder. The document does not contain a recipient with the specified recipient ID",
"Can't get or modify auto-reminders setup. Document is completed, paid, declined, expired, or removed",
"Can't get reminder status. Auto reminders aren't configured for this document, the document is not in SENT or VIEWED statuses, or the document is removed",
"Can't send reminder. Email message contains potentially malicious links and could not be processed",
"Can't send email reminder. Recipient has opted out of receiving emails from this organization",
null
],
"type": [
"string",
"null"
],
"description": "Why the reminder was not sent, for `error` attempts — for example the recipient already completed their part, signing order has not reached them yet, that delivery method is not enabled for them, or they were already reminded within the last 24 hours. Relay this reason to the user in your own words; do not drop it."
},
"status": {
"enum": [
"sent",
"error",
"scheduled"
],
"type": "string",
"description": "`sent` when the reminder went out, `error` when it did not and `detail` says why. Only `sent` means the recipient was actually reminded. A method that was not requested always reports `error`; judge a delivery only for the methods you asked for."
},
"sent_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "When the reminder was sent, for `sent` attempts."
}
},
"description": "Outcome of one delivery method for one recipient."
},
"email": {
"type": "object",
"required": [
"status"
],
"properties": {
"detail": {
"enum": [
"Can't send reminder. Document is not in SENT or VIEWED statuses",
"Can't send reminder. Suggesting mode in progress",
"Can't send reminder to CC recipient",
"Can't send reminder to the Recipient who completed their part",
"Can't send reminder. Signing order is enabled and this Recipient can't sign the document yet",
"Can't send reminder. Email delivery method is not selected for recipient",
"Can't send reminder. SMS delivery method is not selected for recipient",
"Can't send email reminder. Recipient's mailbox is unreachable",
"Can't send SMS reminder. Recipient's phone is unreachable",
"Can't send email reminder to the Recipient with no email",
"Can't send SMS reminder. Confirmation of recipient consent is required. Admin should access workspace settings to certify",
"Can't send SMS reminder to the Recipient more than once every 24 hours",
"Can't send SMS reminder to recipient group",
"Can't send email reminder to the Recipient more than once every 24 hours",
"Can't send SMS reminder to the Recipient with no phone number",
"Can't send SMS reminder to the Recipient with invalid phone number",
"Can't send reminder. The document does not contain a recipient with the specified recipient ID",
"Can't get or modify auto-reminders setup. Document is completed, paid, declined, expired, or removed",
"Can't get reminder status. Auto reminders aren't configured for this document, the document is not in SENT or VIEWED statuses, or the document is removed",
"Can't send reminder. Email message contains potentially malicious links and could not be processed",
"Can't send email reminder. Recipient has opted out of receiving emails from this organization",
null
],
"type": [
"string",
"null"
],
"description": "Why the reminder was not sent, for `error` attempts — for example the recipient already completed their part, signing order has not reached them yet, that delivery method is not enabled for them, or they were already reminded within the last 24 hours. Relay this reason to the user in your own words; do not drop it."
},
"status": {
"enum": [
"sent",
"error",
"scheduled"
],
"type": "string",
"description": "`sent` when the reminder went out, `error` when it did not and `detail` says why. Only `sent` means the recipient was actually reminded. A method that was not requested always reports `error`; judge a delivery only for the methods you asked for."
},
"sent_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "When the reminder was sent, for `sent` attempts."
}
},
"description": "Outcome of one delivery method for one recipient."
},
"recipient_id": {
"type": "string"
}
}
},
"minItems": 1,
"description": "One entry per recipient the reminder was requested for, including recipients that turned out not to be on the document."
}
}
}
Original tool metadata
{
"name": "documents_reminder_send",
"title": "Send document reminder",
"description": "Send a reminder to recipients of a document that is out for signature, so the ones who have not completed their part are prompted again. The document must be in Sent or Viewed status. Reminders reach real people by email and/or SMS, so confirm with the user which recipients to remind before calling. Take recipient ids from the document's details; recipients left out of the call are not reminded. To word the email yourself, pass subject and message at the top level of the call — they apply to every recipient in it. This call can succeed as a call and still deliver nothing: it always answers with one entry per requested recipient, carrying a status for both email and SMS. Report a reminder as sent only where that status is `sent`. Where a method you requested has any other status, name the recipient, the method and the reason from `detail`, and do not call the request successful. A method you did not request always reports `error` with \"delivery method is not selected\" — that is expected, not a failure, and must not be mentioned to the user.\n",
"inputSchema": {
"type": "object",
"required": [
"document_id",
"reminders"
],
"properties": {
"message": {
"type": [
"string",
"null"
],
"default": null,
"maxLength": 5000,
"description": "Body of the reminder email, in Markdown, applied to every recipient in this call. Set this when the user dictates the wording (\"text SIGN IT\"). Ignored by SMS; the account default is used when omitted."
},
"subject": {
"type": [
"string",
"null"
],
"default": null,
"maxLength": 512,
"description": "Subject line for the reminder email, applied to every recipient in this call. Set this when the user dictates a subject (\"subject ASAP\"). Ignored by SMS; the account default is used when omitted."
},
"reminders": {
"type": "array",
"items": {
"if": {
"required": [
"email"
],
"properties": {
"email": {
"const": false
}
}
},
"then": {
"required": [
"sms"
],
"properties": {
"sms": {
"const": true
}
}
},
"type": "object",
"required": [
"recipient_id"
],
"properties": {
"sms": {
"type": "boolean",
"default": false,
"description": "Also send it by SMS. Requires SMS delivery to be enabled for this recipient, and a valid phone number on them."
},
"email": {
"type": "boolean",
"default": true,
"description": "Send this recipient's reminder by email."
},
"recipient_id": {
"type": "string",
"format": "pd-shortuuid",
"maxLength": 22,
"description": "Id of the recipient to remind, from the document's details."
}
},
"additionalProperties": false
},
"maxItems": 110,
"minItems": 1,
"description": "The recipients to remind, one entry each."
},
"document_id": {
"type": "string",
"format": "pd-shortuuid",
"maxLength": 22,
"description": "Id of the document whose recipients should be reminded."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"result"
],
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"required": [
"recipient_id",
"email",
"sms"
],
"properties": {
"sms": {
"type": "object",
"required": [
"status"
],
"properties": {
"detail": {
"enum": [
"Can't send reminder. Document is not in SENT or VIEWED statuses",
"Can't send reminder. Suggesting mode in progress",
"Can't send reminder to CC recipient",
"Can't send reminder to the Recipient who completed their part",
"Can't send reminder. Signing order is enabled and this Recipient can't sign the document yet",
"Can't send reminder. Email delivery method is not selected for recipient",
"Can't send reminder. SMS delivery method is not selected for recipient",
"Can't send email reminder. Recipient's mailbox is unreachable",
"Can't send SMS reminder. Recipient's phone is unreachable",
"Can't send email reminder to the Recipient with no email",
"Can't send SMS reminder. Confirmation of recipient consent is required. Admin should access workspace settings to certify",
"Can't send SMS reminder to the Recipient more than once every 24 hours",
"Can't send SMS reminder to recipient group",
"Can't send email reminder to the Recipient more than once every 24 hours",
"Can't send SMS reminder to the Recipient with no phone number",
"Can't send SMS reminder to the Recipient with invalid phone number",
"Can't send reminder. The document does not contain a recipient with the specified recipient ID",
"Can't get or modify auto-reminders setup. Document is completed, paid, declined, expired, or removed",
"Can't get reminder status. Auto reminders aren't configured for this document, the document is not in SENT or VIEWED statuses, or the document is removed",
"Can't send reminder. Email message contains potentially malicious links and could not be processed",
"Can't send email reminder. Recipient has opted out of receiving emails from this organization",
null
],
"type": [
"string",
"null"
],
"description": "Why the reminder was not sent, for `error` attempts — for example the recipient already completed their part, signing order has not reached them yet, that delivery method is not enabled for them, or they were already reminded within the last 24 hours. Relay this reason to the user in your own words; do not drop it."
},
"status": {
"enum": [
"sent",
"error",
"scheduled"
],
"type": "string",
"description": "`sent` when the reminder went out, `error` when it did not and `detail` says why. Only `sent` means the recipient was actually reminded. A method that was not requested always reports `error`; judge a delivery only for the methods you asked for."
},
"sent_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "When the reminder was sent, for `sent` attempts."
}
},
"description": "Outcome of one delivery method for one recipient."
},
"email": {
"type": "object",
"required": [
"status"
],
"properties": {
"detail": {
"enum": [
"Can't send reminder. Document is not in SENT or VIEWED statuses",
"Can't send reminder. Suggesting mode in progress",
"Can't send reminder to CC recipient",
"Can't send reminder to the Recipient who completed their part",
"Can't send reminder. Signing order is enabled and this Recipient can't sign the document yet",
"Can't send reminder. Email delivery method is not selected for recipient",
"Can't send reminder. SMS delivery method is not selected for recipient",
"Can't send email reminder. Recipient's mailbox is unreachable",
"Can't send SMS reminder. Recipient's phone is unreachable",
"Can't send email reminder to the Recipient with no email",
"Can't send SMS reminder. Confirmation of recipient consent is required. Admin should access workspace settings to certify",
"Can't send SMS reminder to the Recipient more than once every 24 hours",
"Can't send SMS reminder to recipient group",
"Can't send email reminder to the Recipient more than once every 24 hours",
"Can't send SMS reminder to the Recipient with no phone number",
"Can't send SMS reminder to the Recipient with invalid phone number",
"Can't send reminder. The document does not contain a recipient with the specified recipient ID",
"Can't get or modify auto-reminders setup. Document is completed, paid, declined, expired, or removed",
"Can't get reminder status. Auto reminders aren't configured for this document, the document is not in SENT or VIEWED statuses, or the document is removed",
"Can't send reminder. Email message contains potentially malicious links and could not be processed",
"Can't send email reminder. Recipient has opted out of receiving emails from this organization",
null
],
"type": [
"string",
"null"
],
"description": "Why the reminder was not sent, for `error` attempts — for example the recipient already completed their part, signing order has not reached them yet, that delivery method is not enabled for them, or they were already reminded within the last 24 hours. Relay this reason to the user in your own words; do not drop it."
},
"status": {
"enum": [
"sent",
"error",
"scheduled"
],
"type": "string",
"description": "`sent` when the reminder went out, `error` when it did not and `detail` says why. Only `sent` means the recipient was actually reminded. A method that was not requested always reports `error`; judge a delivery only for the methods you asked for."
},
"sent_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "When the reminder was sent, for `sent` attempts."
}
},
"description": "Outcome of one delivery method for one recipient."
},
"recipient_id": {
"type": "string"
}
}
},
"minItems": 1,
"description": "One entry per recipient the reminder was requested for, including recipients that turned out not to be on the document."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description96/100
Search the current workspace's contacts by first name, last name, or company. This tool does not search by email address; use contacts_list for an email address instead. Results can contain several contacts with the same name, so confirm which contact the user means before making a change. To add a returned contact as a CC, pass its id to recipients_add_cc as contact_id. To replace a signer with a returned contact, pass its id to recipients_reassign as new_contact_id.
The description explains the capability, when to use it, and what to expect.
Inputs75/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
query
First name, last name, company, or a combination to search for.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
page
One-based page number.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
page_size
Maximum number of contacts to return on this page.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Create or replace Submit for approval configuration
The title clearly communicates the tool’s action and subject. Keep it concise.
Description93/100
Create or replace the Submit for approval configuration on a template. A template has at most one configuration; this writes the full desired end-state. Conditional approvals are not supported. If the template already has them, the request is rejected and the existing configuration is left unchanged. After this, create a document from the template; `documents_details_get` then shows `approval_execution` to copy into `documents_send`.
The description explains the capability, when to use it, and what to expect.
Inputs33/100
14 of 34 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
template_id
Template this Submit for approval configuration is stored on.
Clear enough to supply this argument.
is_enabled
Whether Submit for approval runs when a document is created from this template. Set false to turn it off while keeping its stages. This call does not delete the configuration.
Clear enough to supply this argument.
is_ordering_enabled
Approval order. When true, the document goes to one approver at a time. When false, every approver is requested together.
Clear enough to supply this argument.
is_editing_allowed
Whether the approvers and approval groups can be edited on documents created from this template.
Clear enough to supply this argument.
steps › items › assignee › membership_id
Workspace membership id. Not the approver `id` or `user.id` returned by this tool. Send `user.email` when replacing a configuration from a previous response.
Resolve the mismatch between this description and its schema constraints.
steps › items › assignee › email
Email of a workspace member.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
steps › items › assignee › is_document_sender
When true, the approver is whoever sends the document. Do not also set `membership_id` or `email`.
Clear enough to supply this argument.
steps › items › assignee › is_selected
Pre-selects this approver in a selectable group. Ignored when the approver is the whole stage, or on a member of any other group type.
Missing description. Explain what this value means and how to supply it.
steps › items › assignee › allOf › 1 › if › not › is_document_sender
Not provided
Missing description. Explain what this value means and how to supply it.
steps › items › assignee › allOf › 1 › then › allOf › 0 › if › email
Not provided
Missing description. Explain what this value means and how to supply it.
steps › items › assignee › allOf › 1 › then › allOf › 0 › then › membership_id
Not provided
Missing description. Explain what this value means and how to supply it.
steps › items › assignee › allOf › 1 › then › allOf › 1 › if › membership_id
Not provided
Missing description. Explain what this value means and how to supply it.
steps › items › assignee › allOf › 1 › then › allOf › 1 › then › email
Not provided
Missing description. Explain what this value means and how to supply it.
steps › items › assignee › allOf › 1 › then › allOf › 2 › if › not › email
Not provided
Missing description. Explain what this value means and how to supply it.
steps › items › assignee › allOf › 1 › then › allOf › 2 › then › membership_id
Not provided
Missing description. Explain what this value means and how to supply it.
steps › items › group › name
Name of the approval group.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
steps › items › group › type
Present only for Allow user to select approver. When omitted, every approver in the group is notified and any one of them can approve. `selectable` means the sender chooses one approver from the group.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
Workspace membership id. Not the approver `id` or `user.id` returned by this tool. Send `user.email` when replacing a configuration from a previous response.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
steps › items › group › assignees › items › email
Email of a workspace member.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
{
"type": "object",
"required": [
"is_enabled",
"is_ordering_enabled",
"is_editing_allowed",
"has_conditional_approvals",
"steps"
],
"properties": {
"steps": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Id of this stage."
},
"group": {
"type": "object",
"required": [
"id",
"name",
"assignees"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"enum": [
"selectable"
],
"type": "string",
"description": "Present only for Allow user to select approver. Omitted when every approver is notified and any one approval finishes the stage."
},
"assignees": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"is_document_sender"
],
"properties": {
"id": {
"type": "string",
"description": "Approver id within the Submit for approval configuration."
},
"user": {
"type": "object",
"required": [
"id",
"email",
"first_name",
"last_name"
],
"properties": {
"id": {
"type": "string",
"description": "User id."
},
"email": {
"type": "string",
"format": "email"
},
"avatar": {
"type": [
"string",
"null"
]
},
"last_name": {
"type": "string"
},
"first_name": {
"type": "string"
}
}
},
"is_selected": {
"type": "boolean",
"description": "Whether this approver is pre-selected. Present only for members of a selectable group."
},
"is_document_sender": {
"type": "boolean"
}
}
}
}
}
},
"assignee": {
"type": "object",
"required": [
"id",
"is_document_sender"
],
"properties": {
"id": {
"type": "string",
"description": "Approver id within the Submit for approval configuration."
},
"user": {
"type": "object",
"required": [
"id",
"email",
"first_name",
"last_name"
],
"properties": {
"id": {
"type": "string",
"description": "User id."
},
"email": {
"type": "string",
"format": "email"
},
"avatar": {
"type": [
"string",
"null"
]
},
"last_name": {
"type": "string"
},
"first_name": {
"type": "string"
}
}
},
"is_selected": {
"type": "boolean",
"description": "Whether this approver is pre-selected. Present only for members of a selectable group."
},
"is_document_sender": {
"type": "boolean"
}
}
}
}
},
"description": "Stages in the approval order."
},
"is_enabled": {
"type": "boolean",
"description": "Whether Submit for approval runs when a document is created from this template."
},
"is_editing_allowed": {
"type": "boolean"
},
"is_ordering_enabled": {
"type": "boolean",
"description": "Approval order. When true, the document goes to one approver at a time. When false, every approver is requested together."
},
"has_conditional_approvals": {
"type": "boolean"
}
}
}
Original tool metadata
{
"name": "templates_approval_workflow_update",
"title": "Create or replace Submit for approval configuration",
"description": "Create or replace the Submit for approval configuration on a template. A template has at most one configuration; this writes the full desired end-state. Conditional approvals are not supported. If the template already has them, the request is rejected and the existing configuration is left unchanged. After this, create a document from the template; `documents_details_get` then shows `approval_execution` to copy into `documents_send`.\n",
"inputSchema": {
"type": "object",
"required": [
"template_id",
"steps"
],
"properties": {
"steps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"group": {
"type": "object",
"required": [
"name",
"assignees"
],
"properties": {
"name": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Name of the approval group."
},
"type": {
"enum": [
"selectable",
null
],
"type": [
"string",
"null"
],
"default": null,
"description": "Present only for Allow user to select approver. When omitted, every approver in the group is notified and any one of them can approve. `selectable` means the sender chooses one approver from the group."
},
"assignees": {
"type": "array",
"items": {
"type": "object",
"allOf": [
{
"if": {
"required": [
"is_document_sender"
],
"properties": {
"is_document_sender": {
"const": true
}
}
},
"then": {
"properties": {
"email": {
"not": {
"type": "string",
"minLength": 1
}
},
"membership_id": {
"not": {
"type": "string",
"minLength": 1
}
}
}
}
},
{
"if": {
"not": {
"required": [
"is_document_sender"
],
"properties": {
"is_document_sender": {
"const": true
}
}
}
},
"then": {
"allOf": [
{
"if": {
"required": [
"email"
],
"properties": {
"email": {
"type": "string",
"minLength": 1
}
}
},
"then": {
"properties": {
"membership_id": {
"type": "null"
}
}
}
},
{
"if": {
"required": [
"membership_id"
],
"properties": {
"membership_id": {
"type": "string",
"minLength": 1
}
}
},
"then": {
"properties": {
"email": {
"type": "null"
}
}
}
},
{
"if": {
"not": {
"required": [
"email"
],
"properties": {
"email": {
"type": "string",
"minLength": 1
}
}
}
},
"then": {
"required": [
"membership_id"
],
"properties": {
"membership_id": {
"type": "string",
"minLength": 1
}
}
}
}
]
}
}
],
"properties": {
"email": {
"type": [
"string",
"null"
],
"format": "email",
"description": "Email of a workspace member."
},
"is_selected": {
"type": "boolean",
"default": false,
"description": "Pre-selects this approver in a selectable group. Ignored when the approver is the whole stage, or on a member of any other group type."
},
"membership_id": {
"type": [
"string",
"null"
],
"description": "Workspace membership id. Not the approver `id` or `user.id` returned by this tool. Send `user.email` when replacing a configuration from a previous response."
},
"is_document_sender": {
"type": "boolean",
"default": false,
"description": "When true, the approver is whoever sends the document. Do not also set `membership_id` or `email`."
}
},
"description": "The single approver for this stage. Omit when the stage is a group. Identify the approver by exactly one of `email` or `membership_id`, or set `is_document_sender` true.",
"additionalProperties": false
},
"minItems": 1,
"description": "Approvers in the group, at most 50."
}
},
"description": "An approval group for this stage. Omit when the stage is one approver.",
"additionalProperties": false
},
"assignee": {
"type": "object",
"allOf": [
{
"if": {
"required": [
"is_document_sender"
],
"properties": {
"is_document_sender": {
"const": true
}
}
},
"then": {
"properties": {
"email": {
"not": {
"type": "string",
"minLength": 1
}
},
"membership_id": {
"not": {
"type": "string",
"minLength": 1
}
}
}
}
},
{
"if": {
"not": {
"required": [
"is_document_sender"
],
"properties": {
"is_document_sender": {
"const": true
}
}
}
},
"then": {
"allOf": [
{
"if": {
"required": [
"email"
],
"properties": {
"email": {
"type": "string",
"minLength": 1
}
}
},
"then": {
"properties": {
"membership_id": {
"type": "null"
}
}
}
},
{
"if": {
"required": [
"membership_id"
],
"properties": {
"membership_id": {
"type": "string",
"minLength": 1
}
}
},
"then": {
"properties": {
"email": {
"type": "null"
}
}
}
},
{
"if": {
"not": {
"required": [
"email"
],
"properties": {
"email": {
"type": "string",
"minLength": 1
}
}
}
},
"then": {
"required": [
"membership_id"
],
"properties": {
"membership_id": {
"type": "string",
"minLength": 1
}
}
}
}
]
}
}
],
"properties": {
"email": {
"type": [
"string",
"null"
],
"format": "email",
"description": "Email of a workspace member."
},
"is_selected": {
"type": "boolean",
"default": false,
"description": "Pre-selects this approver in a selectable group. Ignored when the approver is the whole stage, or on a member of any other group type."
},
"membership_id": {
"type": [
"string",
"null"
],
"description": "Workspace membership id. Not the approver `id` or `user.id` returned by this tool. Send `user.email` when replacing a configuration from a previous response."
},
"is_document_sender": {
"type": "boolean",
"default": false,
"description": "When true, the approver is whoever sends the document. Do not also set `membership_id` or `email`."
}
},
"description": "The single approver for this stage. Omit when the stage is a group. Identify the approver by exactly one of `email` or `membership_id`, or set `is_document_sender` true.",
"additionalProperties": false
}
},
"maxProperties": 1,
"minProperties": 1,
"additionalProperties": false
},
"minItems": 1,
"description": "Stages in the approval order, at most 50. Each stage is either one approver (`assignee`) or an approval group (`group`), not both. A stage with one approver counts as one approver toward the 100-approver limit. A stage with a group counts as each approver in that group. The property name stays `steps` so it matches `selected_approvers.steps` on Send Document."
},
"is_enabled": {
"type": "boolean",
"default": true,
"description": "Whether Submit for approval runs when a document is created from this template. Set false to turn it off while keeping its stages. This call does not delete the configuration."
},
"template_id": {
"type": "string",
"description": "Template this Submit for approval configuration is stored on."
},
"is_editing_allowed": {
"type": "boolean",
"default": false,
"description": "Whether the approvers and approval groups can be edited on documents created from this template."
},
"is_ordering_enabled": {
"type": "boolean",
"default": true,
"description": "Approval order. When true, the document goes to one approver at a time. When false, every approver is requested together."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"is_enabled",
"is_ordering_enabled",
"is_editing_allowed",
"has_conditional_approvals",
"steps"
],
"properties": {
"steps": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Id of this stage."
},
"group": {
"type": "object",
"required": [
"id",
"name",
"assignees"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"enum": [
"selectable"
],
"type": "string",
"description": "Present only for Allow user to select approver. Omitted when every approver is notified and any one approval finishes the stage."
},
"assignees": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"is_document_sender"
],
"properties": {
"id": {
"type": "string",
"description": "Approver id within the Submit for approval configuration."
},
"user": {
"type": "object",
"required": [
"id",
"email",
"first_name",
"last_name"
],
"properties": {
"id": {
"type": "string",
"description": "User id."
},
"email": {
"type": "string",
"format": "email"
},
"avatar": {
"type": [
"string",
"null"
]
},
"last_name": {
"type": "string"
},
"first_name": {
"type": "string"
}
}
},
"is_selected": {
"type": "boolean",
"description": "Whether this approver is pre-selected. Present only for members of a selectable group."
},
"is_document_sender": {
"type": "boolean"
}
}
}
}
}
},
"assignee": {
"type": "object",
"required": [
"id",
"is_document_sender"
],
"properties": {
"id": {
"type": "string",
"description": "Approver id within the Submit for approval configuration."
},
"user": {
"type": "object",
"required": [
"id",
"email",
"first_name",
"last_name"
],
"properties": {
"id": {
"type": "string",
"description": "User id."
},
"email": {
"type": "string",
"format": "email"
},
"avatar": {
"type": [
"string",
"null"
]
},
"last_name": {
"type": "string"
},
"first_name": {
"type": "string"
}
}
},
"is_selected": {
"type": "boolean",
"description": "Whether this approver is pre-selected. Present only for members of a selectable group."
},
"is_document_sender": {
"type": "boolean"
}
}
}
}
},
"description": "Stages in the approval order."
},
"is_enabled": {
"type": "boolean",
"description": "Whether Submit for approval runs when a document is created from this template."
},
"is_editing_allowed": {
"type": "boolean"
},
"is_ordering_enabled": {
"type": "boolean",
"description": "Approval order. When true, the document goes to one approver at a time. When false, every approver is requested together."
},
"has_conditional_approvals": {
"type": "boolean"
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description99/100
Get a short-lived link to the PDF of a document. The link is how you
get the file itself: it opens in a browser or with a plain HTTP GET,
without signing in. Each link stops working at `expires_at`, a few
minutes later. Until then anyone who has the link can download the
file.
Call the tool for any document the user wants as a file and act on the
answer, not on the document status. A completed document gives its
signed PDF. A document that is not completed may give a PDF of its
current content: that PDF is not signed and can still change, so tell
the user so when you give it. Pass `separate_files` as true only when
the user asks for each section as a separate file (a ZIP archive); the
default is one PDF.
Use the link for what the user asked:
- The user wants the file: give them the `download_url` exactly as
returned and say when it stops working.
- The user wants the file saved, moved, attached, or sent somewhere (a
folder, a drive, an email, another system): if you can make HTTP
requests, download the file from `download_url` and use the
downloaded file. Download it right after the call, because the link
expires in minutes. For several documents, get and download one
document at a time. If your environment blocks the request, give the
user the link and say they can open it in a browser; do not retry the
download.
- The user wants to read or summarize what the document says: use
`documents_content_get` instead, it returns the text.
Never paste the file content into the conversation, and never send or
post the link itself to other people: send the file. If the link has
expired or the download says the link is unavailable, call this tool
again for a new link.
On `processing` the file is not ready yet. Wait about
`retry_after_seconds` seconds and call again: with the `export_uuid` from
the answer when it has one, otherwise with the same input. After 10
`processing` answers in a row, stop and tell the user the file is not
ready yet and they can ask again later.
On `failed`, act on `error_code`:
- `export_failed` (the PDF could not be made) or `export_not_found`
(the `export_uuid` is unknown, expired, or for another document): call
once more without `export_uuid`. If that fails too, tell the user.
- `document_not_completed`: no PDF of this document can be given,
because it is not completed (for example, it was declined or has
expired); tell the user so.
- `document_not_found` (no such document), `signing_failed` (the
signing did not finish, which needs PandaDoc support),
`asset_not_available` (the signed file is not available, which needs
PandaDoc support): tell the user the reason.
If the user is not allowed to download this document, the call is
refused as not authorized.
The description explains the capability, when to use it, and what to expect.
Inputs87/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
document_id
Id of the document to download.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
separate_files
Set to true to get each section of the document as a separate file (a ZIP archive) instead of one PDF. Leave it out for the usual single PDF.
Clear enough to supply this argument.
export_uuid
The `export_uuid` from the last `processing` answer for the same document. Leave it out on the first call, when the last answer had none, and after `export_failed` or `export_not_found`.
{
"type": "object",
"required": [
"status"
],
"properties": {
"status": {
"enum": [
"ready",
"processing",
"failed"
],
"type": "string",
"description": "`ready` when `download_url` can be given to the user, `processing` when the file is not ready yet, `failed` when `error_code` says why there is no link."
},
"error_code": {
"enum": [
"document_not_found",
"document_not_completed",
"signing_failed",
"asset_not_available",
"export_failed",
"export_not_found",
null
],
"type": [
"string",
"null"
],
"description": "Why there is no link, only with `failed`."
},
"expires_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "When the link stops working, only with `ready`."
},
"export_uuid": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "Only with `processing`, when the PDF of a document that is not completed is being made: pass it in the next call."
},
"download_url": {
"type": [
"string",
"null"
],
"description": "Link to the PDF or ZIP file, only with `ready`. It works without signing in until `expires_at`, and anyone with the link can download the file."
},
"retry_after_seconds": {
"type": [
"integer",
"null"
],
"description": "How long to wait before asking again, only with `processing`."
}
},
"additionalProperties": false
}
Original tool metadata
{
"name": "documents_download",
"title": "Get a download link for a document PDF",
"description": "Get a short-lived link to the PDF of a document. The link is how you\nget the file itself: it opens in a browser or with a plain HTTP GET,\nwithout signing in. Each link stops working at `expires_at`, a few\nminutes later. Until then anyone who has the link can download the\nfile.\n\nCall the tool for any document the user wants as a file and act on the\nanswer, not on the document status. A completed document gives its\nsigned PDF. A document that is not completed may give a PDF of its\ncurrent content: that PDF is not signed and can still change, so tell\nthe user so when you give it. Pass `separate_files` as true only when\nthe user asks for each section as a separate file (a ZIP archive); the\ndefault is one PDF.\n\nUse the link for what the user asked:\n- The user wants the file: give them the `download_url` exactly as\n returned and say when it stops working.\n- The user wants the file saved, moved, attached, or sent somewhere (a\n folder, a drive, an email, another system): if you can make HTTP\n requests, download the file from `download_url` and use the\n downloaded file. Download it right after the call, because the link\n expires in minutes. For several documents, get and download one\n document at a time. If your environment blocks the request, give the\n user the link and say they can open it in a browser; do not retry the\n download.\n- The user wants to read or summarize what the document says: use\n `documents_content_get` instead, it returns the text.\n\nNever paste the file content into the conversation, and never send or\npost the link itself to other people: send the file. If the link has\nexpired or the download says the link is unavailable, call this tool\nagain for a new link.\n\nOn `processing` the file is not ready yet. Wait about\n`retry_after_seconds` seconds and call again: with the `export_uuid` from\nthe answer when it has one, otherwise with the same input. After 10\n`processing` answers in a row, stop and tell the user the file is not\nready yet and they can ask again later.\n\nOn `failed`, act on `error_code`:\n- `export_failed` (the PDF could not be made) or `export_not_found`\n (the `export_uuid` is unknown, expired, or for another document): call\n once more without `export_uuid`. If that fails too, tell the user.\n- `document_not_completed`: no PDF of this document can be given,\n because it is not completed (for example, it was declined or has\n expired); tell the user so.\n- `document_not_found` (no such document), `signing_failed` (the\n signing did not finish, which needs PandaDoc support),\n `asset_not_available` (the signed file is not available, which needs\n PandaDoc support): tell the user the reason.\nIf the user is not allowed to download this document, the call is\nrefused as not authorized.\n",
"inputSchema": {
"type": "object",
"required": [
"document_id"
],
"properties": {
"document_id": {
"type": "string",
"format": "pd-shortuuid",
"maxLength": 22,
"description": "Id of the document to download."
},
"export_uuid": {
"type": "string",
"format": "uuid",
"description": "The `export_uuid` from the last `processing` answer for the same document. Leave it out on the first call, when the last answer had none, and after `export_failed` or `export_not_found`."
},
"separate_files": {
"type": "boolean",
"default": false,
"description": "Set to true to get each section of the document as a separate file (a ZIP archive) instead of one PDF. Leave it out for the usual single PDF."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"status"
],
"properties": {
"status": {
"enum": [
"ready",
"processing",
"failed"
],
"type": "string",
"description": "`ready` when `download_url` can be given to the user, `processing` when the file is not ready yet, `failed` when `error_code` says why there is no link."
},
"error_code": {
"enum": [
"document_not_found",
"document_not_completed",
"signing_failed",
"asset_not_available",
"export_failed",
"export_not_found",
null
],
"type": [
"string",
"null"
],
"description": "Why there is no link, only with `failed`."
},
"expires_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "When the link stops working, only with `ready`."
},
"export_uuid": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "Only with `processing`, when the PDF of a document that is not completed is being made: pass it in the next call."
},
"download_url": {
"type": [
"string",
"null"
],
"description": "Link to the PDF or ZIP file, only with `ready`. It works without signing in until `expires_at`, and anyone with the link can download the file."
},
"retry_after_seconds": {
"type": [
"integer",
"null"
],
"description": "How long to wait before asking again, only with `processing`."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description98/100
Search the workspace's product catalog by free text across item name, SKU, description and category name, with optional filters. Use this to identify an existing catalog item before quoting its price or adding it as a line item. A query with no matches returns an empty list — treat that as "nothing found," not an invitation to guess a price or an item yourself.
`pricing_model` and `billing_type` are independent — read both. `pricing_model` says whether `price` is a flat unit amount ("fixed") or depends on quantity tiers ("volume_based" — get tier detail from `catalog_item_get`, and never present its `price` as a flat unit price). `billing_type` says whether that amount is charged once ("one_time"), per `billing_period` ("recurring"), or has no defined billing cadence ("unspecified"). A "volume_based" item can also be "recurring".
Call `catalog_item_get` once a specific item has been identified — for example by an exact SKU, an unambiguous search result, or the user picking one of the candidates — when full tier or bundle detail is needed.
If no single result is clearly the one the user meant, list the candidates rather than choosing silently. Include `sku` and, when available, `price` with `billing_period` when applicable. For a "volume_based" candidate, say it's volume-priced instead of quoting `price` as a flat amount.
The description explains the capability, when to use it, and what to expect.
Inputs57/100
5 of 7 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
query
Free-text search matched against item name, SKU, description and category name, ranked name > SKU > description.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
billing_types
Restrict results to these billing types.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
types
Restrict results to these item types. "bundle" items are search-only here: they are supported only in Quote builder blocks, not classic pricing tables.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
page
Not provided
Missing description. Explain what this value means and how to supply it.
per_page
Not provided
Missing description. Explain what this value means and how to supply it.
order_by
Sort field, optionally prefixed with "-" for descending (e.g. "-price").
Clear enough to supply this argument.
exclude_uuids
Item UUIDs to omit from results — use this when building a multi-line quote so an item already added isn't matched again.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
{
"type": "object",
"required": [
"items",
"has_more_items",
"total"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"uuid",
"name",
"sku",
"pricing_model",
"currency",
"billing_type"
],
"properties": {
"sku": {
"type": "string"
},
"name": {
"type": "string"
},
"uuid": {
"type": "string",
"format": "uuid"
},
"price": {
"type": [
"number",
"null"
],
"description": "Price amount when available. Interpret only together with `pricing_model`, `billing_type`, and `billing_period`."
},
"currency": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
],
"description": "Plain-text, single-line summary (HTML stripped)."
},
"billing_type": {
"enum": [
"one_time",
"recurring",
"unspecified"
],
"type": "string",
"description": "\"one_time\" or \"recurring\" (per `billing_period`); \"unspecified\" means no billing cadence is defined."
},
"pricing_model": {
"enum": [
"fixed",
"volume_based"
],
"type": "string",
"description": "Whether `price` is a flat unit amount (\"fixed\") or depends on quantity tiers (\"volume_based\" — do not quote `price` as a flat unit price; get tier detail from `catalog_item_get`). Independent of `billing_type` — a \"volume_based\" item can also be \"recurring\"."
},
"billing_period": {
"anyOf": [
{
"enum": [
"weekly",
"monthly",
"annually",
"quarterly",
"semiannually"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "Set when `billing_type` is \"recurring\"; otherwise null."
}
},
"additionalProperties": false
}
},
"total": {
"type": "integer",
"description": "Total number of items matching the query, across all pages."
},
"has_more_items": {
"type": "boolean",
"description": "Whether another page of results is available."
}
},
"additionalProperties": false
}
Original tool metadata
{
"name": "catalog_items_search",
"title": "Search product catalog items",
"description": "Search the workspace's product catalog by free text across item name, SKU, description and category name, with optional filters. Use this to identify an existing catalog item before quoting its price or adding it as a line item. A query with no matches returns an empty list — treat that as \"nothing found,\" not an invitation to guess a price or an item yourself.\n`pricing_model` and `billing_type` are independent — read both. `pricing_model` says whether `price` is a flat unit amount (\"fixed\") or depends on quantity tiers (\"volume_based\" — get tier detail from `catalog_item_get`, and never present its `price` as a flat unit price). `billing_type` says whether that amount is charged once (\"one_time\"), per `billing_period` (\"recurring\"), or has no defined billing cadence (\"unspecified\"). A \"volume_based\" item can also be \"recurring\".\nCall `catalog_item_get` once a specific item has been identified — for example by an exact SKU, an unambiguous search result, or the user picking one of the candidates — when full tier or bundle detail is needed.\nIf no single result is clearly the one the user meant, list the candidates rather than choosing silently. Include `sku` and, when available, `price` with `billing_period` when applicable. For a \"volume_based\" candidate, say it's volume-priced instead of quoting `price` as a flat amount.",
"inputSchema": {
"type": "object",
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"query": {
"type": [
"string",
"null"
],
"default": null,
"description": "Free-text search matched against item name, SKU, description and category name, ranked name > SKU > description."
},
"types": {
"type": [
"array",
"null"
],
"items": {
"enum": [
"regular",
"bundle",
"custom"
],
"type": "string"
},
"default": null,
"description": "Restrict results to these item types. \"bundle\" items are search-only here: they are supported only in Quote builder blocks, not classic pricing tables."
},
"order_by": {
"anyOf": [
{
"enum": [
"sku",
"-sku",
"title",
"-title",
"price",
"-price",
"date_modified",
"-date_modified"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Sort field, optionally prefixed with \"-\" for descending (e.g. \"-price\")."
},
"per_page": {
"type": "integer",
"default": 10,
"minimum": 1
},
"billing_types": {
"type": [
"array",
"null"
],
"items": {
"enum": [
"one_time",
"recurring",
"unspecified"
],
"type": "string"
},
"default": null,
"description": "Restrict results to these billing types."
},
"exclude_uuids": {
"type": [
"array",
"null"
],
"items": {
"type": "string",
"format": "uuid"
},
"default": null,
"description": "Item UUIDs to omit from results — use this when building a multi-line quote so an item already added isn't matched again."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"items",
"has_more_items",
"total"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"uuid",
"name",
"sku",
"pricing_model",
"currency",
"billing_type"
],
"properties": {
"sku": {
"type": "string"
},
"name": {
"type": "string"
},
"uuid": {
"type": "string",
"format": "uuid"
},
"price": {
"type": [
"number",
"null"
],
"description": "Price amount when available. Interpret only together with `pricing_model`, `billing_type`, and `billing_period`."
},
"currency": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
],
"description": "Plain-text, single-line summary (HTML stripped)."
},
"billing_type": {
"enum": [
"one_time",
"recurring",
"unspecified"
],
"type": "string",
"description": "\"one_time\" or \"recurring\" (per `billing_period`); \"unspecified\" means no billing cadence is defined."
},
"pricing_model": {
"enum": [
"fixed",
"volume_based"
],
"type": "string",
"description": "Whether `price` is a flat unit amount (\"fixed\") or depends on quantity tiers (\"volume_based\" — do not quote `price` as a flat unit price; get tier detail from `catalog_item_get`). Independent of `billing_type` — a \"volume_based\" item can also be \"recurring\"."
},
"billing_period": {
"anyOf": [
{
"enum": [
"weekly",
"monthly",
"annually",
"quarterly",
"semiannually"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "Set when `billing_type` is \"recurring\"; otherwise null."
}
},
"additionalProperties": false
}
},
"total": {
"type": "integer",
"description": "Total number of items matching the query, across all pages."
},
"has_more_items": {
"type": "boolean",
"description": "Whether another page of results is available."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description95/100
Get full detail for a specific catalog item by UUID — use once an item has been identified (for example via `catalog_items_search`) and its complete pricing, custom fields, or bundle composition are needed.
Each pricing block (`default_pricing`, and each variant's `pricing` entries) reports `tiers` when the item is priced by quantity — in that case `price` alone is not the amount to quote, use the tiers instead. `billing_period` is set only when `billing_type` is "recurring"; otherwise ignore it.
`variants` lists the item's purchasable configurations (usually one), each with its own SKU, status, and custom fields (up to 200). `bundle_items`, when present, lists what the bundle contains — each entry is either a reference to another catalog item (with its own `pricing`) or a one-off custom line (flat `price`/`currency`, no catalog reference). Customer-facing bundle customization rules are not included here.
The description explains the capability, when to use it, and what to expect.
Inputs99/100
Input documentation gives an agent enough context to populate the arguments.
uuid
UUID of the catalog item, from a `catalog_items_search` result.
The title clearly communicates the tool’s action and subject. Keep it concise.
Description96/100
Permanently delete a single catalog item by UUID. This cannot be undone — there is no soft delete and no restore, and this includes its pricing, custom fields, and bundle composition. Documents already sent that reference this item are unaffected (their line values were copied at send time).
Before calling this, use `catalog_items_search` or `catalog_item_get` to resolve the UUID to the item's name and SKU, if present, and explicitly ask the user to confirm deleting that specific item by name. Do not call this from an earlier request to find, view, or modify the item alone — only after the user has explicitly agreed to the deletion in this exchange. Call this once per item; there is no bulk delete.
The description explains the capability, when to use it, and what to expect.
Inputs75/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
uuid
UUID of the catalog item to delete.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
{
"type": "object",
"required": [
"uuid",
"name"
],
"properties": {
"sku": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string",
"description": "Name of the item that was deleted, for confirming back to the user."
},
"uuid": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
}
Original tool metadata
{
"name": "catalog_item_delete",
"title": "Delete catalog item",
"description": "Permanently delete a single catalog item by UUID. This cannot be undone — there is no soft delete and no restore, and this includes its pricing, custom fields, and bundle composition. Documents already sent that reference this item are unaffected (their line values were copied at send time).\nBefore calling this, use `catalog_items_search` or `catalog_item_get` to resolve the UUID to the item's name and SKU, if present, and explicitly ask the user to confirm deleting that specific item by name. Do not call this from an earlier request to find, view, or modify the item alone — only after the user has explicitly agreed to the deletion in this exchange. Call this once per item; there is no bulk delete.",
"inputSchema": {
"type": "object",
"required": [
"uuid"
],
"properties": {
"uuid": {
"type": "string",
"format": "uuid",
"description": "UUID of the catalog item to delete."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"uuid",
"name"
],
"properties": {
"sku": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string",
"description": "Name of the item that was deleted, for confirming back to the user."
},
"uuid": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description95/100
Create a new item in the workspace's product catalog. This is a write operation — always call `catalog_items_search` first to check for an existing item with a similar name or SKU, and warn about close matches instead of silently creating what may be a duplicate.
Before calling this, show the user exactly what will be created (title, price, SKU, and bundle contents if any) and explicitly ask them to confirm. Do not call this from an earlier request to search, price, or discuss an item alone — only after the user has explicitly agreed to create it in this exchange.
For flat pricing, set `price_configuration.price` and leave `pricing_model` as "fixed". For quantity-tiered pricing, set `pricing_model` to "volume_based" and provide `tiers` instead — never invent a flat price for a volume-priced item. Set `billing_type` to "recurring" only when the item is charged on a repeating cycle, and always pair it with `billing_cycle`.
Set `type` to "bundle" to create a bundle instead of a regular item. `bundle_items` is required when `type` is "bundle" (up to 300 lines) and must be omitted otherwise. Each line is either a reference to an existing regular catalog item (`kind: "catalog_item"`, with its `uuid` — resolve this via `catalog_items_search`/`catalog_item_get` first; this fails with a clear error if the uuid doesn't resolve to an existing regular item) or a one-off custom line not backed by any catalog item (`kind: "custom"`, with its own `title`/`price`/`currency`). The bundle's own `price_configuration` is always a flat price or tiers you set directly, exactly like a regular item — it is never derived automatically from the bundle's contents, regardless of what those contents cost or how they're billed.
This tool's response never includes bundle composition, even for a bundle — call `catalog_item_get` on the returned `uuid` afterward if you need to confirm what was actually created.
If the workspace's plan doesn't include Product Catalog, or the caller's role can't edit the catalog, this fails with a human-readable error rather than creating anything — never invent a price or silently retry as a different user.
The description explains the capability, when to use it, and what to expect.
Inputs31/100
9 of 26 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
type
Not provided
Missing description. Explain what this value means and how to supply it.
title
Item name, shown to customers.
Clear enough to supply this argument.
sku
Optional SKU. When omitted, one is generated automatically.
Clear enough to supply this argument.
description
Not provided
Missing description. Explain what this value means and how to supply it.
category_id
Not provided
Missing description. Explain what this value means and how to supply it.
custom_fields › items › name
Not provided
Missing description. Explain what this value means and how to supply it.
custom_fields › items › value
Not provided
Missing description. Explain what this value means and how to supply it.
price_configuration › pricing_model
Not provided
Missing description. Explain what this value means and how to supply it.
price_configuration › price
Flat unit price. Required when `pricing_model` is "fixed"; must be omitted when "volume_based" — use `tiers` instead.
Clear enough to supply this argument.
price_configuration › tiers › items › min_qty
Minimum quantity this tier's price applies from.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
price_configuration › tiers › items › value
Not provided
Missing description. Explain what this value means and how to supply it.
price_configuration › currency
Not provided
Missing description. Explain what this value means and how to supply it.
price_configuration › cost
Internal cost basis, for margin awareness only.
Clear enough to supply this argument.
price_configuration › billing_type
Not provided
Missing description. Explain what this value means and how to supply it.
price_configuration › billing_cycle
Required when `billing_type` is "recurring"; must be omitted otherwise.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
bundle_items › items › quantity
Not provided
Missing description. Explain what this value means and how to supply it.
bundle_items › items › optional
Whether this line can be removed from the bundle.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
bundle_items › items › selected
Whether this line is included by default.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
bundle_items › items › item › oneOf › 0 › kind
Not provided
Missing description. Explain what this value means and how to supply it.
bundle_items › items › item › oneOf › 0 › uuid
UUID of an existing regular catalog item to include.
Clear enough to supply this argument.
bundle_items › items › item › oneOf › 1 › kind
Not provided
Missing description. Explain what this value means and how to supply it.
bundle_items › items › item › oneOf › 1 › title
Not provided
Missing description. Explain what this value means and how to supply it.
bundle_items › items › item › oneOf › 1 › sku
Not provided
Missing description. Explain what this value means and how to supply it.
{
"name": "catalog_item_create",
"title": "Create a product catalog item",
"description": "Create a new item in the workspace's product catalog. This is a write operation — always call `catalog_items_search` first to check for an existing item with a similar name or SKU, and warn about close matches instead of silently creating what may be a duplicate.\nBefore calling this, show the user exactly what will be created (title, price, SKU, and bundle contents if any) and explicitly ask them to confirm. Do not call this from an earlier request to search, price, or discuss an item alone — only after the user has explicitly agreed to create it in this exchange.\nFor flat pricing, set `price_configuration.price` and leave `pricing_model` as \"fixed\". For quantity-tiered pricing, set `pricing_model` to \"volume_based\" and provide `tiers` instead — never invent a flat price for a volume-priced item. Set `billing_type` to \"recurring\" only when the item is charged on a repeating cycle, and always pair it with `billing_cycle`.\nSet `type` to \"bundle\" to create a bundle instead of a regular item. `bundle_items` is required when `type` is \"bundle\" (up to 300 lines) and must be omitted otherwise. Each line is either a reference to an existing regular catalog item (`kind: \"catalog_item\"`, with its `uuid` — resolve this via `catalog_items_search`/`catalog_item_get` first; this fails with a clear error if the uuid doesn't resolve to an existing regular item) or a one-off custom line not backed by any catalog item (`kind: \"custom\"`, with its own `title`/`price`/`currency`). The bundle's own `price_configuration` is always a flat price or tiers you set directly, exactly like a regular item — it is never derived automatically from the bundle's contents, regardless of what those contents cost or how they're billed.\nThis tool's response never includes bundle composition, even for a bundle — call `catalog_item_get` on the returned `uuid` afterward if you need to confirm what was actually created.\nIf the workspace's plan doesn't include Product Catalog, or the caller's role can't edit the catalog, this fails with a human-readable error rather than creating anything — never invent a price or silently retry as a different user.",
"inputSchema": {
"type": "object",
"required": [
"title",
"price_configuration"
],
"properties": {
"sku": {
"type": [
"string",
"null"
],
"default": null,
"description": "Optional SKU. When omitted, one is generated automatically."
},
"type": {
"enum": [
"regular",
"bundle"
],
"type": "string",
"default": "regular"
},
"title": {
"type": "string",
"description": "Item name, shown to customers."
},
"category_id": {
"type": [
"string",
"null"
],
"format": "uuid",
"default": null
},
"description": {
"type": [
"string",
"null"
],
"default": null,
"maxLength": 500
},
"bundle_items": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"required": [
"item"
],
"properties": {
"item": {
"oneOf": [
{
"type": "object",
"required": [
"kind",
"uuid"
],
"properties": {
"kind": {
"type": "string",
"const": "catalog_item"
},
"uuid": {
"type": "string",
"format": "uuid",
"description": "UUID of an existing regular catalog item to include."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"title",
"price",
"currency"
],
"properties": {
"sku": {
"type": [
"string",
"null"
],
"default": null
},
"kind": {
"type": "string",
"const": "custom"
},
"price": {
"type": "number"
},
"title": {
"type": "string"
},
"currency": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
],
"default": null,
"maxLength": 500
}
},
"additionalProperties": false
}
]
},
"optional": {
"type": "boolean",
"default": false,
"description": "Whether this line can be removed from the bundle."
},
"quantity": {
"type": "integer",
"default": 1,
"minimum": 1
},
"selected": {
"type": "boolean",
"default": true,
"description": "Whether this line is included by default."
}
},
"additionalProperties": false
},
"default": null,
"maxItems": 300,
"description": "Required when `type` is \"bundle\"; must be omitted when \"regular\"."
},
"custom_fields": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"value": {}
},
"additionalProperties": false
},
"default": null
},
"price_configuration": {
"type": "object",
"required": [
"pricing_model",
"currency"
],
"properties": {
"cost": {
"type": [
"number",
"null"
],
"default": null,
"description": "Internal cost basis, for margin awareness only."
},
"price": {
"type": [
"number",
"null"
],
"default": null,
"description": "Flat unit price. Required when `pricing_model` is \"fixed\"; must be omitted when \"volume_based\" — use `tiers` instead."
},
"tiers": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"required": [
"min_qty",
"value"
],
"properties": {
"value": {
"type": "number"
},
"min_qty": {
"type": "integer",
"minimum": 1,
"description": "Minimum quantity this tier's price applies from."
}
}
},
"default": null,
"description": "Quantity price tiers. Required when `pricing_model` is \"volume_based\"; not allowed otherwise."
},
"currency": {
"type": "string"
},
"billing_type": {
"enum": [
"one_time",
"recurring"
],
"type": "string",
"default": "one_time"
},
"billing_cycle": {
"anyOf": [
{
"enum": [
"weekly",
"monthly",
"annually",
"quarterly",
"semiannually"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Required when `billing_type` is \"recurring\"; must be omitted otherwise."
},
"pricing_model": {
"enum": [
"fixed",
"volume_based"
],
"type": "string",
"default": "fixed"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"uuid",
"name",
"sku",
"pricing_model",
"currency",
"billing_type"
],
"properties": {
"sku": {
"type": "string"
},
"name": {
"type": "string"
},
"uuid": {
"type": "string",
"format": "uuid"
},
"price": {
"type": [
"number",
"null"
]
},
"currency": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
],
"description": "Plain-text, single-line summary (HTML stripped)."
},
"billing_type": {
"enum": [
"one_time",
"recurring",
"unspecified"
],
"type": "string"
},
"pricing_model": {
"enum": [
"fixed",
"volume_based"
],
"type": "string"
},
"billing_period": {
"anyOf": [
{
"enum": [
"weekly",
"monthly",
"annually",
"quarterly",
"semiannually"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "Set when `billing_type` is \"recurring\"; otherwise null."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description95/100
Update fields on an existing catalog item by UUID. This is a write operation — call `catalog_item_get` first, show the user a before → after comparison of what will change (price especially), and explicitly ask them to confirm this specific change. Do not call this from an earlier request that only found or viewed the item — only after the user has explicitly agreed to this exact change in this exchange.
Every field is optional — set only the ones that should change. A field that is left out, or explicitly set to `null`, is left untouched — `null` is not a way to clear a field's current value except where a field's own description says otherwise. `custom_fields`, when set to an array, replaces the item's entire custom fields list (not a merge) — send an empty array to clear it.
Only `type=regular` and `type=bundle` items can be updated through this tool; calling it on a "custom" item fails with a clear error rather than changing anything. Bundles cannot be created here — use `catalog_item_create` with `type: "bundle"` for that.
`bundle_items`, when set, replaces the bundle's entire composition (not a merge) and can only be set on an item that is already a bundle — setting it on a regular item fails with a clear error rather than converting it, and it cannot be an empty list (there is no way to clear a bundle's composition through this tool). Each line is either a reference to an existing regular catalog item (`kind: "catalog_item"`, with its `uuid` — this fails with a clear error if the uuid doesn't resolve to an existing regular item, rather than silently dropping the line) or a one-off custom line (`kind: "custom"`, with its own `title`/`price`/`currency`) — see `catalog_item_create`'s `bundle_items` for the full shape. Leave `bundle_items` out entirely to leave a bundle's composition unchanged; this tool never changes an item's `type`. This fails if the bundle has customer-facing configuration (selection groups and/or rules) that reference its current lines by id, since replacing the composition risks breaking those references.
For flat pricing, set `price_configuration.price`. For quantity-tiered pricing, set `price_configuration.tiers` instead — never invent a flat price for a volume-priced item. Set `billing_type` to "recurring" only when the item is charged on a repeating cycle, and always pair it with `billing_cycle`.
`price_configuration`'s sub-fields follow the same "leave it out to leave it unchanged" rule as the top-level fields — changing only `price` means sending `price_configuration: {"price": ...}` with nothing else in it. Never include `pricing_model`, `billing_type`, `billing_cycle`, or `currency` unless you intend to change that specific thing, and never guess a value for one of them from context — check `catalog_item_get`'s response for the current value first if you're unsure. Including one of these with the wrong value silently changes it alongside the field you meant to update.
For multiple items ("raise these 5 prices"), summarize the full change set for every item and get one explicit confirmation covering all of them before calling this tool repeatedly — cap this at roughly 20 items per run. For larger bulk repricing, point the user at catalog CSV export/import instead.
If the workspace's plan doesn't include Product Catalog, or the caller's role can't edit the catalog, this fails with a human-readable error rather than changing anything — never invent a result or silently retry as a different user.
The description explains the capability, when to use it, and what to expect.
Inputs42/100
12 of 26 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
uuid
UUID of the catalog item to update, from a `catalog_items_search` or `catalog_item_get` result.
Clear enough to supply this argument.
title
Item name, shown to customers.
Clear enough to supply this argument.
sku
Not provided
Missing description. Explain what this value means and how to supply it.
description
Not provided
Missing description. Explain what this value means and how to supply it.
category_id
Set to a category UUID to move the item there. Leave null (or omit) to leave the category unchanged — this specific tool cannot remove an item from its category (that requires a separate categorization capability, not exposed here yet).
Clear enough to supply this argument.
custom_fields › items › name
Not provided
Missing description. Explain what this value means and how to supply it.
custom_fields › items › value
Not provided
Missing description. Explain what this value means and how to supply it.
price_configuration › pricing_model
Omit or leave null to leave the pricing model unchanged.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
price_configuration › price
Flat unit price. Omit or leave null when the item is priced by `tiers` instead.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
price_configuration › tiers › items › min_qty
Minimum quantity this tier's price applies from.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
price_configuration › tiers › items › value
Not provided
Missing description. Explain what this value means and how to supply it.
price_configuration › currency
Omit or leave null to leave the currency unchanged.
Clear enough to supply this argument.
price_configuration › cost
Internal cost basis, for margin awareness only.
Clear enough to supply this argument.
price_configuration › billing_type
Omit or leave null to leave the billing type unchanged.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
price_configuration › billing_cycle
Not provided
Missing description. Explain what this value means and how to supply it.
bundle_items › items › quantity
Not provided
Missing description. Explain what this value means and how to supply it.
bundle_items › items › optional
Whether this line can be removed from the bundle.
Clear enough to supply this argument.
bundle_items › items › selected
Whether this line is included by default.
Clear enough to supply this argument.
bundle_items › items › item › oneOf › 0 › kind
Not provided
Missing description. Explain what this value means and how to supply it.
bundle_items › items › item › oneOf › 0 › uuid
UUID of an existing regular catalog item to include.
Clear enough to supply this argument.
bundle_items › items › item › oneOf › 1 › kind
Not provided
Missing description. Explain what this value means and how to supply it.
bundle_items › items › item › oneOf › 1 › title
Not provided
Missing description. Explain what this value means and how to supply it.
bundle_items › items › item › oneOf › 1 › sku
Not provided
Missing description. Explain what this value means and how to supply it.
{
"name": "catalog_item_update",
"title": "Update a product catalog item",
"description": "Update fields on an existing catalog item by UUID. This is a write operation — call `catalog_item_get` first, show the user a before → after comparison of what will change (price especially), and explicitly ask them to confirm this specific change. Do not call this from an earlier request that only found or viewed the item — only after the user has explicitly agreed to this exact change in this exchange.\nEvery field is optional — set only the ones that should change. A field that is left out, or explicitly set to `null`, is left untouched — `null` is not a way to clear a field's current value except where a field's own description says otherwise. `custom_fields`, when set to an array, replaces the item's entire custom fields list (not a merge) — send an empty array to clear it.\nOnly `type=regular` and `type=bundle` items can be updated through this tool; calling it on a \"custom\" item fails with a clear error rather than changing anything. Bundles cannot be created here — use `catalog_item_create` with `type: \"bundle\"` for that.\n`bundle_items`, when set, replaces the bundle's entire composition (not a merge) and can only be set on an item that is already a bundle — setting it on a regular item fails with a clear error rather than converting it, and it cannot be an empty list (there is no way to clear a bundle's composition through this tool). Each line is either a reference to an existing regular catalog item (`kind: \"catalog_item\"`, with its `uuid` — this fails with a clear error if the uuid doesn't resolve to an existing regular item, rather than silently dropping the line) or a one-off custom line (`kind: \"custom\"`, with its own `title`/`price`/`currency`) — see `catalog_item_create`'s `bundle_items` for the full shape. Leave `bundle_items` out entirely to leave a bundle's composition unchanged; this tool never changes an item's `type`. This fails if the bundle has customer-facing configuration (selection groups and/or rules) that reference its current lines by id, since replacing the composition risks breaking those references.\nFor flat pricing, set `price_configuration.price`. For quantity-tiered pricing, set `price_configuration.tiers` instead — never invent a flat price for a volume-priced item. Set `billing_type` to \"recurring\" only when the item is charged on a repeating cycle, and always pair it with `billing_cycle`.\n`price_configuration`'s sub-fields follow the same \"leave it out to leave it unchanged\" rule as the top-level fields — changing only `price` means sending `price_configuration: {\"price\": ...}` with nothing else in it. Never include `pricing_model`, `billing_type`, `billing_cycle`, or `currency` unless you intend to change that specific thing, and never guess a value for one of them from context — check `catalog_item_get`'s response for the current value first if you're unsure. Including one of these with the wrong value silently changes it alongside the field you meant to update.\nFor multiple items (\"raise these 5 prices\"), summarize the full change set for every item and get one explicit confirmation covering all of them before calling this tool repeatedly — cap this at roughly 20 items per run. For larger bulk repricing, point the user at catalog CSV export/import instead.\nIf the workspace's plan doesn't include Product Catalog, or the caller's role can't edit the catalog, this fails with a human-readable error rather than changing anything — never invent a result or silently retry as a different user.",
"inputSchema": {
"type": "object",
"required": [
"uuid"
],
"properties": {
"sku": {
"type": [
"string",
"null"
],
"default": null
},
"uuid": {
"type": "string",
"format": "uuid",
"description": "UUID of the catalog item to update, from a `catalog_items_search` or `catalog_item_get` result."
},
"title": {
"type": [
"string",
"null"
],
"default": null,
"description": "Item name, shown to customers."
},
"category_id": {
"type": [
"string",
"null"
],
"format": "uuid",
"default": null,
"description": "Set to a category UUID to move the item there. Leave null (or omit) to leave the category unchanged — this specific tool cannot remove an item from its category (that requires a separate categorization capability, not exposed here yet)."
},
"description": {
"type": [
"string",
"null"
],
"default": null,
"maxLength": 500
},
"bundle_items": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"required": [
"item"
],
"properties": {
"item": {
"oneOf": [
{
"type": "object",
"required": [
"kind",
"uuid"
],
"properties": {
"kind": {
"type": "string",
"const": "catalog_item"
},
"uuid": {
"type": "string",
"format": "uuid",
"description": "UUID of an existing regular catalog item to include."
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"title",
"price",
"currency"
],
"properties": {
"sku": {
"type": [
"string",
"null"
],
"default": null
},
"kind": {
"type": "string",
"const": "custom"
},
"price": {
"type": "number"
},
"title": {
"type": "string"
},
"currency": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
],
"default": null,
"maxLength": 500
}
},
"additionalProperties": false
}
]
},
"optional": {
"type": "boolean",
"default": false,
"description": "Whether this line can be removed from the bundle."
},
"quantity": {
"type": "integer",
"default": 1,
"minimum": 1
},
"selected": {
"type": "boolean",
"default": true,
"description": "Whether this line is included by default."
}
},
"additionalProperties": false
},
"default": null,
"maxItems": 300,
"minItems": 1,
"description": "Replaces the entire bundle composition. Only valid when the item is already a bundle and has no customer-facing configuration (selection groups or rules) set. Cannot be an empty list — there is no way to clear a bundle's composition through this tool. Leave null (or omit) to leave composition unchanged."
},
"custom_fields": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"value": {}
},
"additionalProperties": false
},
"default": null,
"description": "Replaces the entire custom fields list when set to an array (including an empty array, which clears all custom fields). Leave null (or omit) to leave custom fields unchanged."
},
"price_configuration": {
"type": "object",
"properties": {
"cost": {
"type": [
"number",
"null"
],
"default": null,
"description": "Internal cost basis, for margin awareness only."
},
"price": {
"type": [
"number",
"null"
],
"default": null,
"description": "Flat unit price. Omit or leave null when the item is priced by `tiers` instead."
},
"tiers": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"required": [
"min_qty",
"value"
],
"properties": {
"value": {
"type": "number"
},
"min_qty": {
"type": "integer",
"minimum": 1,
"description": "Minimum quantity this tier's price applies from."
}
}
},
"default": null,
"description": "Quantity price tiers. Set only one of `price` or `tiers` in the same call."
},
"currency": {
"type": [
"string",
"null"
],
"default": null,
"description": "Omit or leave null to leave the currency unchanged."
},
"billing_type": {
"anyOf": [
{
"enum": [
"one_time",
"recurring"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Omit or leave null to leave the billing type unchanged."
},
"billing_cycle": {
"anyOf": [
{
"enum": [
"weekly",
"monthly",
"annually",
"quarterly",
"semiannually"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"pricing_model": {
"anyOf": [
{
"enum": [
"fixed",
"volume_based"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Omit or leave null to leave the pricing model unchanged."
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"uuid",
"name",
"type",
"created_by",
"date_created",
"default_pricing",
"variants"
],
"properties": {
"name": {
"type": "string"
},
"type": {
"enum": [
"regular",
"bundle",
"custom"
],
"type": "string"
},
"uuid": {
"type": "string",
"format": "uuid"
},
"variants": {
"type": "array",
"items": {
"type": "object",
"required": [
"uuid",
"status",
"date_created"
],
"properties": {
"sku": {
"type": [
"string",
"null"
]
},
"uuid": {
"type": "string",
"format": "uuid"
},
"images": {
"type": "array",
"items": {
"type": "object",
"required": [
"src"
],
"properties": {
"src": {
"type": "string"
},
"order": {
"type": [
"integer",
"null"
]
},
"is_main": {
"type": [
"boolean",
"null"
]
}
}
}
},
"status": {
"enum": [
"draft",
"active",
"not_active"
],
"type": "string"
},
"pricing": {
"type": "array",
"items": {
"type": "object",
"required": [
"billing_type",
"currency",
"pricing_source"
],
"properties": {
"cost": {
"type": [
"number",
"null"
],
"description": "Internal cost basis, for margin awareness only."
},
"price": {
"type": [
"number",
"null"
],
"description": "Flat unit price when `tiers` is absent; ignore in favor of `tiers` when present."
},
"tiers": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"required": [
"min_qty",
"value"
],
"properties": {
"value": {
"type": "number"
},
"min_qty": {
"type": "integer",
"description": "Minimum quantity this tier's price applies from."
}
}
},
"description": "Present when this item is priced by quantity — use these instead of `price`."
},
"currency": {
"type": "string"
},
"billing_type": {
"enum": [
"one_time",
"recurring",
"unspecified"
],
"type": "string"
},
"billing_period": {
"anyOf": [
{
"enum": [
"weekly",
"monthly",
"annually",
"quarterly",
"semiannually"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "Set when billing_type is \"recurring\"; otherwise null."
},
"pricing_source": {
"enum": [
"custom",
"product_bundle"
],
"type": "string",
"description": "\"product_bundle\" means this price is rolled up from bundle composition rather than set directly."
}
},
"additionalProperties": false
}
},
"description": {
"type": [
"string",
"null"
]
},
"date_created": {
"type": "string",
"format": "date-time"
},
"custom_fields": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"value": {}
},
"additionalProperties": false
}
},
"date_modified": {
"type": [
"string",
"null"
],
"format": "date-time"
}
},
"additionalProperties": false
}
},
"created_by": {
"type": "string",
"description": "Internal id of the user who created this item."
},
"modified_by": {
"type": [
"string",
"null"
],
"description": "Internal id of the user who last modified this item."
},
"bundle_items": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"required": [
"quantity",
"optional",
"selected",
"item"
],
"properties": {
"item": {
"oneOf": [
{
"type": "object",
"required": [
"kind",
"title",
"pricing"
],
"properties": {
"sku": {
"type": [
"string",
"null"
]
},
"kind": {
"type": "string",
"const": "catalog_item"
},
"uuid": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "Absent if the referenced catalog item no longer exists."
},
"title": {
"type": "string"
},
"images": {
"type": "array",
"items": {
"type": "object",
"required": [
"src"
],
"properties": {
"src": {
"type": "string"
},
"order": {
"type": [
"integer",
"null"
]
},
"is_main": {
"type": [
"boolean",
"null"
]
}
}
}
},
"pricing": {
"type": "object",
"required": [
"billing_type",
"currency",
"pricing_source"
],
"properties": {
"cost": {
"type": [
"number",
"null"
],
"description": "Internal cost basis, for margin awareness only."
},
"price": {
"type": [
"number",
"null"
],
"description": "Flat unit price when `tiers` is absent; ignore in favor of `tiers` when present."
},
"tiers": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"required": [
"min_qty",
"value"
],
"properties": {
"value": {
"type": "number"
},
"min_qty": {
"type": "integer",
"description": "Minimum quantity this tier's price applies from."
}
}
},
"description": "Present when this item is priced by quantity — use these instead of `price`."
},
"currency": {
"type": "string"
},
"billing_type": {
"enum": [
"one_time",
"recurring",
"unspecified"
],
"type": "string"
},
"billing_period": {
"anyOf": [
{
"enum": [
"weekly",
"monthly",
"annually",
"quarterly",
"semiannually"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "Set when billing_type is \"recurring\"; otherwise null."
},
"pricing_source": {
"enum": [
"custom",
"product_bundle"
],
"type": "string",
"description": "\"product_bundle\" means this price is rolled up from bundle composition rather than set directly."
}
},
"additionalProperties": false
},
"description": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"title",
"uuid",
"currency"
],
"properties": {
"sku": {
"type": [
"string",
"null"
]
},
"kind": {
"type": "string",
"const": "custom"
},
"uuid": {
"type": "string",
"format": "uuid"
},
"price": {
"type": [
"number",
"null"
]
},
"title": {
"type": "string"
},
"images": {
"type": "array",
"items": {
"type": "object",
"required": [
"src"
],
"properties": {
"src": {
"type": "string"
},
"order": {
"type": [
"integer",
"null"
]
},
"is_main": {
"type": [
"boolean",
"null"
]
}
}
}
},
"currency": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
]
},
"optional": {
"type": "boolean",
"description": "Whether this line can be removed from the bundle."
},
"quantity": {
"type": "integer"
},
"selected": {
"type": "boolean",
"description": "Whether this line is included by default."
}
},
"additionalProperties": false
}
},
"date_created": {
"type": "string",
"format": "date-time"
},
"category_name": {
"type": [
"string",
"null"
]
},
"date_modified": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"default_pricing": {
"type": "object",
"required": [
"billing_type",
"currency",
"pricing_source"
],
"properties": {
"cost": {
"type": [
"number",
"null"
],
"description": "Internal cost basis, for margin awareness only."
},
"price": {
"type": [
"number",
"null"
],
"description": "Flat unit price when `tiers` is absent; ignore in favor of `tiers` when present."
},
"tiers": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"required": [
"min_qty",
"value"
],
"properties": {
"value": {
"type": "number"
},
"min_qty": {
"type": "integer",
"description": "Minimum quantity this tier's price applies from."
}
}
},
"description": "Present when this item is priced by quantity — use these instead of `price`."
},
"currency": {
"type": "string"
},
"billing_type": {
"enum": [
"one_time",
"recurring",
"unspecified"
],
"type": "string"
},
"billing_period": {
"anyOf": [
{
"enum": [
"weekly",
"monthly",
"annually",
"quarterly",
"semiannually"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "Set when billing_type is \"recurring\"; otherwise null."
},
"pricing_source": {
"enum": [
"custom",
"product_bundle"
],
"type": "string",
"description": "\"product_bundle\" means this price is rolled up from bundle composition rather than set directly."
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description98/100
Search the workspace's product catalog categories by free text against the category name. Use this to find an existing category before assigning it to a catalog item, or before renaming, moving, or deleting it by UUID. A query with no matches returns an empty list — treat that as "nothing found," not an invitation to guess a category or invent one.
This tool only matches by name — it does not browse the full hierarchy or show parent/child relationships. Use `catalog_category_tree` instead to see the complete category tree.
The description explains the capability, when to use it, and what to expect.
Inputs25/100
1 of 3 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
query
Free-text search matched against category name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
page
Not provided
Missing description. Explain what this value means and how to supply it.
per_page
Not provided
Missing description. Explain what this value means and how to supply it.
{
"type": "object",
"required": [
"categories",
"has_more_items",
"total"
],
"properties": {
"total": {
"type": "integer",
"description": "Total number of categories matching the query, across all pages."
},
"categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"uuid",
"name"
],
"properties": {
"name": {
"type": "string"
},
"uuid": {
"type": "string",
"format": "uuid",
"description": "Internal identifier, for chaining into other catalog category tools (e.g. `catalog_category_get`, `catalog_category_update`, `catalog_category_delete`). Do not show this to the user — refer to the category by `name` instead, unless the user explicitly asks for the id."
}
},
"additionalProperties": false
}
},
"has_more_items": {
"type": "boolean",
"description": "Whether another page of results is available."
}
},
"additionalProperties": false
}
Original tool metadata
{
"name": "catalog_categories_search",
"title": "Search product catalog categories",
"description": "Search the workspace's product catalog categories by free text against the category name. Use this to find an existing category before assigning it to a catalog item, or before renaming, moving, or deleting it by UUID. A query with no matches returns an empty list — treat that as \"nothing found,\" not an invitation to guess a category or invent one.\nThis tool only matches by name — it does not browse the full hierarchy or show parent/child relationships. Use `catalog_category_tree` instead to see the complete category tree.",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"page": {
"type": "integer",
"default": 1,
"minimum": 1
},
"query": {
"type": "string",
"minLength": 1,
"description": "Free-text search matched against category name."
},
"per_page": {
"type": "integer",
"default": 50,
"minimum": 1
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"categories",
"has_more_items",
"total"
],
"properties": {
"total": {
"type": "integer",
"description": "Total number of categories matching the query, across all pages."
},
"categories": {
"type": "array",
"items": {
"type": "object",
"required": [
"uuid",
"name"
],
"properties": {
"name": {
"type": "string"
},
"uuid": {
"type": "string",
"format": "uuid",
"description": "Internal identifier, for chaining into other catalog category tools (e.g. `catalog_category_get`, `catalog_category_update`, `catalog_category_delete`). Do not show this to the user — refer to the category by `name` instead, unless the user explicitly asks for the id."
}
},
"additionalProperties": false
}
},
"has_more_items": {
"type": "boolean",
"description": "Whether another page of results is available."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description92/100
Get a specific catalog category by UUID — use once a category has been identified (for example via `catalog_categories_search`) and its parent is needed.
`parent` is the immediate parent category's UUID, or null for a top-level category — `parent_name` is its human-readable name, use that when referring to the parent in a response to the user. For the full ancestry or the category's children, use `catalog_category_tree` instead.
The description explains the capability, when to use it, and what to expect.
Inputs98/100
Input documentation gives an agent enough context to populate the arguments.
uuid
UUID of the catalog category, from a `catalog_categories_search` result.
{
"type": "object",
"required": [
"uuid",
"name"
],
"properties": {
"name": {
"type": "string"
},
"uuid": {
"type": "string",
"format": "uuid",
"description": "Internal identifier, for chaining into other catalog category tools. Do not show this to the user — refer to the category by `name` instead, unless the user explicitly asks for the id."
},
"parent": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "Internal identifier of the immediate parent category, or null if top-level. Do not show this to the user — use `parent_name` instead, unless the user explicitly asks for the id."
},
"parent_name": {
"type": [
"string",
"null"
],
"description": "Name of the immediate parent category, or null if top-level or the parent could not be resolved."
}
},
"additionalProperties": false
}
Original tool metadata
{
"name": "catalog_category_get",
"title": "Get catalog category details",
"description": "Get a specific catalog category by UUID — use once a category has been identified (for example via `catalog_categories_search`) and its parent is needed.\n`parent` is the immediate parent category's UUID, or null for a top-level category — `parent_name` is its human-readable name, use that when referring to the parent in a response to the user. For the full ancestry or the category's children, use `catalog_category_tree` instead.",
"inputSchema": {
"type": "object",
"required": [
"uuid"
],
"properties": {
"uuid": {
"type": "string",
"format": "uuid",
"description": "UUID of the catalog category, from a `catalog_categories_search` result."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"uuid",
"name"
],
"properties": {
"name": {
"type": "string"
},
"uuid": {
"type": "string",
"format": "uuid",
"description": "Internal identifier, for chaining into other catalog category tools. Do not show this to the user — refer to the category by `name` instead, unless the user explicitly asks for the id."
},
"parent": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "Internal identifier of the immediate parent category, or null if top-level. Do not show this to the user — use `parent_name` instead, unless the user explicitly asks for the id."
},
"parent_name": {
"type": [
"string",
"null"
],
"description": "Name of the immediate parent category, or null if top-level or the parent could not be resolved."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description97/100
Get the workspace's catalog category hierarchy as a nested tree.
Omit `category_uuid` for the complete tree of every top-level category and its descendants — use this to browse the full hierarchy or see a category's children.
Provide `category_uuid` (for example from a `catalog_categories_search` or `catalog_category_get` result) to instead get the path from the catalog's top level down to that category: the branch containing it (with its sibling categories at each level along the way, and the requested category itself as the deepest node — without its own children), plus every other top-level category as a separate, childless placeholder node. This does NOT return the requested category's children — to see those, omit `category_uuid` and find the category by name in the full tree instead.
For finding a category by name, use `catalog_categories_search` instead; for a single category's immediate parent, use `catalog_category_get`.
The description explains the capability, when to use it, and what to expect.
Inputs96/100
Input documentation gives an agent enough context to populate the arguments.
category_uuid
UUID of a category to center the tree on. Omit (or pass null) to get the complete category tree instead. See the tool description — this does not return the category's own children, only the ancestor path down to it.
{
"type": "object",
"$defs": {
"CategoryTreeNode": {
"type": "object",
"required": [
"uuid",
"name",
"children"
],
"properties": {
"name": {
"type": "string"
},
"uuid": {
"type": "string",
"format": "uuid",
"description": "Internal identifier, for chaining into other catalog category tools (e.g. `catalog_category_get`, `catalog_category_update`, `catalog_category_delete`). Do not show this to the user — refer to the category by `name` instead, unless the user explicitly asks for the id."
},
"children": {
"type": "array",
"items": {
"$ref": "#/$defs/CategoryTreeNode"
}
}
},
"additionalProperties": false
}
},
"required": [
"categories"
],
"properties": {
"categories": {
"type": "array",
"items": {
"$ref": "#/$defs/CategoryTreeNode"
}
}
},
"additionalProperties": false
}
Original tool metadata
{
"name": "catalog_category_tree",
"title": "Get catalog category tree",
"description": "Get the workspace's catalog category hierarchy as a nested tree.\nOmit `category_uuid` for the complete tree of every top-level category and its descendants — use this to browse the full hierarchy or see a category's children.\nProvide `category_uuid` (for example from a `catalog_categories_search` or `catalog_category_get` result) to instead get the path from the catalog's top level down to that category: the branch containing it (with its sibling categories at each level along the way, and the requested category itself as the deepest node — without its own children), plus every other top-level category as a separate, childless placeholder node. This does NOT return the requested category's children — to see those, omit `category_uuid` and find the category by name in the full tree instead.\nFor finding a category by name, use `catalog_categories_search` instead; for a single category's immediate parent, use `catalog_category_get`.",
"inputSchema": {
"type": "object",
"properties": {
"category_uuid": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "UUID of a category to center the tree on. Omit (or pass null) to get the complete category tree instead. See the tool description — this does not return the category's own children, only the ancestor path down to it."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$defs": {
"CategoryTreeNode": {
"type": "object",
"required": [
"uuid",
"name",
"children"
],
"properties": {
"name": {
"type": "string"
},
"uuid": {
"type": "string",
"format": "uuid",
"description": "Internal identifier, for chaining into other catalog category tools (e.g. `catalog_category_get`, `catalog_category_update`, `catalog_category_delete`). Do not show this to the user — refer to the category by `name` instead, unless the user explicitly asks for the id."
},
"children": {
"type": "array",
"items": {
"$ref": "#/$defs/CategoryTreeNode"
}
}
},
"additionalProperties": false
}
},
"required": [
"categories"
],
"properties": {
"categories": {
"type": "array",
"items": {
"$ref": "#/$defs/CategoryTreeNode"
}
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description97/100
Permanently delete a category and all of its descendant categories from the workspace's product catalog. This is a hard delete with no soft-delete state and no restore.
Before calling this tool, identify the exact category by name and UUID, explain which deletion mode will be used and its consequences, and explicitly ask the user to confirm deleting that specific category. Never guess a category UUID or treat an earlier request to find, view, or modify a category as deletion approval.
Leave `all_items` false to preserve the catalog items in the deleted category subtree. The category and all descendant categories are permanently deleted, while their items are moved to the deleted category's parent. If the deleted category is top-level, those items become uncategorized.
Set `all_items` to true only when the user explicitly confirms that the items should also be permanently deleted. In this mode, the category, all descendant categories, and every catalog item in that subtree are deleted with no restore. Never infer this mode or silently retry with a different mode.
The description explains the capability, when to use it, and what to expect.
Inputs88/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
uuid
UUID of the category to delete.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
all_items
When false, preserve subtree items by moving them to the deleted category's parent. When true, permanently delete those items too.
No output schema is declared. Add one for structured results so clients can interpret returned fields.
Not declared
Original tool metadata
{
"name": "catalog_category_delete",
"title": "Delete a product catalog category",
"description": "Permanently delete a category and all of its descendant categories from the workspace's product catalog. This is a hard delete with no soft-delete state and no restore.\nBefore calling this tool, identify the exact category by name and UUID, explain which deletion mode will be used and its consequences, and explicitly ask the user to confirm deleting that specific category. Never guess a category UUID or treat an earlier request to find, view, or modify a category as deletion approval.\nLeave `all_items` false to preserve the catalog items in the deleted category subtree. The category and all descendant categories are permanently deleted, while their items are moved to the deleted category's parent. If the deleted category is top-level, those items become uncategorized.\nSet `all_items` to true only when the user explicitly confirms that the items should also be permanently deleted. In this mode, the category, all descendant categories, and every catalog item in that subtree are deleted with no restore. Never infer this mode or silently retry with a different mode.",
"inputSchema": {
"type": "object",
"required": [
"uuid"
],
"properties": {
"uuid": {
"type": "string",
"format": "uuid",
"description": "UUID of the category to delete."
},
"all_items": {
"type": "boolean",
"default": false,
"description": "When false, preserve subtree items by moving them to the deleted category's parent. When true, permanently delete those items too."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description93/100
Create a new category in the workspace's product catalog. This is a write operation. Before calling this tool, show the user the category name and where it will be created, then explicitly ask them to confirm. Do not call it from an earlier request that only searched for or discussed categories.
Omit `parent` to create a top-level category. To create a nested category, pass the UUID of its immediate parent; resolve the category first and never guess its UUID.
The service enforces the workspace category-count and nesting-depth limits. If either limit is reached, this tool fails with a human-readable error and creates nothing. Report that error to the user instead of retrying with a different parent or name.
The description explains the capability, when to use it, and what to expect.
Inputs63/100
Explain the meaning of this value, not just its name.
name
Category name.
Explain the meaning of this value, not just its name.
parent
UUID of the immediate parent category. Omit or leave null to create a top-level category.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
{
"name": "catalog_category_create",
"title": "Create a product catalog category",
"description": "Create a new category in the workspace's product catalog. This is a write operation. Before calling this tool, show the user the category name and where it will be created, then explicitly ask them to confirm. Do not call it from an earlier request that only searched for or discussed categories.\nOmit `parent` to create a top-level category. To create a nested category, pass the UUID of its immediate parent; resolve the category first and never guess its UUID.\nThe service enforces the workspace category-count and nesting-depth limits. If either limit is reached, this tool fails with a human-readable error and creates nothing. Report that error to the user instead of retrying with a different parent or name.",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Category name."
},
"parent": {
"type": [
"string",
"null"
],
"format": "uuid",
"default": null,
"description": "UUID of the immediate parent category. Omit or leave null to create a top-level category."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"uuid",
"name",
"parent"
],
"properties": {
"name": {
"type": "string"
},
"uuid": {
"type": "string",
"format": "uuid"
},
"parent": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "Null for a top-level category."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description90/100
Rename and/or move an existing category in the workspace's product catalog. Before calling this tool, identify the exact category by UUID, resolve the target parent when moving it, show the user the before and after state, and explicitly ask them to confirm that specific update.
Set `name` to rename the category. Omit `parent_category_id` to leave its parent unchanged, set it to a category UUID to move beneath that category, or set it to null to move the category to the top level. At least one of `name` or `parent_category_id` must be supplied.
When both fields are supplied, the move runs first and the rename second. They are separate operations, not one transaction. If the move fails, the rename is not attempted. If the move succeeds but the rename fails, the category remains moved; report that partial result and fetch the category again instead of claiming the whole update was rolled back.
The description explains the capability, when to use it, and what to expect.
Inputs75/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
uuid
UUID of the category to update.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
name
New category name; omit or leave null to keep the current name.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
parent_category_id
New immediate parent UUID. Set null to move the category to the top level; omit the field to leave its parent unchanged.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
{
"name": "catalog_category_update",
"title": "Update a product catalog category",
"description": "Rename and/or move an existing category in the workspace's product catalog. Before calling this tool, identify the exact category by UUID, resolve the target parent when moving it, show the user the before and after state, and explicitly ask them to confirm that specific update.\nSet `name` to rename the category. Omit `parent_category_id` to leave its parent unchanged, set it to a category UUID to move beneath that category, or set it to null to move the category to the top level. At least one of `name` or `parent_category_id` must be supplied.\nWhen both fields are supplied, the move runs first and the rename second. They are separate operations, not one transaction. If the move fails, the rename is not attempted. If the move succeeds but the rename fails, the category remains moved; report that partial result and fetch the category again instead of claiming the whole update was rolled back.",
"inputSchema": {
"type": "object",
"required": [
"uuid"
],
"properties": {
"name": {
"type": [
"string",
"null"
],
"default": null,
"description": "New category name; omit or leave null to keep the current name."
},
"uuid": {
"type": "string",
"format": "uuid",
"description": "UUID of the category to update."
},
"parent_category_id": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
],
"description": "New immediate parent UUID. Set null to move the category to the top level; omit the field to leave its parent unchanged."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"uuid",
"name",
"parent"
],
"properties": {
"name": {
"type": "string"
},
"uuid": {
"type": "string",
"format": "uuid"
},
"parent": {
"type": [
"string",
"null"
],
"format": "uuid",
"description": "UUID of the immediate parent category, or null if top-level."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description96/100
Create a short-lived upload slot for a PDF or DOCX file. Upload the file bytes to the returned presigned URL with an HTTP PUT request, then pass file_uuid to documents_create with source set to "file". Try the PUT request yourself first. If you cannot send the file or the PUT request fails, do not silently use another upload method or recreate the document. Offer the upload methods available to the current client and the option to recreate the document from its text, then wait for the user to choose. Explain that recreating from text will not preserve the original design and layout. Never call this fallback "markdown" in user-facing text.
The description explains the capability, when to use it, and what to expect.
Inputs83/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
file_name
Original file name, including the .pdf or .docx extension.
Clear enough to supply this argument.
content_length
Exact size, in bytes, of the file that will be uploaded. When provided, the upload is rejected unless the client sends exactly this many bytes, and the request itself is rejected if this value is negative or 150 MB (157286400 bytes) or larger.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
content_type
MIME type of the file that will be uploaded, for example application/pdf. When provided, the upload is rejected unless the client sends exactly this value (case-sensitive) in the Content-Type header of the PUT request, and the request itself is rejected if this type is not allowed for the organization.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
{
"type": "object",
"required": [
"presigned_url",
"file_uuid",
"file_name"
],
"properties": {
"file_name": {
"type": "string",
"description": "Original file name associated with the upload slot."
},
"file_uuid": {
"type": "string",
"format": "uuid",
"description": "Owner-bound file reference to pass to documents_create after the upload completes."
},
"presigned_url": {
"type": "string",
"description": "Short-lived S3 URL to which the file bytes must be uploaded with an HTTP PUT request."
}
},
"additionalProperties": false
}
Original tool metadata
{
"name": "files_request_upload_url",
"title": "Request file upload URL",
"description": "Create a short-lived upload slot for a PDF or DOCX file. Upload the file bytes to the returned presigned URL with an HTTP PUT request, then pass file_uuid to documents_create with source set to \"file\". Try the PUT request yourself first. If you cannot send the file or the PUT request fails, do not silently use another upload method or recreate the document. Offer the upload methods available to the current client and the option to recreate the document from its text, then wait for the user to choose. Explain that recreating from text will not preserve the original design and layout. Never call this fallback \"markdown\" in user-facing text.",
"inputSchema": {
"type": "object",
"required": [
"file_name"
],
"properties": {
"file_name": {
"type": "string",
"description": "Original file name, including the .pdf or .docx extension."
},
"content_type": {
"type": "string",
"description": "MIME type of the file that will be uploaded, for example application/pdf. When provided, the upload is rejected unless the client sends exactly this value (case-sensitive) in the Content-Type header of the PUT request, and the request itself is rejected if this type is not allowed for the organization."
},
"content_length": {
"type": "integer",
"minimum": 0,
"description": "Exact size, in bytes, of the file that will be uploaded. When provided, the upload is rejected unless the client sends exactly this many bytes, and the request itself is rejected if this value is negative or 150 MB (157286400 bytes) or larger."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"presigned_url",
"file_uuid",
"file_name"
],
"properties": {
"file_name": {
"type": "string",
"description": "Original file name associated with the upload slot."
},
"file_uuid": {
"type": "string",
"format": "uuid",
"description": "Owner-bound file reference to pass to documents_create after the upload completes."
},
"presigned_url": {
"type": "string",
"description": "Short-lived S3 URL to which the file bytes must be uploaded with an HTTP PUT request."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description95/100
List metadata field definitions in the current workspace. Send return_ai_extraction true so system AI extraction fields are included with workspace fields. Send include_extraction_settings true so each field includes is_extraction_enabled, extraction_instructions, and default_extraction_instructions. extraction_instructions is the workspace override when one exists. Use q to match a field key. This tool returns field definitions, not values stored on documents. Copy key exactly when reading metadata for a document.
The description explains the capability, when to use it, and what to expect.
Inputs39/100
3 of 7 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
q
Case-insensitive match against the field key.
Clear enough to supply this argument.
return_ai_extraction
Include active system AI extraction fields together with workspace fields. Omit this and only workspace fields are returned.
Clear enough to supply this argument.
include_extraction_settings
Populate is_extraction_enabled, extraction_instructions, and default_extraction_instructions. extraction_instructions is the workspace override when one exists. Omit this and those three fields are null.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
page
Not provided
Missing description. Explain what this value means and how to supply it.
page_size
Not provided
Missing description. Explain what this value means and how to supply it.
order_by
Not provided
Missing description. Explain what this value means and how to supply it.
direction
Not provided
Missing description. Explain what this value means and how to supply it.
Edit document, template or content library item content
The title clearly communicates the tool’s action and subject. Keep it concise.
Description99/100
Edit an existing PandaDoc document, template or content library item from a natural-language instruction. Provide exactly one of document_id or template_id (pass a content library item's id as document_id), and a complete edit instruction, including relevant context that helps execute the request without asking the user a follow-up question. Supported edits include adding, updating, moving, and removing blocks, fields, heading-delimited sections (a heading plus the blocks under it), tables, variables, and pages. Removing content inside the document or template is done with this tool. The tool is non-interactive and cannot pause for a follow-up answer. If required details are missing, the target is ambiguous, or the requested action is unsupported (for example removing an uploaded PDF page), the response has success=false and code=non_executable; message explains why or asks for the missing information. Each call has a time limit of about one minute. An instruction that bundles many independent changes, such as rewriting several sections or more than about five separate edits, can run out of time partway through. Send those as several calls, each covering one section or a few related changes, and check each result before sending the next. The call waits for the agent to finish. When success=true, the agent reports that it fulfilled the instruction. This does not guarantee that the editor or downstream content reads have refreshed. An immediately stale read is not proof that the edit failed. Edits are not atomic: a failed or interrupted call does not guarantee that nothing changed. If code=outcome_unknown or the call times out, changes may already have been applied. Re-read the document or template before further edits and never repeat the full instruction without checking. If code=partially_executed, some changes were applied and the message says which. Send only the remaining changes in a new call; do not repeat the full instruction. Regular documents can be edited only while they are drafts. If the target cannot be edited (a document that is no longer a draft, or a locked block), the response has success=false and code=not_editable, and message says why. Tell the user; do not retry the same request, and do not move the document back to draft without the user's consent. If the user has reached their AI usage limit, the response has success=false and code=usage_limit_reached, and nothing was changed. Tell the user; do not retry until the limit resets.
The description explains the capability, when to use it, and what to expect.
Inputs75/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
document_id
Identifier of the document or content library item to edit. Mutually exclusive with template_id.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
template_id
Identifier of the template to edit. Mutually exclusive with document_id.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
instruction
Complete natural-language edit instruction, including any relevant context available to the caller. May ask to add, update, or remove blocks, tables, fields, or heading-delimited sections.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
{
"type": "object",
"required": [
"success",
"message"
],
"properties": {
"code": {
"enum": [
"non_executable",
"outcome_unknown",
"not_editable",
"usage_limit_reached",
"partially_executed",
null
],
"type": [
"string",
"null"
],
"description": "non_executable means the instruction could not be carried out, e.g. missing details. outcome_unknown means execution stopped without a confirmed result and changes may already be applied; re-read before further edits, never retry the full instruction blindly. not_editable means the target cannot be edited, such as a document that is no longer a draft or a locked block; nothing was changed. usage_limit_reached means the user has reached their AI usage limit; nothing was changed. partially_executed means some requested changes were applied and others were not; the message says which. Null when success is true."
},
"message": {
"type": "string",
"description": "Human-friendly summary of the outcome."
},
"success": {
"type": "boolean",
"description": "True when the agent finished and reported the instruction fulfilled."
}
}
}
Original tool metadata
{
"name": "content_edit",
"title": "Edit document, template or content library item content",
"description": "Edit an existing PandaDoc document, template or content library item from a natural-language instruction. Provide exactly one of document_id or template_id (pass a content library item's id as document_id), and a complete edit instruction, including relevant context that helps execute the request without asking the user a follow-up question. Supported edits include adding, updating, moving, and removing blocks, fields, heading-delimited sections (a heading plus the blocks under it), tables, variables, and pages. Removing content inside the document or template is done with this tool. The tool is non-interactive and cannot pause for a follow-up answer. If required details are missing, the target is ambiguous, or the requested action is unsupported (for example removing an uploaded PDF page), the response has success=false and code=non_executable; message explains why or asks for the missing information. Each call has a time limit of about one minute. An instruction that bundles many independent changes, such as rewriting several sections or more than about five separate edits, can run out of time partway through. Send those as several calls, each covering one section or a few related changes, and check each result before sending the next. The call waits for the agent to finish. When success=true, the agent reports that it fulfilled the instruction. This does not guarantee that the editor or downstream content reads have refreshed. An immediately stale read is not proof that the edit failed. Edits are not atomic: a failed or interrupted call does not guarantee that nothing changed. If code=outcome_unknown or the call times out, changes may already have been applied. Re-read the document or template before further edits and never repeat the full instruction without checking. If code=partially_executed, some changes were applied and the message says which. Send only the remaining changes in a new call; do not repeat the full instruction. Regular documents can be edited only while they are drafts. If the target cannot be edited (a document that is no longer a draft, or a locked block), the response has success=false and code=not_editable, and message says why. Tell the user; do not retry the same request, and do not move the document back to draft without the user's consent. If the user has reached their AI usage limit, the response has success=false and code=usage_limit_reached, and nothing was changed. Tell the user; do not retry until the limit resets.\n",
"inputSchema": {
"type": "object",
"required": [
"instruction"
],
"properties": {
"document_id": {
"type": "string",
"minLength": 1,
"description": "Identifier of the document or content library item to edit. Mutually exclusive with template_id."
},
"instruction": {
"type": "string",
"minLength": 1,
"description": "Complete natural-language edit instruction, including any relevant context available to the caller. May ask to add, update, or remove blocks, tables, fields, or heading-delimited sections."
},
"template_id": {
"type": "string",
"minLength": 1,
"description": "Identifier of the template to edit. Mutually exclusive with document_id."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"success",
"message"
],
"properties": {
"code": {
"enum": [
"non_executable",
"outcome_unknown",
"not_editable",
"usage_limit_reached",
"partially_executed",
null
],
"type": [
"string",
"null"
],
"description": "non_executable means the instruction could not be carried out, e.g. missing details. outcome_unknown means execution stopped without a confirmed result and changes may already be applied; re-read before further edits, never retry the full instruction blindly. not_editable means the target cannot be edited, such as a document that is no longer a draft or a locked block; nothing was changed. usage_limit_reached means the user has reached their AI usage limit; nothing was changed. partially_executed means some requested changes were applied and others were not; the message says which. Null when success is true."
},
"message": {
"type": "string",
"description": "Human-friendly summary of the outcome."
},
"success": {
"type": "boolean",
"description": "True when the agent finished and reported the instruction fulfilled."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
The title clearly communicates the tool’s action and subject. Keep it concise.
Description97/100
Update one or more existing quotes on a document — sections, line items, prices, quantities, discounts, fees, and taxes. Up to 25 quotes per call; each quote is applied independently, so one quote's failure never affects the others.
This tool cannot create a new quote, and a quote cannot be created at document-creation time either — only existing quotes (already present on the document) can be updated.
Destructive replace, not a diff: including `sections` replaces the quote's ENTIRE section list — any current section whose id is left out is REMOVED. The same applies one level down: including `items` on a section replaces that section's ENTIRE item list — any current item whose id is left out is REMOVED (pass an empty list to clear all items from a section). To change only part of a quote/section, first fetch its current state and include every section/item you want to keep, changing only the fields that need to change. Fields left out of an included section/item are left untouched; a field explicitly set to `null` where the schema allows it (section `name`; item `description`, `billing_frequency`, `contract_term`, `thumbnail`, `bundle_items`, `pricing_source`) clears that field instead. `price_settings` is the exception: an explicit `null` there is treated the same as omitting it (left unchanged), since it can't itself express "replace with the catalog's tiers" or any other concrete cleared state.
When creating a new item (one with no `id`) whose `sku` matches a catalog product, any of `name`, `description`, `price`, `cost`, `images`, `thumbnail`, `custom_columns`, and `bundle_items` left out of that item are filled in from the catalog item. Any of these fields you do provide — including an explicit `null` where the schema allows it — always overrides the catalog's value for that item; the catalog is only a fallback for what you leave out. This fallback never applies when updating an existing item (one with an `id`): a field you leave out of an existing item is simply left untouched, exactly as elsewhere in this tool, even if its `sku` matches a catalog product — it is never reset to the catalog's current value just because you didn't mention it in this call.
`billing_frequency`, `price_settings`, and `pricing_source` describe how a catalog product is priced, so when creating a new item this way they are not yours to set at all — the catalog's own value always wins there, whether you provide one or not. `price` joins them in that case only when the catalog item has pricing tiers (non-empty `price_settings`): a flat price doesn't apply to a tiered product, so your `price` is ignored too, same as these three. None of this applies to an existing item (one with an `id`): there, every field — including `price` on an item that currently has tiered pricing — follows the plain "omit to leave unchanged, provide to set" rule above, with no catalog lock of any kind.
`options` (on a line item) and `settings` (on a section or quote) are all-or-nothing: when included, every property in them must be given a value — there is no partial update of a single property inside these objects.
Returns one result per requested quote, in the same order as the request, keyed by `id` and discriminated by `status`: `ok` carries the quote's full state after the update; `not_in_document` (the quote id is not linked to this document, or the caller lacks edit access to it), `not_found` (no such quote), and `conflict` (the quote was updated concurrently — refetch and retry) are per-quote outcomes that leave the other quotes in the batch unaffected; `internal_error` is an isolated per-quote failure safe to retry on its own.
The description explains the capability, when to use it, and what to expect.
Inputs43/100
17 of 36 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values.
document_id
Id of the document the quotes belong to.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
quotes › items › id
Id of the quote to update, from the document's details.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
$defs › QuoteUpdate › currency
ISO 4217 currency code (e.g. USD, EUR). Omit to leave unchanged.
Clear enough to supply this argument.
$defs › Adjustment › type
Not provided
Missing description. Explain what this value means and how to supply it.
$defs › Adjustment › value
Not provided
Missing description. Explain what this value means and how to supply it.
$defs › Summary › custom_fields
Not provided
Missing description. Explain what this value means and how to supply it.
$defs › QuoteSettings › selection_type
Not provided
Missing description. Explain what this value means and how to supply it.
$defs › SectionUpdate › id
Id of an existing section to update. Omit to create a new section.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
$defs › SectionUpdate › name
Section name. Omit to leave unchanged. Pass null to clear it.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
$defs › SectionSettings › selected
Not provided
Missing description. Explain what this value means and how to supply it.
$defs › SectionSettings › optional
Not provided
Missing description. Explain what this value means and how to supply it.
$defs › SectionSettings › selection_type
Not provided
Missing description. Explain what this value means and how to supply it.
$defs › ItemUpdate › id
Id of an existing item to update. Omit to create a new item.
Clear enough to supply this argument.
$defs › ItemUpdate › sku
On a new item (no id), matching this against the catalog auto-fills name, description, price, cost, billing_frequency, price_settings, images, thumbnail, custom_columns, and bundle_items for any of those left out of this item. Has no such effect when updating an existing item (one with an id).
Clear enough to supply this argument.
$defs › ItemUpdate › name
Omit to use the catalog item's name when sku matches a catalog product; otherwise left unchanged. Provide a value to override the catalog. A previous request to clear or set name must NOT be carried forward automatically to subsequent updates.
Clear enough to supply this argument.
$defs › ItemUpdate › description
Omit to use the catalog item's description when sku matches a catalog product; otherwise left unchanged. Provide a value, or null to clear it, to override the catalog. A previous request to clear or set description must NOT be carried forward automatically to subsequent updates.
Clear enough to supply this argument.
$defs › ItemUpdate › qty
Not provided
Missing description. Explain what this value means and how to supply it.
$defs › ItemUpdate › price
Omit to use the catalog item's price when sku matches a catalog product; otherwise left unchanged. Provide a value to override the catalog. Exception: when creating a new item (no id) whose sku matches a catalog product with pricing tiers (see price_settings), a flat price doesn't apply and this is ignored either way — this exception does NOT apply to an existing item (one with an id), where a value you provide is always applied, even if that item currently has tiered pricing. A previous request to clear or set price must NOT be carried forward automatically to subsequent updates.
Clear enough to supply this argument.
$defs › PriceSettings › tiers › items › min_qty
Not provided
Missing description. Explain what this value means and how to supply it.
$defs › PriceSettings › tiers › items › value
Not provided
Missing description. Explain what this value means and how to supply it.
$defs › PriceSettings › base_value
Not provided
Missing description. Explain what this value means and how to supply it.
$defs › ItemUpdate › cost
Omit to use the catalog item's cost when sku matches a catalog product; otherwise left unchanged. Provide a value to override the catalog. A previous request to clear or set cost must NOT be carried forward automatically to subsequent updates.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
$defs › ItemUpdate › billing_frequency
When creating a new item (no id) whose sku matches a catalog product, always the catalog item's billing cycle — not yours to set in that case, whether you provide a value or not. Otherwise (no sku match, or an existing item with an id — even one whose sku matches a catalog product) omit to leave unchanged; provide a value, or null to clear it. A previous request to clear or set billing_frequency must NOT be carried forward automatically to subsequent updates.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
$defs › ItemUpdate › reference_id
Not provided
Missing description. Explain what this value means and how to supply it.
$defs › ItemOptions › qty_editable
Not provided
Missing description. Explain what this value means and how to supply it.
$defs › ItemOptions › selected
Not provided
Missing description. Explain what this value means and how to supply it.
$defs › ItemOptions › optional
Not provided
Missing description. Explain what this value means and how to supply it.
$defs › ItemUpdate › contract_term
Omit to leave unchanged. Pass null to clear it.
Clear enough to supply this argument.
$defs › ItemUpdate › custom_columns
Omit to use the catalog item's custom fields when sku matches a catalog product; otherwise left unchanged. Provide a map (possibly {}) to override the catalog. A previous request to clear or set custom_columns must NOT be carried forward automatically to subsequent updates.
Clear enough to supply this argument.
$defs › ItemUpdate › text_columns
Not provided
Missing description. Explain what this value means and how to supply it.
$defs › ItemUpdate › number_columns
Not provided
Missing description. Explain what this value means and how to supply it.
$defs › ItemUpdate › currency_columns
Not provided
Missing description. Explain what this value means and how to supply it.
$defs › ItemUpdate › multipliers
Not provided
Missing description. Explain what this value means and how to supply it.
$defs › ItemUpdate › images
Omit to use the catalog item's images when sku matches a catalog product; otherwise left unchanged. Provide a list (possibly []) to override the catalog if explicitly requested. A previous request to clear or set images must NOT be carried forward automatically to subsequent updates.
Clear enough to supply this argument.
$defs › ItemUpdate › thumbnail
Omit to use the catalog item's main image when sku matches a catalog product; otherwise left unchanged. Provide a value, or null to clear it, to override the catalog if explicitly requested. A previous request to clear or set thumbnail must NOT be carried forward automatically to subsequent updates.
Clear enough to supply this argument.
$defs › ItemUpdate › pricing_source
How this item's price is derived: custom (its own price field) or product_bundle (summed from bundle_items). When creating a new item (no id) whose sku matches a catalog product, omit it — it's always forced from the catalog in that case, not yours to set. Otherwise (no sku match, or an existing item with an id) it's yours to set: omit to leave unchanged, null resets to custom.
{
"name": "quotes_update",
"title": "Update quotes",
"description": "Update one or more existing quotes on a document — sections, line items, prices, quantities, discounts, fees, and taxes. Up to 25 quotes per call; each quote is applied independently, so one quote's failure never affects the others.\nThis tool cannot create a new quote, and a quote cannot be created at document-creation time either — only existing quotes (already present on the document) can be updated.\nDestructive replace, not a diff: including `sections` replaces the quote's ENTIRE section list — any current section whose id is left out is REMOVED. The same applies one level down: including `items` on a section replaces that section's ENTIRE item list — any current item whose id is left out is REMOVED (pass an empty list to clear all items from a section). To change only part of a quote/section, first fetch its current state and include every section/item you want to keep, changing only the fields that need to change. Fields left out of an included section/item are left untouched; a field explicitly set to `null` where the schema allows it (section `name`; item `description`, `billing_frequency`, `contract_term`, `thumbnail`, `bundle_items`, `pricing_source`) clears that field instead. `price_settings` is the exception: an explicit `null` there is treated the same as omitting it (left unchanged), since it can't itself express \"replace with the catalog's tiers\" or any other concrete cleared state.\nWhen creating a new item (one with no `id`) whose `sku` matches a catalog product, any of `name`, `description`, `price`, `cost`, `images`, `thumbnail`, `custom_columns`, and `bundle_items` left out of that item are filled in from the catalog item. Any of these fields you do provide — including an explicit `null` where the schema allows it — always overrides the catalog's value for that item; the catalog is only a fallback for what you leave out. This fallback never applies when updating an existing item (one with an `id`): a field you leave out of an existing item is simply left untouched, exactly as elsewhere in this tool, even if its `sku` matches a catalog product — it is never reset to the catalog's current value just because you didn't mention it in this call.\n`billing_frequency`, `price_settings`, and `pricing_source` describe how a catalog product is priced, so when creating a new item this way they are not yours to set at all — the catalog's own value always wins there, whether you provide one or not. `price` joins them in that case only when the catalog item has pricing tiers (non-empty `price_settings`): a flat price doesn't apply to a tiered product, so your `price` is ignored too, same as these three. None of this applies to an existing item (one with an `id`): there, every field — including `price` on an item that currently has tiered pricing — follows the plain \"omit to leave unchanged, provide to set\" rule above, with no catalog lock of any kind.\n`options` (on a line item) and `settings` (on a section or quote) are all-or-nothing: when included, every property in them must be given a value — there is no partial update of a single property inside these objects.\nReturns one result per requested quote, in the same order as the request, keyed by `id` and discriminated by `status`: `ok` carries the quote's full state after the update; `not_in_document` (the quote id is not linked to this document, or the caller lacks edit access to it), `not_found` (no such quote), and `conflict` (the quote was updated concurrently — refetch and retry) are per-quote outcomes that leave the other quotes in the batch unaffected; `internal_error` is an isolated per-quote failure safe to retry on its own.",
"inputSchema": {
"type": "object",
"$defs": {
"Summary": {
"type": "object",
"properties": {
"fees": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/Adjustment"
}
},
"taxes": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/Adjustment"
}
},
"discounts": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/Adjustment"
}
},
"custom_fields": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"description": "Discounts/fees/taxes/custom fields, at quote or section level. Omit a map to leave it unchanged; pass {} to clear it.",
"additionalProperties": false
},
"Adjustment": {
"type": "object",
"required": [
"type",
"value"
],
"properties": {
"type": {
"enum": [
"percent",
"flat"
],
"type": "string"
},
"value": {
"type": "number"
}
},
"additionalProperties": false
},
"ItemUpdate": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "Id of an existing item to update. Omit to create a new item."
},
"qty": {
"type": "number"
},
"sku": {
"type": "string",
"description": "On a new item (no id), matching this against the catalog auto-fills name, description, price, cost, billing_frequency, price_settings, images, thumbnail, custom_columns, and bundle_items for any of those left out of this item. Has no such effect when updating an existing item (one with an id)."
},
"cost": {
"type": "number",
"description": "Omit to use the catalog item's cost when sku matches a catalog product; otherwise left unchanged. Provide a value to override the catalog. A previous request to clear or set cost must NOT be carried forward automatically to subsequent updates."
},
"fees": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/Adjustment"
}
},
"name": {
"type": "string",
"description": "Omit to use the catalog item's name when sku matches a catalog product; otherwise left unchanged. Provide a value to override the catalog. A previous request to clear or set name must NOT be carried forward automatically to subsequent updates."
},
"price": {
"type": "number",
"description": "Omit to use the catalog item's price when sku matches a catalog product; otherwise left unchanged. Provide a value to override the catalog. Exception: when creating a new item (no id) whose sku matches a catalog product with pricing tiers (see price_settings), a flat price doesn't apply and this is ignored either way — this exception does NOT apply to an existing item (one with an id), where a value you provide is always applied, even if that item currently has tiered pricing. A previous request to clear or set price must NOT be carried forward automatically to subsequent updates."
},
"taxes": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/Adjustment"
}
},
"images": {
"type": "array",
"items": {
"type": "string"
},
"description": "Omit to use the catalog item's images when sku matches a catalog product; otherwise left unchanged. Provide a list (possibly []) to override the catalog if explicitly requested. A previous request to clear or set images must NOT be carried forward automatically to subsequent updates."
},
"options": {
"$ref": "#/$defs/ItemOptions"
},
"discounts": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/Adjustment"
}
},
"thumbnail": {
"type": [
"string",
"null"
],
"description": "Omit to use the catalog item's main image when sku matches a catalog product; otherwise left unchanged. Provide a value, or null to clear it, to override the catalog if explicitly requested. A previous request to clear or set thumbnail must NOT be carried forward automatically to subsequent updates."
},
"description": {
"type": [
"string",
"null"
],
"description": "Omit to use the catalog item's description when sku matches a catalog product; otherwise left unchanged. Provide a value, or null to clear it, to override the catalog. A previous request to clear or set description must NOT be carried forward automatically to subsequent updates."
},
"multipliers": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"bundle_items": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/$defs/ItemUpdate"
},
"description": "This item's own bundle line items, when it represents a product bundle. Same destructive-replace semantics as a section's items. Omit when using items from catalog; set it on only when newly creating a bundle item. A previous request to clear or set bundle_items must NOT be carried forward automatically to subsequent updates."
},
"reference_id": {
"type": "string"
},
"text_columns": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"contract_term": {
"type": [
"integer",
"null"
],
"description": "Omit to leave unchanged. Pass null to clear it."
},
"custom_columns": {
"type": "object",
"description": "Omit to use the catalog item's custom fields when sku matches a catalog product; otherwise left unchanged. Provide a map (possibly {}) to override the catalog. A previous request to clear or set custom_columns must NOT be carried forward automatically to subsequent updates.",
"additionalProperties": {
"type": "string"
}
},
"number_columns": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"price_settings": {
"$ref": "#/$defs/PriceSettings"
},
"pricing_source": {
"enum": [
"custom",
"product_bundle",
null
],
"type": [
"string",
"null"
],
"description": "How this item's price is derived: custom (its own price field) or product_bundle (summed from bundle_items). When creating a new item (no id) whose sku matches a catalog product, omit it — it's always forced from the catalog in that case, not yours to set. Otherwise (no sku match, or an existing item with an id) it's yours to set: omit to leave unchanged, null resets to custom."
},
"currency_columns": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"billing_frequency": {
"enum": [
"weekly",
"monthly",
"quarterly",
"semiannually",
"annually",
null
],
"type": [
"string",
"null"
],
"description": "When creating a new item (no id) whose sku matches a catalog product, always the catalog item's billing cycle — not yours to set in that case, whether you provide a value or not. Otherwise (no sku match, or an existing item with an id — even one whose sku matches a catalog product) omit to leave unchanged; provide a value, or null to clear it. A previous request to clear or set billing_frequency must NOT be carried forward automatically to subsequent updates."
}
},
"additionalProperties": false
},
"ItemOptions": {
"type": "object",
"required": [
"qty_editable",
"selected",
"optional"
],
"properties": {
"optional": {
"type": "boolean"
},
"selected": {
"type": "boolean"
},
"qty_editable": {
"type": "boolean"
}
},
"description": "All-or-nothing — every property must be given when included.",
"additionalProperties": false
},
"QuoteUpdate": {
"type": "object",
"properties": {
"summary": {
"$ref": "#/$defs/Summary"
},
"currency": {
"type": "string",
"description": "ISO 4217 currency code (e.g. USD, EUR). Omit to leave unchanged."
},
"sections": {
"type": "array",
"items": {
"$ref": "#/$defs/SectionUpdate"
},
"description": "Replaces the quote's entire section list. Omit this key to leave all sections untouched. Include it to destructively replace: any current section whose id is not in this list is removed from the quote, and the listed sections fully replace the current ones, in the given order."
},
"settings": {
"$ref": "#/$defs/QuoteSettings"
}
},
"additionalProperties": false
},
"PriceSettings": {
"type": "object",
"required": [
"tiers"
],
"properties": {
"tiers": {
"type": "array",
"items": {
"type": "object",
"required": [
"min_qty",
"value"
],
"properties": {
"value": {
"type": "number"
},
"min_qty": {
"type": "integer"
}
},
"additionalProperties": false
},
"minItems": 1
},
"base_value": {
"type": [
"number",
"null"
]
}
},
"description": "Volume/tiered pricing for a line item. When creating a new item (no id) whose sku matches a catalog product, always the catalog item's own price_settings — not yours to set in that case, whether you provide a value or not (omitted entirely if the catalog item isn't volume-priced). Otherwise (no sku match, or an existing item with an id — even one that currently has tiered pricing) omit to leave unchanged; a value you provide is always applied.",
"additionalProperties": false
},
"QuoteSettings": {
"type": "object",
"required": [
"selection_type"
],
"properties": {
"selection_type": {
"enum": [
"custom",
"single",
"multiple"
],
"type": "string"
}
},
"description": "All-or-nothing — every property must be given when included.",
"additionalProperties": false
},
"SectionUpdate": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "Id of an existing section to update. Omit to create a new section."
},
"name": {
"type": [
"string",
"null"
],
"description": "Section name. Omit to leave unchanged. Pass null to clear it."
},
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/ItemUpdate"
},
"description": "Replaces this section's entire line-item list. Omit this key to leave the section's items untouched. Pass an empty list to remove all items from the section. Otherwise, any current item whose id is not in this list is removed, and the listed items fully replace the current ones, in the given order."
},
"summary": {
"$ref": "#/$defs/Summary"
},
"settings": {
"$ref": "#/$defs/SectionSettings"
}
},
"additionalProperties": false
},
"SectionSettings": {
"type": "object",
"required": [
"selected",
"optional",
"selection_type"
],
"properties": {
"optional": {
"type": "boolean"
},
"selected": {
"type": "boolean"
},
"selection_type": {
"enum": [
"custom",
"single",
"multiple"
],
"type": "string"
}
},
"description": "All-or-nothing — every property must be given when included.",
"additionalProperties": false
}
},
"required": [
"document_id",
"quotes"
],
"properties": {
"quotes": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"quote"
],
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "Id of the quote to update, from the document's details."
},
"quote": {
"$ref": "#/$defs/QuoteUpdate"
}
},
"additionalProperties": false
},
"maxItems": 25,
"minItems": 1,
"description": "Quotes to update, one entry per quote. Each is applied independently — a failure on one does not affect the others."
},
"document_id": {
"type": "string",
"maxLength": 22,
"description": "Id of the document the quotes belong to."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$defs": {
"Item": {
"type": "object",
"required": [
"id",
"qty",
"price",
"cost",
"type",
"reference_type",
"reference_id",
"options",
"total"
],
"properties": {
"id": {
"type": "string"
},
"qty": {
"type": "string",
"description": "Decimal quantity, serialized as a numeric string."
},
"sku": {
"type": "string"
},
"cost": {
"type": "string",
"description": "Decimal amount, serialized as a numeric string."
},
"fees": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/Adjustment"
}
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"price": {
"type": "string",
"description": "Decimal amount, serialized as a numeric string."
},
"taxes": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/Adjustment"
}
},
"total": {
"type": "string",
"description": "Decimal amount, serialized as a numeric string."
},
"images": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"options": {
"$ref": "#/$defs/ItemOptions"
},
"discounts": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/Adjustment"
}
},
"thumbnail": {
"type": [
"string",
"null"
]
},
"total_qty": {
"type": [
"string",
"null"
],
"description": "Decimal quantity, serialized as a numeric string."
},
"unit_price": {
"type": [
"string",
"null"
],
"description": "Decimal amount, serialized as a numeric string."
},
"description": {
"type": [
"string",
"null"
]
},
"multipliers": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "Decimal value, serialized as a numeric string."
}
},
"total_saved": {
"anyOf": [
{
"$ref": "#/$defs/Adjustment"
},
{
"type": "null"
}
]
},
"bundle_items": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/$defs/Item"
}
},
"reference_id": {
"type": "string"
},
"text_columns": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"contract_term": {
"type": [
"string",
"null"
]
},
"overall_total": {
"type": [
"string",
"null"
],
"description": "Decimal amount, serialized as a numeric string."
},
"custom_columns": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"number_columns": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "Decimal value, serialized as a numeric string."
}
},
"price_settings": {
"anyOf": [
{
"$ref": "#/$defs/PriceSettings"
},
{
"type": "null"
}
]
},
"pricing_method": {
"type": "string"
},
"pricing_source": {
"enum": [
"custom",
"product_bundle",
null
],
"type": [
"string",
"null"
]
},
"reference_type": {
"type": "string"
},
"currency_columns": {
"type": "object",
"additionalProperties": {
"type": "string",
"description": "Decimal value, serialized as a numeric string."
}
},
"billing_frequency": {
"enum": [
"weekly",
"monthly",
"quarterly",
"semiannually",
"annually",
null
],
"type": [
"string",
"null"
]
}
}
},
"Quote": {
"type": "object",
"required": [
"id",
"currency",
"total",
"summary",
"settings",
"sections"
],
"properties": {
"id": {
"type": "string"
},
"total": {
"type": "string",
"description": "Decimal amount, serialized as a numeric string."
},
"summary": {
"$ref": "#/$defs/QuoteSummary"
},
"currency": {
"type": "string"
},
"sections": {
"type": "array",
"items": {
"$ref": "#/$defs/Section"
}
},
"settings": {
"$ref": "#/$defs/QuoteSettings"
},
"merge_rules": {
"type": "array",
"items": {
"$ref": "#/$defs/MergeRule"
}
}
}
},
"Section": {
"type": "object",
"required": [
"id",
"total",
"summary",
"settings"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
},
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/Item"
}
},
"total": {
"type": "string",
"description": "Decimal amount, serialized as a numeric string."
},
"columns": {
"type": "array",
"items": {
"$ref": "#/$defs/SectionColumn"
}
},
"summary": {
"$ref": "#/$defs/SectionSummary"
},
"settings": {
"$ref": "#/$defs/SectionSettings"
}
}
},
"Summary": {
"type": "object",
"properties": {
"fees": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/Adjustment"
}
},
"taxes": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/Adjustment"
}
},
"total": {
"type": "string",
"description": "Decimal amount, serialized as a numeric string."
},
"subtotal": {
"type": "string",
"description": "Decimal amount, serialized as a numeric string."
},
"discounts": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/Adjustment"
}
},
"total_qty": {
"type": [
"string",
"null"
],
"description": "Decimal quantity, serialized as a numeric string."
},
"custom_fields": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"one_time_subtotal": {
"type": "string",
"description": "Decimal amount, serialized as a numeric string."
},
"recurring_subtotal": {
"type": "array",
"items": {
"type": "object",
"required": [
"billing_cycle",
"value"
],
"properties": {
"value": {
"type": "string",
"description": "Decimal amount, serialized as a numeric string."
},
"billing_cycle": {
"enum": [
"weekly",
"monthly",
"quarterly",
"semiannually",
"annually"
],
"type": "string"
}
}
}
}
}
},
"MergeRule": {
"type": "object",
"required": [
"id",
"enabled"
],
"properties": {
"id": {
"type": "string"
},
"enabled": {
"type": "boolean"
}
},
"description": "Data-merge automation rule attached to the quote; opaque here, informational only.",
"additionalProperties": true
},
"Adjustment": {
"type": "object",
"required": [
"type",
"value"
],
"properties": {
"type": {
"enum": [
"percent",
"flat"
],
"type": "string"
},
"value": {
"type": "string",
"description": "Decimal amount, serialized as a numeric string (e.g. \"10.50\")."
}
}
},
"ItemOptions": {
"type": "object",
"required": [
"selected"
],
"properties": {
"optional": {
"type": "boolean"
},
"selected": {
"type": "boolean"
},
"qty_editable": {
"type": "boolean"
}
}
},
"QuoteSummary": {
"allOf": [
{
"$ref": "#/$defs/Summary"
},
{
"type": "object",
"properties": {
"total_fee": {
"type": [
"string",
"null"
]
},
"total_tax": {
"type": [
"string",
"null"
]
},
"total_savings": {
"type": [
"string",
"null"
]
},
"total_discount": {
"type": [
"string",
"null"
]
},
"total_contract_value": {
"type": [
"string",
"null"
]
}
}
}
]
},
"PriceSettings": {
"type": "object",
"required": [
"tiers"
],
"properties": {
"tiers": {
"type": "array",
"items": {
"type": "object",
"required": [
"min_qty",
"value"
],
"properties": {
"value": {
"type": "string",
"description": "Decimal amount, serialized as a numeric string."
},
"min_qty": {
"type": "string",
"description": "Quantity, serialized as a numeric string."
}
}
}
},
"base_value": {
"type": [
"string",
"null"
],
"description": "Decimal amount, serialized as a numeric string."
}
}
},
"QuoteSettings": {
"type": "object",
"required": [
"selection_type",
"data_merge_enabled"
],
"properties": {
"selection_type": {
"enum": [
"custom",
"single",
"multiple"
],
"type": "string"
},
"data_merge_enabled": {
"type": "boolean"
}
}
},
"SectionColumn": {
"type": "object",
"required": [
"name",
"hidden"
],
"properties": {
"name": {
"type": "string"
},
"header": {
"type": [
"string",
"null"
]
},
"hidden": {
"type": "boolean"
},
"merge_name": {
"type": [
"string",
"null"
]
}
}
},
"SectionSummary": {
"allOf": [
{
"$ref": "#/$defs/Summary"
},
{
"type": "object",
"properties": {
"total_section_value": {
"type": [
"string",
"null"
]
}
}
}
]
},
"SectionSettings": {
"type": "object",
"required": [
"selection_type",
"optional",
"selected",
"data_merge_enabled"
],
"properties": {
"optional": {
"type": "boolean"
},
"selected": {
"type": "boolean"
},
"selection_type": {
"enum": [
"custom",
"single",
"multiple"
],
"type": "string"
},
"data_merge_enabled": {
"type": "boolean"
}
}
}
},
"required": [
"results"
],
"properties": {
"results": {
"type": "array",
"items": {
"if": {
"required": [
"status"
],
"properties": {
"status": {
"const": "ok"
}
}
},
"then": {
"required": [
"quote"
],
"properties": {
"quote": {
"$ref": "#/$defs/Quote"
}
}
},
"type": "object",
"required": [
"id",
"status"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"quote": {
"anyOf": [
{
"$ref": "#/$defs/Quote"
},
{
"type": "null"
}
],
"description": "The quote's full state after the update. Present only when status is \"ok\"."
},
"status": {
"enum": [
"ok",
"not_in_document",
"not_found",
"conflict",
"internal_error"
],
"type": "string"
},
"description": {
"type": [
"string",
"null"
],
"description": "Human-readable detail, mainly for non-\"ok\" statuses."
}
},
"additionalProperties": false
},
"description": "One entry per requested quote, in the same order as the request."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}
Loading score analytics…
Put your MCP to the test
A few tasks worth trying with this server, chosen from its reviewed tools. These have not been run.
01Search documents (full-text)Full-text search with status/date filters.
02Search product catalog itemsSearch the workspace's product catalog by free text across item name, SKU, description and category name, with optional filters.
03List templatesDiscover, browse, or pick a template by name, tag, or folder (e.g.
04Search contactsSearch the current workspace's contacts by first name, last name, or company.
05List documentsPaginated document listing with structured filters: status, folder, tag, free-text search, sorting, and created/completed date ranges.
Want to run these tasks against your MCP server with us?
PandaDoc lets you create, send, and track documents for signature directly from your Claude conversation. Ask Claude to prepare an NDA from your existing templates, send a proposal to a client, check which contracts are still waiting to be signed, or pull the complete audit trail for any document. Connect your PandaDoc account to manage your entire document workflow without leaving the conversation.
PandaDoc setup, tools, quality score, publishing readiness, and alternatives.
How do I add PandaDoc to Claude, ChatGPT, or Cursor?
Add PandaDoc to Claude, ChatGPT, or Cursor by connecting its remote MCP URL in each client's MCP settings. In Claude, add a custom connector. In ChatGPT, add an MCP app. In Cursor, add an MCP server under Settings. The MCP URL is https://mcp.pandadoc.com/v1/mcp. This server requires OAuth, so complete the login prompt after you connect.
Is PandaDoc MCP ready for ChatGPT and Claude?
As of November 19, 2026, PandaDoc scores 96/100 on Manufact's MCP publishing checklist. The scan meets ChatGPT publishing checks and meets Claude publishing checks. Passing these checks does not guarantee marketplace approval.
How clear is PandaDoc's MCP tool documentation?
As of November 19, 2026, PandaDoc scores 90/100 in Manufact's review of tool titles, descriptions, input and output schemas, and behavior annotations. The review covers 48 of 48 discovered tools. The quality score measures documentation clarity; runtime behavior and marketplace readiness require separate checks.
What tools does the PandaDoc MCP server provide?
PandaDoc provides these MCP tools: pandadoc_documents_create, pandadoc_documents_create_from_markdown, pandadoc_documents_update, pandadoc_documents_send, pandadoc_documents_status_get, pandadoc_documents_status_change, pandadoc_documents_details_get, pandadoc_documents_summary_get, pandadoc_documents_content_get, pandadoc_documents_list, and pandadoc_documents_search.
What are the best alternatives to PandaDoc?
As of December 4, 2026, alternatives to PandaDoc in productivity on the Manufact MCP leaderboard include Taskaid, AdaptlyPost, Notion MCP, Paperpal, and VantagePeers.
Does PandaDoc MCP require authentication?
PandaDoc requires authentication. Connect it in Claude, ChatGPT, or Cursor and complete the OAuth login prompt.
How can PandaDoc improve its MCP documentation?
templates_approval_workflow_update is the lowest-scoring reviewed tool at 73/100. 14 of 34 inputs have descriptions. Add descriptions to the missing inputs, including where to obtain IDs and how to supply values. Open its review for feedback and a copyable fix prompt, then rerun the documentation review after updating your tool metadata.
Who develops PandaDoc?
PandaDoc is developed by PandaDoc. It is listed as partner on the Claude connector directory.
Not your MCP?
Review any public or OAuth MCP server for protocol compatibility, tool documentation, and ChatGPT and Claude publishing readiness. No account required.