Skip to main content
Glama

Loupe: citation checker for US legal filings

Check a legal draft

check_draft
Read-onlyIdempotent

Verify every authority and every link in a passage of legal writing: case citations, statutes, regulations, court rules, docket numbers, cases named without a citation, and URLs. Returns a finding per problem with a confidence level, plus a list of what could not be checked. Use it when the user asks for a draft, brief or memo to be checked.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "check_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
check_linksNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world and non-destructive behavior, so the safety profile is covered. The description adds real behavioral context beyond that: results come back as one finding per problem with a confidence level, plus an explicit list of what could not be checked, which warns the agent about partial coverage. It does not say that link checking reaches the network or may be slow, which is the one notable omission given openWorldHint and check_links defaulting to true.

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

Conciseness4/5

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

Two sentences, front-loaded with the verification scope, then the return shape, then the usage trigger. The long enumeration of authority types is dense but each item earns its place by defining scope; nothing is redundant boilerplate.

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

Completeness4/5

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

With an output schema present the description need not explain return values in depth, and it still summarizes them usefully. For a two-parameter tool with rich annotations, an agent has what it needs to invoke it correctly; only caveats about network-dependent link checking and input length limits are missing.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must carry the burden. It does imply that "text" is a passage of legal writing rather than a single citation, and "every link" implies the check_links toggle, but it never states that setting check_links=false skips URL validation or explains the cost tradeoff. Meaning is added at the margins rather than fully compensating for the undocumented schema.

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

Purpose4/5

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

The description opens with a specific verb and resource ("Verify every authority and every link in a passage of legal writing") and then enumerates the covered item types: case citations, statutes, regulations, court rules, docket numbers, uncited case names and URLs. That scope wording implicitly separates it from a single-citation checker like check_citation, but no sibling is named, so an agent must infer the batch-vs-single distinction.

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

Usage Guidelines4/5

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

"Use it when the user asks for a draft, brief or memo to be checked" gives a clear triggering condition. There are no exclusions and no pointers to alternatives such as verify_quote or check_citation for narrower requests, which is the main gap.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources