Skip to main content
Glama

Inmigreat: U.S. immigration court and USCIS data

Immigration judge decisions

get_immigration_judge
Read-onlyIdempotent

How a U.S. immigration judge (EOIR) decided over the last 12 months: number of decisions and the share with relief, removal orders, voluntary departure, closures, in absentia orders, attorney representation and median days to decision. Source: official EOIR case data.

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": {
      "name": "<name>"
    },
    "name": "get_immigration_judge"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesJudge name or part of it, e.g. "Patrick Barrett"
courtNoOptional court name, city or slug to narrow the search

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 readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered and the description's bar is lower. The description still adds real value beyond the annotations by naming the data provenance (official EOIR case data) and the fixed 12-month lookback, which tells the agent the results are a bounded, authoritative snapshot rather than live or all-time data. It does not discuss pagination, absent-judge behavior, or fuzzy name matching edge cases, keeping it at a 4 rather than a 5.

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 compact sentences: the first front-loads the scope and then the metric list, the second states the source. The long metric enumeration is justified because no output schema exists, so it is the only place the return fields are described. Minor density cost from the comma-spliced list, but no filler or redundant restatement of the title.

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 no output schema, the description correctly carries the burden of explaining what comes back by enumerating every reported metric, and with 100% schema coverage the two input parameters need no further elaboration. For a simple two-parameter read-only lookup this is close to complete. The remaining gap is that nothing addresses how a partial or ambiguous judge name resolves or what an empty result means.

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 both parameters (name, court) are already documented with examples and optionality in the schema, making 3 the baseline. The description adds only indirect meaning: the 12-month scope implies the temporal bounds of what the judge parameter retrieves, but it says nothing about name-matching semantics (partial match, ambiguity) beyond what the schema already states. It neither compensates for nor undercuts 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?

Names a specific resource (a U.S. immigration judge's EOIR decisions) and a specific time window (last 12 months), then enumerates the exact metrics produced: decision counts, relief share, removal orders, voluntary departure, closures, in absentia orders, attorney representation, and median days to decision. That level of specificity distinguishes it cleanly from the court-level sibling get_immigration_court without the agent needing to open either schema.

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

Usage Guidelines3/5

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

Usage is implied by the scope: this is judge-level adjudication statistics over a rolling 12 months, so an agent can infer it should be called for per-judge outcomes rather than court-level or form-level queries. However, there is no explicit when-to-use or when-not-to-use statement, and no named alternative such as get_immigration_court is offered for court-wide aggregates. The 12-month window is the only implicit constraint disclosed.

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