Skip to main content
Glama

layoffs_by_industry

Find WARN layoff and plant-closure notices by matching a word or phrase in published industry text. Use it for sector research; empty results may reflect omitted state industry data.

Instructions

WARN notices whose published industry text contains the given word or phrase (e.g. 'Manufacturing', 'Health Care', 'Retail'). Industry is the text the state published with the notice and is present on 7,390 of 35,031 rows, so an empty result can mean the state published no industry for its notices, not that no layoffs happened.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
industryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses that matching is a substring containment test rather than exact equality, and it quantifies data coverage (7,390 of 35,031 rows) so the agent can correctly interpret an empty result as missing state-published data rather than zero layoffs. It omits return shape, ordering, and pagination behavior, which keeps it short of 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 sentences, front-loaded with the core operation, and both earn their place: the first defines the match, the second prevents a specific and likely misreading of empty results. The second sentence is dense but not padded.

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 read-only filtered-list tool with no annotations and no output schema, the definition covers the two things an agent most needs: what is matched and how to interpret an empty response. The remaining gap is pagination semantics for limit/offset, which the description leaves entirely to the schema's defaults.

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 0%, so the description must compensate. It explains the required 'industry' parameter well — substring match against state-published text, with examples of expected granularity — but says nothing about 'limit' or 'offset', which an agent must guess at from their defaults of 25 and 0.

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 states a specific verb-resource pair: it returns WARN notices filtered by a substring match on the published industry text, with concrete examples ('Manufacturing', 'Health Care', 'Retail'). It is clear what the tool does but never names or contrasts a sibling such as layoffs_by_state, so an agent must infer the distinction.

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 filter semantics and the empty-result caveat effectively says 'use this when industry is the dimension you care about,' but there is no explicit when-to-use guidance and no stated alternative for broader searches. Nothing is misleading, but the agent gets no routing help.

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