Skip to main content
Glama

get_state_summary

Get a summary of WARN Act layoff data for a specific US state.

Args:
    state: Two-letter state code (e.g. CA, TX, NY, FL)
    api_key: Optional API key for higher rate limits

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateYes
api_keyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

A3.6/5.0
Behavior2/5

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

With no annotations, the description carries full behavioral burden. It implies a read operation ('Get') and mentions api_key for rate limits, but does not state whether any data is modified, whether authentication is required, or how errors (invalid state) are handled.

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 two sentences plus a clean parameter list. It is front-loaded with the purpose and every line adds value. No wasted words.

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 tool is simple (2 params, output schema exists), so the description is sufficient for invocation. It does not elaborate on return value details (covered by output schema) but lacks any notes on limitations or edge cases that might be relevant for a complete picture.

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 coverage is 0%, so the description compensates by explaining both parameters: state as a two-letter code with examples, and api_key as optional for higher rate limits. This adds meaningful context beyond the raw schema.

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 uses a specific verb ('Get') and identifies a concrete resource ('a summary of WARN Act layoff data') scoped to 'a specific US state'. This clearly differentiates from general query tools like search_layoffs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus siblings like get_state_intelligence or search_layoffs. The description does not mention any exclusions or alternate tool recommendations.

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.

TDQS

A3.9/5.0
Disambiguation3/5

Several tools have overlapping scopes: get_company_layoffs vs search_layoffs (company search), get_state_summary vs get_state_intelligence (state-level view), and get_market_pulse vs get_stats (overall statistics). While descriptions clarify some differences, an agent could easily misselect between these pairs.

Naming Consistency5/5

All tool names follow a verb_noun snake_case pattern, with the majority starting with 'get_' and the rest being clear single verbs (export_records, search_layoffs, authenticate). The naming is consistent and predictable.

Tool Count5/5

12 tools is well within the ideal 3-15 range. Each tool serves a discrete purpose (auth, export, queries, analytics, pricing, stats), and the count feels appropriate for a comprehensive data API.

Completeness4/5

The tool set covers querying WARN data by various dimensions, bulk export, cross-dataset analytics, and meta operations. Minor gaps include direct access to individual non-WARN datasets and a tool to fetch a single layoff notice by ID, but these are workarounds via search or export.

Resources