Skip to main content
Glama

Search employment-law rulings

search_rulings
Read-only

Search published employment-law rulings from our research corpus by keyword, law, court, federal circuit, state, outcome, and date. Returns published opinions with citations, outcomes, procedural stage, employers, claim types, recorded monetary amounts, and links to the full opinion. Use this to ground any claim about how employment cases have been decided. Results are quality-filtered (low-confidence and junk rows excluded).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_rulings"
  }
}

Input Schema

NameRequiredDescriptionDefault
lawNoFilter by a stored law association (not a verified holding), e.g. "title-vii", "adea", "ada", "fmla", "flsa".
courtNoFilter by CourtListener court id, e.g. "scotus", "ca11" (11th Circuit).
limitNoMax rulings to return (1–25).
queryNoLexical search across case name, opinion excerpt, stored summary and employer. Every word must match; a match does not verify a claim or holding.
stateNoUS state or territory where the case was filed, by name or postal abbreviation (e.g. "Florida" or "FL").
circuitNoFilter to a federal appeals circuit (the appeals court plus its district courts). Preferred values: first-circuit, second-circuit, third-circuit, fourth-circuit, fifth-circuit, sixth-circuit, seventh-circuit, eighth-circuit, ninth-circuit, tenth-circuit, eleventh-circuit, dc-circuit, federal-circuit. Display forms like "Eleventh Circuit" or "11th" are also accepted.
date_toNoLatest filing date (YYYY-MM-DD).
outcomeNoWinner, dismissal and mixed-result filters cover source-checked rulings only. Winner searches also exclude classifications requiring source review. Settlements and remands also include reportable older rulings. Omit outcome to browse older caption-side classifications and rulings with withheld labels.
date_fromNoEarliest filing date (YYYY-MM-DD).

Output Schema

NameRequiredDescriptionDefault
totalNoMatching rulings in the selected cohort.
rulingsNoMatching published opinions with court, outcome, stage and link.
returnedNoRulings included in this result.
search_kindNoHow the query matched (lexical, every term required).
_attributionNoSource and disclaimer for this result: Workers' Rights, its URL, the attribution line, and that the result is educational information, not legal advice.
evidence_noteNoWhat a match does and does not establish.
outcome_filter_scopeNoCoverage of the selected source-checked outcome filter, when applicable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / outcome / description
      Previous value: -"Filter by the stored outcome label. On older rows that are not source-checked, plaintiff_win and defendant_win name the side of the case caption, not the worker or the employer; a matching row whose label the site withholds is returned with outcome_type null."New value: +"Winner, dismissal and mixed-result filters cover source-checked rulings only. Winner searches also exclude classifications requiring source review. Settlements and remands also include reportable older rulings. Omit outcome to browse older caption-side classifications and rulings with withheld labels."
    • addedOutput schema / properties / outcome_filter_scope
      Added value: +{
      +  "description": "Coverage of the selected source-checked outcome filter, when applicable.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / total / description
      Previous value: -"Matching rulings in the corpus."New value: +"Matching rulings in the selected cohort."
  2. Changed3 schema fields changed
    • changedInput schema / properties / state / description
      Previous value: -"Two-letter US state code the case was filed in, e.g. \"FL\", \"CA\"."New value: +"US state or territory where the case was filed, by name or postal abbreviation (e.g. \"Florida\" or \"FL\")."
    • changedInput schema / properties / state / maxLength
      Previous value: -2New value: +40
    • removedInput schema / properties / state / minLength
      Removed value: -2
  3. Changed1 schema field changed
    • changedInput schema / properties / outcome / description
      Previous value: -"Filter to a specific case outcome."New value: +"Filter by the stored outcome label. On older rows that are not source-checked, plaintiff_win and defendant_win name the side of the case caption, not the worker or the employer; a matching row whose label the site withholds is returned with outcome_type null."
  4. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "_attribution": {
      +      "description": "Source and disclaimer for this result: Workers' Rights, its URL, the attribution line, and that the result is educational information, not legal advice.",
      +      "properties": {
      +        "disclaimer": {
      +          "type": "string"
      +        },
      +        "line": {
      +          "type": "string"
      +        },
      +        "source": {
      +          "type": "string"
      +        },
      +        "url": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "evidence_note": {
      +      "description": "What a match does and does not establish.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "returned": {
      +      "description": "Rulings included in this result.",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "rulings": {
      +      "description": "Matching published opinions with court, outcome, stage and link.",
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "search_kind": {
      +      "description": "How the query matched (lexical, every term required).",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "total": {
      +      "description": "Matching rulings in the corpus.",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  5. Changed2 schema fields changed
    • changedInput schema / properties / law / description
      Previous value: -"Filter by a related law id, e.g. \"title-vii\", \"adea\", \"ada\", \"fmla\", \"flsa\"."New value: +"Filter by a stored law association (not a verified holding), e.g. \"title-vii\", \"adea\", \"ada\", \"fmla\", \"flsa\"."
    • changedInput schema / properties / query / description
      Previous value: -"Free-text search across case name and opinion snippet (e.g. \"pregnancy discrimination retaliation\")."New value: +"Lexical search across case name, opinion excerpt, stored summary and employer. Every word must match; a match does not verify a claim or holding."
  6. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  7. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / required
      Removed value: -[
      -  "limit"
      -]
  8. Changed1 schema field changed
    • addedInput schema / properties / circuit
      Added value: +{
      +  "description": "Filter to a federal appeals circuit (the appeals court plus its district courts). Preferred values: first-circuit, second-circuit, third-circuit, fourth-circuit, fifth-circuit, sixth-circuit, seventh-circuit, eighth-circuit, ninth-circuit, tenth-circuit, eleventh-circuit, dc-circuit, federal-circuit. Display forms like \"Eleventh Circuit\" or \"11th\" are also accepted.",
      +  "maxLength": 40,
      +  "type": "string"
      +}
  9. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds one genuine behavioral fact not in annotations – that low-confidence and junk rows are excluded – but otherwise restates the return fields, redundantly with the output schema.

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?

Front-loaded with verb, resource, and facets, then return shape, then purpose, then the filtering caveat – a sensible order with little wasted wording. The return-field enumeration is the one sentence that partly duplicates structured data and could be trimmed.

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 9 all-optional, fully documented parameters and an output schema present, the description covers what an agent needs to call it correctly, including a caveat that matches are lexical and do not verify a holding. Nothing critical is missing, though it does not warn about empty-result behavior for narrow filter combinations.

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 100%, so the baseline is 3. The description only lists the filter facets at a high level and adds no syntax, defaults, or interpretation guidance beyond what the schema's per-property descriptions already supply (e.g. circuit preferred values, outcome coverage rules).

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?

States a specific verb (Search) and resource (published employment-law rulings) plus the full facet list, which makes it immediately distinguishable from get_corpus_stats or get_employer_track_record. It does not explicitly separate itself from find_similar_cases, so it stops short of a 5.

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 this to ground any claim about how employment cases have been decided" gives a clear triggering context, and the note that results are quality-filtered tells the agent when the output is trustworthy. There are no explicit when-not-to-use conditions or named alternatives, which keeps it below a 5.

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