Skip to main content
Glama
thesma-dev

Thesma MCP Server

Official
by thesma-dev

get_state_unemployment

Retrieve monthly unemployment and labor force statistics for a single US state using its FIPS code. Choose seasonal adjustment, date ranges, or annual averages from BLS data.

Instructions

Get monthly LAUS unemployment data for a single US state. Defaults to seasonally adjusted (adjustment='sa'); pass adjustment='nsa' for the not-seasonally-adjusted series. Without dates, returns the latest available observation. Provide both from_date and to_date (YYYY-MM) for a time series. Set annual_only=True to return only annual averages (M13 rows). Params: fips is a 2-digit state FIPS code (e.g. '06' for California, '48' for Texas). State observations include labor force participation rate and employment-population ratio. For comparing multiple states in a single period, use compare_state_unemployment instead. Source: US Bureau of Labor Statistics, Local Area Unemployment Statistics (public domain).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fipsYes
to_dateNo
from_dateNo
adjustmentNo
annual_onlyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description fully discloses key behavior: default seasonal adjustment, the 'nsa' option, handling of missing dates (latest observation), annual-only mode (M13 rows), and the included metrics (labor force participation rate, employment-population ratio). This is comprehensive for a data retrieval 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?

The description is well-structured, front-loaded with the core purpose, then details, then source/alternative. Each sentence adds value without redundancy. It is dense but not bloated.

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 tool's moderate complexity (5 params, output schema present), the description covers all necessary context: defaults, date handling, annual averages, param formats, data source, and sibling distinction. No significant gap exists.

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?

The input schema has 0% description coverage, but the description compensates fully: fips with examples, adjustment values ('sa'/'nsa'), date format (YYYY-MM), and annual_only semantics (M13 rows). Every parameter is explained in the description.

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 a specific verb ('Get'), a specific resource ('monthly LAUS unemployment data for a single US state'), and distinguishes from siblings by explicitly noting single-state scope. It also mentions the alternative tool for multi-state comparison.

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

Usage Guidelines5/5

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

Provides explicit when-to-use guidance, including the alternative tool 'compare_state_unemployment' for comparing multiple states. Also explains parameter usage (adjustment, dates, annual_only) with concrete examples, making the intended use cases clear.

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