Skip to main content
Glama

WARN Firehose — Labor Market Intelligence

search_layoffs

Search WARN Act layoff notices by company name, city, or keyword.

Args:
    query: Search term (company name, city, etc.)
    state: Optional 2-letter state code to filter (e.g. CA, TX, NY)
    limit: Max results to return (default 20, max 100)
    api_key: Optional API key for higher rate limits

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes
stateNo
api_keyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the transparency burden. It usefully discloses that an API key can raise rate limits and that limit has default/max bounds. However, it does not mention whether results are paginated, whether authentication is required, or any side effects (though 'search' implies non-destructive).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and well-structured: a one-sentence purpose followed by a bullet-style Args list. Every line adds value and there is no filler.

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?

The description covers input semantics and includes practical constraints (default/max, examples, API key purpose). An output schema exists, so return values are documented elsewhere. It lacks only an explicit tie to sibling tools and authentication prerequisites, which would make it fully self-sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has no descriptions for any parameters (0% coverage), but the description's Args list fully explains all four parameters: query (search term), state (2-letter filter), limit (default/max), and api_key (rate limits). This directly compensates for the schema gap.

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?

The description opens with a specific verb and resource: 'Search WARN Act layoff notices by company name, city, or keyword.' This clearly defines what the tool does and differentiates it from siblings like get_company_layoffs (targeted company lookup) and get_recent_layoffs (time-based listing).

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?

The description conveys clear context for use: it searches notices by free-text terms with optional state and limit filters. However, it does not explicitly contrast with sibling tools or state when not to use it, such as when querying a single known company (for which get_company_layoffs might be better).

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