Skip to main content
Glama

Public Sector Employment Tool

public_sector_tool
Read-onlyIdempotent

Query government employment and payroll data from the Annual Survey of Public Employment & Payroll. Filter by year, geography, and government type for state or local levels.

Instructions

Retrieve government employment and payroll statistics from the Annual Survey of Public Employment & Payroll. Get employment counts and payroll data for state and local governments. Data includes full-time and part-time employees, total hours worked, and payroll amounts. Supports filtering by government type (state, local, or combined). Available from 2017 to present.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearNoYear for public sector employment data (2017-2024). Default: 2024.2024
variablesNoArray of employment/payroll variables to retrieve. Common: TOT_EMP (total employment), FT_EMP (full-time), PT_EMP (part-time), TOT_PAY (total payroll), FT_PAY (full-time payroll), PT_PAY (part-time payroll), TOT_HRS (total hours). Default: [TOT_EMP, FT_EMP, PT_EMP, TOT_PAY].
geographyYesGeographic level to query. Options: us (national), state (all states or specific state).
stateNoState FIPS code (2 digits). Optional to get data for a specific state.
governmentTypeNoType of government. state: state government only, local: local government only, combined: state and local combined. If not specified, returns all types.
Behavior4/5

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

Annotations already convey readOnly, destructive, idempotent, and openWorld hints. The description adds valuable behavioral context: data source, year range (2017-present), and supported government types. This adds clarity beyond the annotations.

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 a focused 4-sentence paragraph that front-loads the purpose and efficiently covers data types, filtering, and availability. No superfluous content; every sentence adds value.

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 description covers data scope, filtering, and time range. It lacks details on output structure (since no output schema), which is a minor gap. However, for a read-only tool with well-documented inputs, it is nearly complete.

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 100%, so the schema already describes parameters thoroughly. The description adds an overview and common variable examples but does not significantly enhance understanding beyond the schema. Baseline 3 is appropriate.

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 retrieves government employment and payroll statistics from the Annual Survey of Public Employment & Payroll, specifying the data types (full-time/part-time, hours, payroll) and filtering options. It distinguishes itself from siblings by naming the exact survey and focusing on public sector data.

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 description provides context for typical use (public employment data) but does not explicitly contrast with sibling tools or explain when to avoid using it. No alternatives are mentioned, leaving the agent to infer use cases from the survey name.

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/mattpodwysocki/census-mcp-server'

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