MCP tools reference
Pactly's 15 MCP tools, their inputs, permissions and limits.
Pactly exposes 13 tools that read data and two that update contracts. Results reflect live data and the connected user’s current permissions. Use the connector URL shown in your Pactly profile. See setup and permissions.
Contract catalogue
Section titled “Contract catalogue”These tools require contracts:read.
| Tool | Inputs | Result |
|---|---|---|
list_properties | None | Account property keys, types and options |
get_property | Required idOrKey | One property definition and conditional options |
list_categories | None | Account contract categories with IDs and exact labels |
list_contract_statuses | None | Numeric status codes and account display labels |
Category labels and status labels depend on your account. A contract’s type is its storage origin, one of template, playbook or external; it is not a business category such as NDA.
Find contracts
Section titled “Find contracts”find_contracts requires contracts:read. All inputs are optional.
| Input | Meaning |
|---|---|
status, statuses | A numeric status code or array of codes between 1 and 6 |
type | template, playbook or external |
category | Category ID or exact account label |
owner | Owner ID or exact email |
party, counterparty, partyRole | Contact ID, contact name/abbreviation/email, or the contact’s role on the contract |
keyword | Search of contract name and reference, not document text |
property | Property filter object with string, numeric or boolean values |
createdAfter, createdBefore, updatedAfter, updatedBefore | Date bounds |
renewalAfter, renewalBefore, expirationAfter, expirationBefore | Renewal or expiration date bounds |
renewalState | Renewal state filter |
sort | createdAt, updatedAt or renewalAnchorDate |
order | asc or desc |
pagesize, limit | Page size from 1 to 200; limit is an alias |
cursor | Continuation cursor from a previous response |
Results are paginated. A response with pagination.hasMore set to true is not the full result set.
Read and search contract evidence
Section titled “Read and search contract evidence”These tools require contracts:read.
| Tool | Required inputs | Optional inputs | Result |
|---|---|---|---|
get_contract_details | contractId | None | Contract metadata and relationships |
get_contract_text | contractId | textCursor, maxCharacters from 1,000 to 48,000 | Bounded text with paragraph references, a Pactly link, pagination and extraction coverage |
search_contract_text | query from 1 to 200 characters; contractIds containing 1 to 50 IDs | limit from 1 to 20; cursor | Matching paragraph evidence and search index coverage |
Search operates on accessible contract IDs. A missing match does not prove that a provision is absent. Text extraction may be incomplete, and a long contract may need several pages. Returned paragraph references and links identify the evidence behind an assistant’s answer.
Contacts, playbooks, clauses and profile
Section titled “Contacts, playbooks, clauses and profile”| Tool | Permission | Inputs | Result |
|---|---|---|---|
find_parties | parties:read | Optional keyword, isEntity, isInternal, parent, pagination inputs | Confirmed contacts accessible to the connected user |
list_playbooks | playbooks:read | Optional pagination inputs | Authorized published playbooks |
get_playbook | playbooks:read | Required playbookId | A published playbook and its confirmed positions |
list_clauses | clauses:read | Optional keyword, tag, pagination inputs | Authorized clause library entries; keyword searches title and text |
get_profile | profile:read | None | User ID, name, email, role, and company ID, name and country |
Pagination inputs are pagesize or its alias limit, from 1 to 200, plus cursor and order as asc or desc.
Update contracts
Section titled “Update contracts”Both tools require contracts:write and the connected user’s permission to edit the selected contract. They overwrite existing values and are marked as destructive operations for assistant confirmation controls.
update_contract_properties
Section titled “update_contract_properties”Required inputs are contractId and a properties object mapping property keys to values. Keys must exist in the company property catalogue. A key can be added to a contract that does not yet have it.
Values may be text, numbers, booleans, arrays of strings or null, subject to the property’s configured type and options. Dates use YYYY-MM-DD. null clears a value. The operation also applies Pactly’s normal property validation and renewal calculations.
set_contract_status
Section titled “set_contract_status”Required inputs are contractId and status, as an account status code or label. This performs the same status change as Change status in Pactly. It does not run workflow transitions or send a signature request.
Neither tool edits document text, sends emails or deletes contracts.