Open Agreements
v0.10.2Fill standard legal agreement templates (NDAs, SAFEs, NVCA docs, employment) as DOCX files.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_templates
List OpenAgreements templates as a paginated compact catalog. Returns lightweight metadata for discovery — call get_template for full per-field detail. Templates are returned in stable lexicographic order by template_id.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Opaque pagination cursor returned by a prior call. Omit on the first page. |
limit | integer | Page size (default 25, max 100). |
get_template
Fetch a single template definition with field metadata.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | Template ID, e.g. "common-paper-mutual-nda". |
list_content
List all first-class OpenAgreements content — fillable templates, practice guides, RFC 2119-style reviewer checklists, and law surveys — as one paginated compact catalog with stable content IDs in deterministic lexicographic order. Returns lightweight metadata for discovery; call get_content (or get_template) for the full item. Non-template content is served from a local open-agreements repository checkout; when it is not available in this runtime, the affected types are reported under unavailable_types with a reason instead of appearing as silently empty.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Opaque pagination cursor returned by a prior call. Omit on the first page. |
limit | integer | Page size (default 25, max 100). |
query | string | Optional case-insensitive substring filter matched against content ID, title, description, and topic. |
type | string | Optional content-type filter: "template" (fillable DOCX templates), "practice_guide" (source-cited legal practice guides), "checklist" (clause-by-clause reviewer checklists), or "survey" (state-by-sta… |
get_content
Fetch one OpenAgreements content item by its stable content_id (from list_content). Markdown content (practice guides, checklists, surveys) returns the full canonical document plus source/provenance metadata; template content returns the same full definition as get_template under a "template" key.
| Parameter | Type | Description |
|---|---|---|
content_id * | string | Stable content ID, e.g. "template/common-paper-mutual-nda", "practice_guide/wage-and-hour/us", "checklist/safes/yc-post-money-safe-valuation-cap", or "survey/non-compete/us". |
fill_template
Fill a template using local OpenAgreements CLI and return local path or inline base64.
| Parameter | Type | Description |
|---|---|---|
template * | string | Template ID, e.g. "common-paper-mutual-nda". |
output_path | string | Optional output DOCX path. Defaults to a temporary location. |
return_mode | string | Return local file path or inline base64 document data. |
values | object | Template field values passed to the fill command. |
get_apap_template
Export an eligible OpenAgreements-authored template as an APAP Template payload and its ready-to-use Agreement.template relationship, preserving canonical source, version, license, and attribution.
| Parameter | Type | Description |
|---|---|---|
template_id * | string | Eligible OpenAgreements template ID. |
create_apap_agreement_docx
Render APAP Concerto agreement data for an eligible OpenAgreements template as a local DOCX. Returns a path, never inline base64.
| Parameter | Type | Description |
|---|---|---|
agreement_data * | object | APAP agreement data carrying the template Concerto $class and field values. |
template_id * | string | Eligible OpenAgreements template ID. |
output_path | string | Optional local DOCX output path. |
get_forms_survey_evidence
Fetch evidence from a published OpenAgreements forms-provider survey (clause-by-clause market benchmarks of real-world forms). Without requirement_id, returns a summary: survey metadata (including as_of freshness), the compared requirements, and the surveyed forms — but no evidence cells. With requirement_id, additionally returns that one requirement's evidence cells across all surveyed forms (verbatim sentence, operative phrase, section, clause id). The complete dataset for each survey is also available as an MCP resource (see resources/list); large surveys approach 1 MB, so prefer this too…
| Parameter | Type | Description |
|---|---|---|
topic * | string | Survey topic slug, e.g. "employment-offer-letter". Discover slugs via resources/list. |
requirement_id | string | Optional requirement id (from the summary's requirements list) to return that requirement's evidence cells. |