Assemble contract from clause library
A numbered .docx contract with variables filled, missing items bracketed, and a legal disclaimer prepended.
How it works
Changes data in your accountsProductivity and planning
The agent uses clause_search to find relevant clauses by title or category. It then calls variables_list to identify all placeholders (e.g., {{client}}, {{fee}}) required by the selected clauses. The agent prompts the user for these values, ensuring no facts are guessed. Finally, it calls contract_assemble with the clause IDs and variable values to generate the document, checking that the output includes the mandatory legal disclaimer.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Prompt for Assemble contract from clause library
Search for 'payment terms' and 'late payment' clauses. List the variables needed for these clauses. Once I provide the values for client, fee, and jurisdiction, assemble them into a contract document.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
contract_assemble takes clause ids or whole categories, orders them by category rank, numbers them, fills the variables, brackets what is missing, prepends the disclaimer and writes .docx or markdown.Assemble a contract from your own clause library, in chat