Skip to main content
Glama
thesma-dev

Thesma MCP Server

Official
by thesma-dev

compare_state_unemployment

Compare unemployment metrics across up to 10 US states for a chosen period. Specify states via FIPS codes, optionally set year/month and seasonal adjustment, or default to latest available data.

Instructions

Compare LAUS unemployment metrics across up to 10 US states for a single period. Defaults to seasonally adjusted (adjustment='sa'); pass adjustment='nsa' for the NSA series. Params: fips is a comma-separated list of 2-digit state FIPS codes (e.g. '06,48,36' for CA, TX, NY). Maximum 10 states per call. year and month are both optional, but if one is provided the other must be too (omit both to get the latest period the API can resolve). Use month=13 for the annual-average row. Source: US Bureau of Labor Statistics, Local Area Unemployment Statistics (public domain).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fipsYes
yearNo
monthNo
adjustmentNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It explains defaults, constraints (max 10 states, year/month pairing), and special values (month=13), which is strong. It does not discuss error handling or output specifics, but the output schema covers that. It's thorough but not exhaustive.

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 information-dense but well-structured. It leads with the core purpose, then parameter rules, then source. Every sentence adds value; no fluff or repetition.

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

Completeness5/5

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

Given the output schema exists, the description does not need to explain return values. It covers all parameters, their constraints, defaults, and the data source. This is a complete guide for invoking the tool correctly.

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?

Schema description coverage is 0%, so the description must compensate. It fully does: explains fips format with examples, maximum states, adjustment options, year/month dependency, and the special annual-average month. This far exceeds the bare schema and gives the agent everything needed to correctly populate parameters.

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 clearly states the tool compares LAUS unemployment metrics across up to 10 US states for a single period. The verb 'compare' and resource 'LAUS unemployment metrics' are specific, and the scope distinguishes it from siblings like get_state_unemployment or compare_county_unemployment.

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?

It provides clear usage context: when to use (multi-state comparison), how to specify parameters (fips format, adjustment, year/month pairing, month=13), and defaults (seasonally adjusted). However, it does not explicitly mention alternatives or when not to use this tool, so it stops short of a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/thesma-dev/thesma-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server