Skip to main content
Glama

Inmigreat: U.S. immigration court and USCIS data

USCIS form statistics

get_uscis_form_statistics
Read-onlyIdempotent

National USCIS figures for a form, quarter by quarter: applications received, approved, denied and pending, change in a year, and Inmigreat estimates (months to clear the pending cases at the current pace; share of approvals). Forms: I-485 (green card), I-130 (family petition), N-400 (citizenship), I-765 (work permit). Source: official USCIS reports.

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

Input Schema

NameRequiredDescriptionDefault
formYesUSCIS form
quartersNoHow many recent quarters to include

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered structurally. The description adds real value beyond that by defining the two Inmigreat estimate metrics (months to clear pending at current pace, share of approvals) and citing the official USCIS report source, which tells the agent how much to trust the numbers. It does not mention data lag or how recent the latest available quarter is, which is the main remaining behavioral gap.

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?

One dense paragraph that front-loads the resource and payload, then lists forms and the source. Every clause carries information, though the sentence is long and the parentheses-nested metric definitions make it slightly harder to scan than separate lines would.

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?

There is no output schema, but the description compensates by enumerating the returned fields and defining the derived estimates, so an agent knows what it will get. For a two-parameter read-only lookup with full annotation coverage, nothing needed to call it correctly 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 coverage is 100%, so both parameters are already documented, including the enum and the 1-60 bound on quarters. The description still adds semantic mapping the enum alone lacks, spelling out that i-485 means green card, i-130 family petition, n-400 citizenship and i-765 work permit, which helps the agent translate user phrasing into the right value.

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+resource (national USCIS figures per form, quarter by quarter) and enumerates exactly which metrics come back: received, approved, denied, pending, year-over-year change, plus two derived estimates. The four supported forms are listed with plain-language glosses, so an agent can match a user request without opening the 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?

The description makes the scope clear (aggregate national statistics per form) which implicitly distinguishes it from case-status or field-office tools, but it never says when to prefer it over a sibling such as get_uscis_processing_times, nor does it state any exclusions or prerequisites. Usage is inferable rather than directed.

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