Skip to main content
Glama

check_draft

Verify every citation, quotation, and cited-case treatment in a legal draft, flagging misquotes, unresolved cites, negative treatment, and outdated authorities with severity-ranked issues.

Instructions

One-call cite-check of a draft opinion, memo, or brief: verify every citation, every attributed quotation, negative treatment of cited cases, and the currency of cited authorities — a severity-ranked flag report.

Checks (all on by default, select with checks): citations — every ND case cite resolves (typo catch), case-name drift vs the canonical caption, missing neutral cite, statutory subsection pinpoints validated against the provision; quotations — every quotation attributed to a nearby cite is located in that authority's text (typography-tolerant; word-level diff on mismatch); statutes/rules/const quotes are also retried against OTHER captured versions to catch quoting since- amended text; treatment — cited cases run through the citator; possible-negative / distinguished citing sentences surface (same engine as detect_overruled_in_draft, which remains the cheap treatment-only pass); currency — repealed / superseded / not-in-force authorities, checked at as_of_date when given (offense/contract date).

Severities: S1 misquotation or quote-of-superseded-text · S2 citation doesn't resolve · S3 possible negative treatment · S4 authority currency / bad pinpoint · S5 name drift / missing neutral cite.

Heuristic and NON-authoritative throughout: extraction is regex-based (foreign/federal authority is listed as unchecked, not verified), quote attribution follows the nearest-cite convention and can misattribute, bracketed alterations and ellipses in quotes surface as differences, and treatment signals are sentence-local. Read every flag's context before acting on it. A draft spanning several operative dates needs per-authority lookup_authority calls — as_of_date anchors the whole draft.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
checksNoSubset of ["citations","quotations","treatment","currency"] (default all).
max_casesNoCitator budget — max distinct cases scanned (default 60).
as_of_dateNoOptional ISO date anchoring authority currency (default: current law).
draft_textYesThe draft's full text.
max_quotesNoMax attributed quotations verified (default 40).
scan_limitNoCiting-opinion scan cap per case (default 200).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description carries the full disclosure burden and does so thoroughly: it calls itself 'Heuristic and NON-authoritative,' explains regex-based extraction and unverified foreign/federal authority, warns about nearest-cite misattribution and sentence-local treatment signals, and gives the severity ranking. This is far beyond a generic mutation/read hint.

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 block earns its place: a front-loaded summary, a bulleted breakdown of the four checks, a severity ladder, and a caveats paragraph that prevents misuse. It is structured so an agent can skim the first sentence and drill into details as needed.

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?

For a composite, six-parameter tool with no annotations, the description covers purpose, customization, output severity semantics, failure modes, and alternatives. An output schema exists for return details, so the absence of a return-format description is not a gap.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description raises this by explaining the offense/contract-date semantics of as_of_date and expanding on what each check-mode value actually validates. It does not add detail for max_quotes or scan_limit, but those are already described adequately in 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 opening line names a specific composite operation ('One-call cite-check of a draft opinion, memo, or brief') and enumerates the exact verifications. It also differentiates itself from the sibling detect_overruled_in_draft by noting that tool is the 'cheap treatment-only pass.'

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 routes treatment-only needs to detect_overruled_in_draft and tells the agent when per-authority lookup_authority calls are required instead of relying on a single as_of_date. The check list with default-all behavior also tells the agent how to narrow the call via the checks parameter.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jet52/ndlaw'

If you have feedback or need assistance with the MCP directory API, please join our Discord server