Skip to content
lawcorpus
lawcorpus

Tools

Everything lawcorpus exposes to your AI client: tools, resources and prompts.

16 capabilities16 tool
Automated heuristic

Tool docs quality: B — 16 tools graded

Average 79/100 for how clearly each description tells an AI client what the tool does, what it needs, and what it changes. It is not a security audit.

  • Grade A: 10
  • Grade B: 3
  • Grade C: 3
  • Grade D: 0
  • Grade F: 0
How grades work
  • The full citation chain for one document in a single call: metadata with all dates and identifiers, the permanent legal link, a signed URL to the original source file where available, and the full document body. Requires

    Description quality grade A, 85/100 · 1 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: not passed0/15

      Open with an action verb, for example “Search issues…” or “Creates a label…”.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: passed10/10

      Includes when or how to use it.

  • Full text for documents matching the same filter family as listdocuments. Requires iso.

    Description quality grade C, 65/100 · 2 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: not passed0/15

      Open with an action verb, for example “Search issues…” or “Creates a label…”.

    • Mentions its inputs: not passed0/20

      Say what the tool needs, for example “by issue number” or “takes a file path”.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: passed10/10

      Includes when or how to use it.

  • One specific version of one document. Requires the numeric documentid and version.

    Description quality grade C, 65/100 · 2 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: not passed0/15

      Open with an action verb, for example “Search issues…” or “Creates a label…”.

    • Mentions its inputs: not passed0/20

      Say what the tool needs, for example “by issue number” or “takes a file path”.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: passed10/10

      Includes when or how to use it.

  • Markdown renderings for documents matching the same filter family. Requires iso.

    Description quality grade C, 65/100 · 2 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: not passed0/15

      Open with an action verb, for example “Search issues…” or “Creates a label…”.

    • Mentions its inputs: not passed0/20

      Say what the tool needs, for example “by issue number” or “takes a file path”.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: passed10/10

      Includes when or how to use it.

  • A time-limited signed URL to a document's original source file (PDF etc.), as issued upstream. Requires the numeric documentid.

    Description quality grade A, 85/100 · 1 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: not passed0/15

      Open with an action verb, for example “Search issues…” or “Creates a label…”.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: passed10/10

      Includes when or how to use it.

  • Recent legal documents for a jurisdiction. Requires iso; optional since freshness window (default yesterday), topic, datefield, status, authority filters, includerepealed and maxperjurisdiction.

    Description quality grade A, 85/100 · 1 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: not passed0/15

      Open with an action verb, for example “Search issues…” or “Creates a label…”.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: passed10/10

      Includes when or how to use it.

  • Authority types for a jurisdiction. Requires iso; optional portalname and authoritytype filters and pagination.

    Description quality grade A, 85/100 · 1 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: not passed0/15

      Open with an action verb, for example “Search issues…” or “Creates a label…”.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: passed10/10

      Includes when or how to use it.

  • Legal categories, optionally narrowed by subdomainid or categoryname, with pagination. No required arguments.

    Description quality grade B, 75/100 · 2 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: not passed0/15

      Open with an action verb, for example “Search issues…” or “Creates a label…”.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • Documents in a jurisdiction with structured filters and pagination. Requires iso; optional filters include portal, title, sectiontitle, url, status, repealed, date fields, issuingauthority, typeofauth

    Description quality grade A, 85/100 · 1 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: not passed0/15

      Open with an action verb, for example “Search issues…” or “Creates a label…”.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: passed10/10

      Includes when or how to use it.

  • Legal domains, optionally filtered by name (domain), with limit / offset pagination. No required arguments.

    Description quality grade B, 75/100 · 2 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: not passed0/15

      Open with an action verb, for example “Search issues…” or “Creates a label…”.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • Issuing authorities for a jurisdiction. Requires iso; optional portalname and issuingauthority filters and pagination.

    Description quality grade A, 85/100 · 1 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: not passed0/15

      Open with an action verb, for example “Search issues…” or “Creates a label…”.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: passed10/10

      Includes when or how to use it.

  • Every jurisdiction (country or state) in the corpus, with name, iso code and type. Call this first: the other tools key off these iso codes. No arguments.

    Description quality grade B, 75/100 · 2 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: not passed0/15

      Open with an action verb, for example “Search issues…” or “Creates a label…”.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: not passed0/10

      Add when to use it, what it requires, or what to use instead.

  • Law types under one subcategory. Requires subcategoryid; optional lawtype filter and pagination.

    Description quality grade A, 85/100 · 1 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: not passed0/15

      Open with an action verb, for example “Search issues…” or “Creates a label…”.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: passed10/10

      Includes when or how to use it.

  • Legal portals for a jurisdiction. Requires iso; optional name, tag and lang filters.

    Description quality grade A, 85/100 · 1 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: not passed0/15

      Open with an action verb, for example “Search issues…” or “Creates a label…”.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: passed10/10

      Includes when or how to use it.

  • Subcategories of one category. Requires categoryid; optional subcategoryname filter and pagination.

    Description quality grade A, 85/100 · 1 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: not passed0/15

      Open with an action verb, for example “Search issues…” or “Creates a label…”.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: passed10/10

      Includes when or how to use it.

  • Subdomains of one domain. Requires domainid; optional subdomain name filter and pagination.

    Description quality grade A, 85/100 · 1 to fix
    • Has a description: passed20/20

      The tool has a description an AI client can read.

    • Sensible length: passed20/20

      Length is in a useful range.

    • Starts with what it does: not passed0/15

      Open with an action verb, for example “Search issues…” or “Creates a label…”.

    • Mentions its inputs: passed20/20

      The description mentions what the tool takes.

    • Explains side effects: passed15/15

      Looks read-only, so no disclosure is required. Saying “read-only” still helps.

    • Gives usage guidance: passed10/10

      Includes when or how to use it.