Skip to main content
Glama

Check legal citations in text

check_citations
Read-onlyIdempotent

Check case citations in a draft against a register of US court opinions to identify citations needing human review before relying on them.

Instructions

Check every case citation in a text against proofread.law's register of about 10 million US court opinions (CourtListener bulk data). Use it on a draft brief, memo, letter or any prose that cites cases, before the citations are relied on. Returns the coverage statement, counts per tier, one line per row that needs a human (red = check this: the register holds something concrete that disagrees, such as a different case at that citation or quoted words not in the opinion; orange = cannot verify: nothing to check against, such as a Westlaw/Lexis identifier or a volume newer than the register), the number of citations found, and a report id for render_report. Cannot: resolve Westlaw (WL) or Lexis identifiers, check statutes, regulations or secondary sources, or say whether a case is still good law. A red row means 'check this', never 'this case does not exist'; an orange row means the register has nothing to check against, which is not evidence either way. deep=true also asks, for each found citation, whether the opinion supports the sentence it is cited for (white rows). It is slower (1 to 2 s per citation), opt-in because the clause before each citation is sent to a model judge, limited to 3 per month on the free tier, and its answers are a review queue, not a verdict. Free tier: 20 checks a month per IP; a Firm API key in PROOFREAD_API_KEY lifts that.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deepNoAlso check whether each cited opinion supports the sentence it is cited for. Slower, opt-in, 3 per month on the free tier.
textYesThe text to check, as written (paragraphs, footnotes, a whole brief). Pasted text is fine.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations (readOnly, openWorld, idempotent, non-destructive), the description details the output structure (coverage statement, counts per tier, red/orange rows), the meaning of red and orange (check this vs cannot verify), and the deep mode behavior (slower, opt-in, limited to 3/month, answers are a review queue not a verdict). It also discloses free tier limits and API key lifting. No contradictions with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is long but every sentence carries critical information. It is front-loaded with the core function, then usage, then output details, limitations, deep mode, and free tier. It is organized logically without redundancy, making efficient use of the reader's attention.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a complex tool with no output schema, so the description must explain the return values. It does: coverage statement, counts per tier, one line per row needing human, number of citations, and report id for render_report. It also explains what it cannot do and the meaning of red/orange. The description fully equips an agent to call the tool correctly and interpret results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema coverage is 100%, the description adds substantial meaning to the 'deep' parameter: it explains that it checks whether the opinion supports the sentence, is slower (1-2s per citation), sends the clause to a model judge, is limited to 3/month, and returns a review queue. For 'text', the schema already describes it, but the description reinforces its use for prose. The description adds value beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Check every case citation in a text against proofread.law's register of about 10 million US court opinions'. It also specifies the use case (draft brief, memo, letter) and differentiates from siblings by explicitly stating what it cannot do (resolve WL/Lexis, check statutes/regulations).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly instructs when to use it: 'Use it on a draft brief, memo, letter or any prose that cites cases, before the citations are relied on.' It also lists exclusions (cannot resolve WL/Lexis, check statutes, etc.) and describes the deep mode option with clear trade-offs (slower, opt-in, limited). This provides clear guidance for selecting this tool over alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.