{
  "protocolVersion": "0.3.0",
  "name": "OpenAgreements",
  "description": "Free, primary-source legal reference and contract-drafting toolkit: fillable agreement templates (signable DOCX), plain-English practice guides, and multistate law surveys. Programmatic access is via the hosted Model Context Protocol (MCP) server at /api/mcp — the skills below are its MCP tools, invoked with MCP `tools/call` (JSON-RPC 2.0 over HTTP), NOT classic A2A `message/send`. MCP clients should `initialize` then `tools/list`; see documentationUrl. Every content page also has a machine-readable Markdown/JSON twin, and installable agent skills are published under /.well-known/agent-skills/.",
  "url": "https://openagreements.org/api/mcp",
  "preferredTransport": "JSONRPC",
  "provider": {
    "organization": "OpenAgreements",
    "url": "https://openagreements.org"
  },
  "version": "1.0.0",
  "documentationUrl": "https://openagreements.org/mcp",
  "iconUrl": "https://openagreements.org/brand/openagreements-mark.png",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "stateTransitionHistory": false
  },
  "defaultInputModes": ["application/json", "text/plain"],
  "defaultOutputModes": ["application/json", "text/markdown"],
  "skills": [
    {
      "id": "list_templates",
      "name": "List agreement templates",
      "description": "List the full catalog of legal agreement templates (paginated), with lightweight metadata for discovery.",
      "tags": ["contracts", "templates", "discovery"],
      "examples": ["List the available employment agreement templates."]
    },
    {
      "id": "search_templates",
      "name": "Search agreement templates",
      "description": "Search templates by keyword (BM25-ranked) across names, descriptions, categories, sources, and fields — e.g. a mutual NDA, an NVCA stock purchase, a Wyoming non-compete.",
      "tags": ["contracts", "templates", "search"],
      "examples": ["Find a mutual NDA template.", "Search for an NVCA venture financing form."]
    },
    {
      "id": "get_template",
      "name": "Get a template definition",
      "description": "Fetch a single template's full definition, including every field, so the assistant knows exactly what to fill.",
      "tags": ["contracts", "templates"],
      "examples": ["Get the fields for the mutual NDA template."]
    },
    {
      "id": "fill_template",
      "name": "Fill a template into a Word document",
      "description": "Fill a template with field values and return a finished Word document — plus a redline (track-changes) against the standard form for recipe templates (e.g. NVCA).",
      "tags": ["contracts", "templates", "docx", "generation"],
      "examples": ["Fill the mutual NDA with these party names and return the DOCX."]
    }
  ]
}
