Overview
Pattern 1: Pre-flight check
Call/check with just page_count and word_count while the user is still drafting. The check then catches the most common compliance failures (page and word limits, PMC requirements, filing gates) with minimal input.
Pattern 2: Full compliance check
After your application parses the document (e.g., extracting caption fields, checking for a table of contents, measuring font sizes), send the full document structure to/check.
Pattern 3: Rules lookup
Call/rules to display applicable rules proactively, before the user even starts drafting. Show them the requirements for their judge and motion type up front.
Pattern 4: Classify, then check
Upload a PDF to/classify, which extracts metadata and classifies the document automatically. The response includes a check_request with the extracted document metadata. Before sending to /check, add the filing context fields that only the filer knows.
Important: page_count in the /classify response is body pages, not total PDF pages. Front matter (cover page, table of contents, table of authorities) and back matter (certificate of service, signature pages) are automatically excluded, which is how courts count pages for limits.
/classify endpoint handles the analysis and produces a ready-to-use /check request.
Latency note: /classify takes 10 to 30 seconds because a model reads the PDF, while /check applies fixed rules and uses no model. Plan your UX accordingly: show a loading state for classification, then show the check results when they arrive.
Pattern 5: Enforcement monitoring
Monitor privacy enforcement actions and trigger compliance reviews when relevant events appear. Input needed: Jurisdiction filters, industry, date range What you call:search_privacy_enforcement_actions via MCP, polled once a day
Use during: Ongoing compliance monitoring
When a new enforcement event matches your criteria, call get_privacy_enforcement_action to get the full context including search_terms (contract clauses to review) and contract_impact (what to check in vendor agreements).
For the full enforcement tool reference and parameters, see the MCP: enforcement data guide.
Choosing a pattern
Most integrations use pattern 1 during drafting and pattern 2 before filing. Pattern 3 is for proactive UIs. Pattern 4 is for applications that accept PDF uploads and don’t have their own document parser. Pattern 5 runs alongside the court rules patterns for teams that also need regulatory monitoring.