---
name: court-filing-format-check
description: Check whether court filings tracked in Jira are ready to file, and look up 37 courts' quoted format rules (word limits, fonts, spacing, margins, certificates) with citation, source link and verified date. Use for questions like "what is the word limit for a reply brief in the Second Circuit", "is LEGAL-12 ready to file", or "which filings are not ready and why".
---

# Court filing format check (Brief Preflight)

Brief Preflight stores, on each Jira work item, the result of checking its newest PDF or Word brief against one court's
format rules. These tools read those results and the rule packs. They never change a work item and never reach outside
Atlassian.

## Tools

- `list_courts()`: the 37 covered courts in three groups (federal appellate, state, federal district), each with its
  document types and verified date. Call it when a court name does not match or the user asks what is covered.
- `court_rule(court, document_type?, topic?)`: the quoted rules for one court and document type. `court` takes a name
  or id ("Ninth Circuit", "9th Cir.", "ca9", "S.D.N.Y."). `topic` narrows to one rule ("font size", "word limit",
  "margins", "certificate"). Returns `covered: false` with a "Not covered" answer when the packs quote nothing on it.
- `filing_status(work_item)`: one work item's state (`ready`, `not-ready`, `stale` = a newer file than the one checked,
  `unchecked`, `no-file`) with the failing rules, measured values, quotes, citations and source links.
- `filings_not_ready(project?)`: every filing that is not ready, with the reason, optionally in one space.

## How to answer

1. Rule questions: call `court_rule`, then answer with the requirement, the exact quote, the citation, the source link
   and the verified date. If `covered` is false, say "Not covered" and stop. Do not fill gaps from general knowledge.
2. Readiness questions: call `filing_status` or `filings_not_ready`, then list each item's key, state and the failing
   rules in plain words ("Word count: 14,320 words counted; the rule says at most 14,000").
3. End rule answers with: "Format check only, not legal advice; the clerk and local orders decide."

## Example

User: "Is the reply in LEGAL-7 ready?" → `filing_status("LEGAL-7")` → "Not ready: the newest file, reply-v3.pdf, was
checked against the Second Circuit's rules for a reply brief on Dec 2. Font size: body 12 pt; the rule says at least
14 pt (FRAP 32(a)(5), source, verified 2026-11-08)."

## Connecting your own agent

1. A Jira site admin installs Brief Preflight, then turns its tools on once: admin.atlassian.com > Apps > Sites > your
   site > Connected apps > Brief Preflight > Details > Tools > "Expose tools to MCP-compatible apps" > Enable tools.
2. Point any MCP client that supports remote servers with OAuth at
   `https://mcp.atlassian.com/forge/79f1d8d8-8308-4ce8-99e5-cdc3c73bdbbd` (streamable HTTP). It finds the sign-in
   server from the endpoint's metadata; sign in with your Atlassian account and pick the site. Do not request scopes
   by hand; the server grants what the tools need.
3. Add this file to the agent as a skill (or paste it into its instructions). The tools act as the signed-in user, so
   the agent sees only the work items that user can see.

Licence: this file is released under CC0 1.0 (public domain); copy and change it freely. Brief Preflight is by
Tomorrowish LLC (https://tomorrowish.dev/brief-preflight/jira). Format check only, not legal advice.
