Skip to main content
Glama

Search alerts

search_alerts
Read-only

Search USCIS and DOS alerts and notices by keyword. Requires sign-in at https://immigrationlayer.com/login and an active plan. Not legal advice. Sources: USCIS newsroom alerts and Federal Register notices. Returns at most 100 matches per page, newest first. Pass next_cursor as cursor to continue until next_cursor is null. The top-level source URL identifies the exact aggregate query, including the page cursor; each result preserves its government URL, source, and content hash.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesKeyword to search for
sinceNoISO 8601 date or date-time, e.g. "2026-08-01" or "2026-08-01T09:30:00Z"; limits results to alerts published on or after this instant. A date means midnight UTC; a date-time without an offset is UTC.
cursorNoOpaque navigation cursor from the preceding page's next_cursor. Omit for the first page.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
as_ofYes
source_urlYes
content_hashYes
not_legal_adviceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true and destructiveHint=false, so the description carries the rest and does it well: authentication and plan requirements, a hard page cap of 100 results, newest-first ordering, and the exact resume contract (pass next_cursor as cursor until it is null). It also warns that the result is not legal advice and that the top-level source URL encodes the exact aggregate query, which no structured field conveys.

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?

Purpose and source scope are front-loaded, followed by preconditions, result limits, and pagination mechanics in a logical order. Dense but nearly every sentence carries actionable information; the 'Not legal advice' clause and the closing sentence about the source URL are marginally expansive rather than wasteful.

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?

An output schema exists, so return values need not be described, and the description still covers the operationally important behaviors an agent would otherwise guess at: auth/plan gating, page size, sort order, and the multi-call pagination loop. Nothing needed to call this tool 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 description coverage is 100% and each parameter is already documented, so the baseline is 3. The description goes slightly beyond by linking two parameters across calls — the cursor value comes from the previous page's next_cursor and iteration continues until next_cursor is null — plus the newest-first ordering that gives 'since' its meaning.

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+resource ('Search USCIS and DOS alerts and notices by keyword') and scopes the corpus to USCIS newsroom alerts and Federal Register notices, which separates it from the more specialized siblings (get_visa_bulletin, list_form_changes). It never explicitly names an alternative, so an agent weighing 'alerts' against 'bulletin notices' must infer the boundary.

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?

Gives real preconditions (sign-in required, active plan required) and the retrieval mode (keyword search with an optional published-on-or-after date filter), which is enough to know when it is callable. It offers no when-not guidance and never contrasts itself with the sibling tools that also surface immigration news/notices, so selection between them is left to inference.

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