Skip to main content
Glama

search_layoffs

Search U.S. WARN layoff and plant-closure notices by company, state, or city to find affected-worker counts and newest notice records.

Instructions

Search WARN layoff notices. All filters are optional and compose: company is a case-insensitive substring match on the employer name, state is a 2-letter state code, city is an exact (case-insensitive) site city. Returns {count, workers_affected_total, limit, offset, results} ordered by notice date, newest first.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_layoffs"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNo
limitNo
stateNo
offsetNo
companyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose genuinely useful traits beyond structure: composability of filters, substring vs exact matching semantics, the return object shape, and result ordering ('newest first'). However, it omits the safety profile (that it is a read-only operation), any maximum on limit, and how defaults behave, which matter for a no-annotation tool.

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?

Three tight sentences: purpose first, then filter semantics, then return shape and ordering. Every clause carries information an agent cannot get from the schema, 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?

For a five-parameter, annotation-free, output-schema-free tool, this covers the essentials: what it searches, how each filter matches, and what comes back in what order. Remaining gaps are pagination defaults and maximums, which an agent would need to page correctly.

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 0%, so the description has to supply meaning, and it does for the three filter parameters: company as case-insensitive substring, state as a 2-letter code, city as exact case-insensitive site city. limit and offset appear only in the returned envelope, not as explained inputs, so pagination semantics remain undocumented.

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?

The description opens with a specific verb+resource: 'Search WARN layoff notices', naming the exact dataset (WARN notices) rather than a generic 'search records'. It is clear what the tool does, but it never distinguishes itself from siblings like layoffs_by_state, layoffs_by_industry, recent_layoffs, or layoff_count, so an agent must infer which entry point to pick.

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 rather than stated: 'All filters are optional and compose' signals this is the general ad-hoc query tool versus the pre-aggregated siblings. There is no explicit when-to-use or when-not-to-use statement, and no mention of the sibling tools that overlap with it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.