Skip to main content
Glama

recent_layoffs

Retrieve US WARN layoff and plant-closure notices from a static dataset that fall within a chosen number of days of the snapshot date; optionally cap results.

Instructions

Notices from the newest N days OF THE SNAPSHOT: notice dates within N days of the dataset's newest notice date (2026-11-20), which the response states as dataset_newest_notice_date. This is a static file assembled 2026-11-26, not a live feed.

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": {
      "days": "<days>"
    },
    "name": "recent_layoffs"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysYes
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full disclosure burden, and it handles the highest-risk trait well: it declares the data is a static file assembled 2026-11-26 with an anchor date of 2026-11-20, so the agent won't misrepresent freshness. It does not address result ordering, truncation via limit, or what happens for large days values.

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?

Three short sentences, front-loaded with the selection rule and followed by the staleness caveat. The mid-sentence reference to dataset_newest_notice_date is slightly clunky but earns its place by naming a response field the agent can rely on.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 2-parameter tool with no annotations and no output schema, the description covers the temporal semantics and data provenance adequately. The notable remaining gap is limit behavior — whether results are capped and how an agent should raise it — which matters for a tool that could return many notices.

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 coverage is 0%, so the description must compensate. It defines 'days' meaningfully as an offset from dataset_newest_notice_date (not from today), which is a real semantic addition, but it says nothing about 'limit' — no indication that it caps results, defaults to 25, or implies truncation.

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 the resource (layoff notices) and the precise selection rule: notice dates within N days of the dataset's newest notice date. The definition of 'recent' as snapshot-relative rather than calendar-relative is a genuinely distinguishing scope statement, though the verb is elliptical ('Notices from the newest N days') and no sibling is named.

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 'not a live feed' caveat implicitly tells an agent to avoid this tool for current-data questions, which is useful usage context. However, there is no explicit guidance on when to prefer this over search_layoffs or layoff_count, and no mention of what to do when N exceeds the snapshot's coverage.

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