MCP server for accessing legal case information and documents from DocketBird API
DocketBird MCP has basic tool definitions but significant quality gaps. All 5 tools have descriptions and input schemas, but descriptions are verbose and include example values (anti-pattern). Parameters lack type constraints (enums, ranges). No output schemas documented. Error handling is minimal, tools return generic failure strings without recovery guidance. The get_case_details description embeds a 500+ character court code reference that should be a separate discovery tool. No tool annotations (readOnlyHint/destructiveHint) despite clear risk levels. Composition is reasonable (5 focused tools), but parameter naming could be clearer (save_path is ambiguous about directory vs file).
Download all available S3 documents for a specific case. Args: case_id: The DocketBird case ID to download documents from save_path: Absolute path where files should be saved. It should be a folder path.
Download a specific document by its docketbird ID if an S3 link is available. Args: document_id: The DocketBird document ID to download save_path: Absolute path where the file should be saved. It should be a folder path.
Get comprehensive details about a case including all documents. Args: case_id: The DocketBird case ID to retrieve details for. Format: {court_id}-{district}:{year}-{type}-{number} Example: txnd-3:2007-cv-01697 court_id: Court identifier from the list below: Federal Courts: - Circuit Courts of Appeals: - ca1: 1st Circuit - ca2: 2nd Circuit - ca3: 3rd Circuit - ca4: 4th Circuit - ca5: 5th Circuit - ca6: 6th Circuit - ca7: 7th Circuit - ca8: 8th Circuit - ca9: 9th Circuit - ca10: 10th Circuit - ca11: 11th Circuit - cadc: D.C. Circuit - cafc: Federal Circuit - District Courts: - cacd: Central District of California - cand: Northern District of California - nysd: Southern District of New York - ilnd: Northern District of Illinois - caed: Eastern District of California - njd: District of New Jersey - txed: Eastern District of Texas - flsd: Southern District of Florida - dcd: District of Columbia - mied: Eastern District of Michigan - Bankruptcy Courts (partial list): - txsb: Southern District of Texas - deb: District of Delaware - nvb: District of Nevada - flsb: Southern District of Florida - nysb: Southern District of New York - cacb: Central District of California district: District number (e.g. 3, 1, 5) year: Year case was filed (e.g. 2007, 2023) type: Case type (e.g. cv for civil, wr for writ) number: Case number (e.g. 01697, 08028) For more information on courts, see list_courts_and_types tool Returns: A formatted string containing comprehensive case details including: - Basic case information (title, court, filing dates) - Party information - Document list with metadata - URLs and identifiers
get_case_details description embeds 500+ character court code reference with example values (ca1, ca2, txnd, etc.). This violates the anti-pattern: LLMs latch onto example values and reuse them literally. Move court codes to a separate list_courts_and_types discovery tool or enum constraint.
No output schemas documented for any tool. LLMs cannot plan downstream calls or extract fields without knowing response structure. Document what fields each tool returns (e.g., get_case_details returns case_id, title, parties[], documents[]).
Parameters lack type constraints. 'scope' in list_cases accepts 'company' or 'user' but is defined as free-form string, not enum. 'save_path' in download tools is ambiguous, is it a directory or file path? Add enum constraints and clarify path semantics.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 45 | 2026-07-28+ | v2 |
Get a list of cases belonging to an account. Args: scope: Either "company" or "user" to specify whose cases to retrieve
Search for specific documents within a case using a search term. Args: case_id: The DocketBird case ID to search in search_term: Term to search for in document titles and descriptions
Error handling is generic. Tools return 'Failed to retrieve case details' or 'No documents found' without recovery guidance. Per pattern:recovery-guide, errors should suggest next steps: 'Case not found. Try list_cases() to see available cases.'
No tool annotations despite clear risk levels. download_available_files and download_document_by_id are WRITE operations but lack destructiveHint. get_case_details and search_case_documents are READ-ONLY but lack readOnlyHint. Annotations guide agent safety reasoning.