# How can your agent check a judge's AI rule in one call?

By Stetline, 2026-11-10.

Send the court and the judge to `ai_rules`, and the answer comes back with a status, the exact clause, what the order asks for, the order's effective date and the court's PDF link. One call over REST or MCP is enough for a drafting agent to decide whether a filing needs an AI certification, a disclosure, or a person to read an order.

The intended address is stetline.bulkhead.solutions. It is not live yet; the examples below were produced by the same server running locally on the data of 9 November 2026.

## What is the request?

```bash
curl -s https://stetline.bulkhead.solutions/v1/tools/ai_rules -H 'content-type: application/json' -d '{"court":"cand","judge":"Eumi K. Lee"}'
```

`court` is required, so an agent cannot ask about "Judge Lee" in one district and get another district's answer. `judge` accepts the full name, "Judge Lee", the court's listing form ("Lee, Eumi K."), the initials the court uses in file names ("EKL") or the id from `coverage` (`lee-eumi`). Accents are folded, and an ambiguous name returns the candidates. Two optional fields matter for agents: `date`, the filing date as YYYY-MM-DD (it defaults to the data date), and `case_type`, which is `civil` by default.

## What comes back?

This is the real response for Judge Lee, trimmed: fields are removed for length, among them `clause`, `orders_read`, `method`, `source` and `data_version`, and the layout is compacted. The values shown are unchanged.

```json
{
  "court": { "id": "cand", "short": "N.D. Cal." },
  "judge": { "name": "Eumi K. Lee", "judge_id": "lee-eumi", "initials": "EKL" },
  "date": "2026-11-09",
  "case_type": "civil",
  "status": "certification_required",
  "summary": "Eumi K. Lee (N.D. Cal.) requires a certification in any submission containing AI-generated content (lead trial counsel must certify personal verification), and requires keeping records of prompts: \"Judge Lee's Civil Standing Order\", effective 2026-08-31, https://www.cand.uscourts.gov/sites/default/files/standing-orders/EKL-CivilStandingOrder_8-31-2026.pdf.",
  "rules": [
    {
      "status": "certification_required",
      "title": "Judge Lee's Civil Standing Order",
      "effective": "2026-08-31",
      "url": "https://www.cand.uscourts.gov/sites/default/files/standing-orders/EKL-CivilStandingOrder_8-31-2026.pdf",
      "pdf_pages": [11],
      "quote": "Any submission containing AI-generated content must include a certification that lead trial counsel has personally verified the content’s accuracy.",
      "must_do": [
        "Include in any submission containing AI-generated content a certification that lead trial counsel has personally verified the content's accuracy.",
        "Keep records of all prompts or inquiries submitted to any generative AI tool.",
        "Personally confirm the accuracy of any research done with generative AI."
      ],
      "prompt_records_required": true,
      "who_certifies": "lead trial counsel",
      "consequence": "Failure to include the certification or to verify is grounds for sanctions."
    }
  ],
  "other_ai_mentions": [],
  "check": [],
  "as_of": { "data_date": "2026-11-09" },
  "governs": "Automated and unreviewed: no person checks each answer, and data can be incomplete, late or wrong. Not legal advice. The order on the court's website governs and prevails over this answer; open the link before you file. Not a substitute for the advice of an attorney. The Civil Local Rules and the Federal Rules also apply and are not covered here."
}
```

`quote` is the order's own words. `must_do` is Stetline's plain reading of the clause, kept separate so an agent never confuses the two. The full response also carries `clause`, the surrounding paragraph from the PDF, for an agent that wants to show the context to a person.

## How do you connect over MCP?

Add the server to an MCP client's configuration:

```json
{"mcpServers":{"stetline":{"type":"http","url":"https://stetline.bulkhead.solutions/mcp"}}}
```

The server exposes six tools: `ai_rules`, `filing_rules`, `orders_in_force`, `search_orders`, `changes_since` and `coverage`. A tool call returns the same object as the REST endpoint, as structured content with a text copy for older clients.

## Which statuses can come back?

| Status | Meaning for an agent |
|---|---|
| certification_required | The order asks for a separate certification; `who_certifies` says who |
| signature_certification | Signing the filing is the certification; no separate statement |
| disclosure_required | The filing must be identified as AI-drafted |
| verification_duty | Verify the content; the clause asks for no statement |
| no_ai_filing_rule_found | Every order in force was read in full and none has an AI filing rule |
| check_the_order | Something could not be read or is not held; a person should read the linked orders |

Errors are separate from statuses. An uncovered court returns `court_not_covered` and an unknown judge returns `judge_not_found`, both with HTTP status 404 over REST. Neither means "no rule".

## How should an agent treat check_the_order?

As "not cleared". The status means Stetline could not finish the job: an order is a scan with no text layer, a label is stale because the court replaced the file, an AI mention has not been labelled yet, or the date you asked about is earlier than an order's current version. The `check` array names each order and why. For [Edward M Chen](https://stetline.bulkhead.solutions/judges/chen-edward):

```json
{
  "status": "check_the_order",
  "check": [
    {
      "order_id": "cand:standing-order-civil-general-revised-12-1-2022",
      "title": "Judge Chen's General Standing Order For Civil Cases",
      "effective": "2019-02-04",
      "url": "https://www.cand.uscourts.gov/sites/default/files/standing-orders/Standing-Order-Civil-General-REVISED-12-1-2022.pdf",
      "why": "the PDF is a scan with no text layer",
      "kind": "standing_order"
    }
  ]
}
```

A sensible design hands these links to a person and waits, rather than treating the empty `rules` array as a pass. The same goes for `no_ai_filing_rule_found`: it covers listed standing orders only, not the Local Rules or an order made in the case.

## What about a filing date in the past?

Pass `date`. Stetline keeps versions from 9 November 2026 on. Asking about Judge Lee on 2026-06-01 returns `check_the_order`, because her current civil standing order took effect on 31 August 2026 and the version in force on 1 June is not held.

## How fresh is the answer?

Every response carries `as_of.data_date` and a `data_version`. To learn when a judge's orders moved, poll `changes_since` with the `next_cursor` from the previous call; with `ai_only` set, it returns only orders with an AI clause.

Read [the tool reference](https://stetline.bulkhead.solutions/docs), [try a call in the browser](https://stetline.bulkhead.solutions/try), or open [Judge Lee's page](https://stetline.bulkhead.solutions/judges/lee-eumi).

---

Automated and unreviewed. Stetline reads the standing orders the court publishes, automatically, and no person checks each answer. Data can be incomplete, late or wrong. Always open the order linked with every answer and read it before you file. Not legal advice and not a substitute for the advice of an attorney. The order as published by the court prevails over anything Stetline says. Stetline is independent and not affiliated with any court.

Source: U.S. District Court for the Northern District of California, Standing Orders, https://www.cand.uscourts.gov/judges/standing-orders. Data date 2026-11-09, data version 2026-11-09.140.ad69cfe5. HTML: https://stetline.bulkhead.solutions/blog/2026-11-10-check-ai-rule-from-your-agent
