Skip to main content
Glama

Fjc Case Outcomes Summary

fjc_case_outcomes_summary
Read-onlyIdempotent

Aggregate federal caseload statistics from the Federal Judicial Center's Integrated Database (FJC IDB), case counts by nature of suit (civil/appellate), offense code (criminal), disposition, fiscal year and district/circuit. Returns the TOTAL count first, then a breakdown grouped by whichever dimensions you ask for. Requires fiscal_year AND/OR district_or_circuit (a code or a court name such as "Eastern District of Texas"; an unfiltered query across every year and district cannot be answered accurately). Use this for "how many X cases were filed/terminated in district Y in year Z" questions, for a single case's outcome use fjc_case_outcome_lookup instead. Periodic snapshot, refreshed on a schedule, the response carries data_as_of. Keyless.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "case_type": "civil",
      "fiscal_year": 2023,
      "district_or_circuit": "90"
    },
    "name": "fjc_case_outcomes_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax breakdown rows to return, 1-200 (default 50).
group_byNoDimensions to break the total down by (default: nature_of_suit_code for civil/appellate, offense_code for criminal).
case_typeYesWhich FJC IDB dataset to aggregate.
fiscal_yearNoRestrict to one FJC fiscal year (October-September; pre-1992 is July-June, see the pack README). Required if district_or_circuit is omitted.
offense_codeNoCriminal only: FJC lead-offense code at filing.
disposition_codeNoFJC disposition code at termination.
district_or_circuitNoDistrict court (civil/criminal) or circuit (appellate): the FJC numeric code ("40") or a name or abbreviation ("Eastern District of Texas", "E.D. Tex.", "txed", "Fifth Circuit"). The response echoes the resolved code and name. Required if fiscal_year is omitted.
nature_of_suit_codeNoCivil/appellate only: FJC nature-of-suit code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "case_type": "civil",
      -    "district_or_circuit": "90",
      -    "fiscal_year": 2023
      -  }
      -]New value: +[
      +  {
      +    "case_type": "civil",
      +    "district_or_circuit": "90",
      +    "fiscal_year": 2023
      +  },
      +  {
      +    "case_type": "civil",
      +    "district_or_circuit": "Eastern District of Texas",
      +    "fiscal_year": 2023
      +  }
      +]
    • changedInput schema / properties / district_or_circuit / description
      Previous value: -"FJC numeric district code (civil/criminal) or circuit code (appellate). Required if fiscal_year is omitted."New value: +"District court (civil/criminal) or circuit (appellate): the FJC numeric code (\"40\") or a name or abbreviation (\"Eastern District of Texas\", \"E.D. Tex.\", \"txed\", \"Fifth Circuit\"). The response echoes the resolved code and name. Required if fiscal_year is omitted."
  2. Changed1 schema field changed
    • changedInput schema / properties / fiscal_year / description
      Previous value: -"Restrict to one FJC fiscal year (October-September; pre-1992 is July-June — see the pack README). Required if district_or_circuit is omitted."New value: +"Restrict to one FJC fiscal year (October-September; pre-1992 is July-June, see the pack README). Required if district_or_circuit is omitted."
  3. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds useful context beyond annotations: the response returns a TOTAL count first, carries `data_as_of`, is a periodically refreshed snapshot, and is keyless. It does not contradict the annotations, but it also does not add much about rate limits or failure behavior.

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?

The definition is front-loaded with the aggregation purpose and return shape, followed by requirements and the sibling alternative. Most sentences earn their place, though some parenthetical detail about fiscal year boundaries and court-name examples is dense and partly duplicates the schema. It remains readable and appropriately sized for an eight-parameter statistical tool.

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?

Given eight parameters, full schema coverage, no output schema, and annotations covering safety, the description supplies what an agent still needs: what is aggregated, the total-first response structure, the mandatory filtering constraint, data freshness via `data_as_of`, and the correct sibling for single-case lookups. No material decision or invocation detail is missing.

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 description coverage is 100%, so the schema already documents all eight parameters in detail. The description adds meaning about the combined constraint (fiscal_year AND/OR district_or_circuit) and reinforces that an unfiltered query is not answerable, which is useful beyond the per-parameter schema text. It also describes the output grouping relationship to `group_by`.

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?

States a specific verb and resource ("Aggregate federal caseload statistics"), names the underlying dataset, and explains the returned total-plus-breakdown structure. It explicitly distinguishes itself from fjc_case_outcome_lookup for single-case outcomes, so an agent can route correctly without opening both schemas.

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?

Provides explicit when-to-use guidance with example question phrasing ("how many X cases were filed/terminated in district Y in year Z") and names the alternative tool for single-case lookups. It also states the when-not condition: unfiltered queries across every year and district cannot be answered accurately, and fiscal_year or district_or_circuit is required.

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.