Skip to main content
Glama

Get Employment By Industry

get_employment_by_industry
Read-onlyIdempotent

Get US non-farm payroll employment by industry (manufacturing, construction, retail, financial, government, etc.). Returns employment figures in thousands by period.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "end_year": "2024",
      "industry": "manufacturing",
      "start_year": "2018"
    },
    "name": "get_employment_by_industry"
  }
}

Input Schema

NameRequiredDescriptionDefault
_apiKeyNoOptional BLS registration key (free, raises the daily cap from ~25 to 500). The gateway supplies a platform key; pass your own only to override.
end_yearNoEnd year as 4-digit string (e.g. "2024"). Optional.
industryNoIndustry to retrieve. One of: "total_nonfarm", "manufacturing", "construction", "retail", "financial", "government". Defaults to "total_nonfarm".
start_yearNoStart year as 4-digit string (e.g. "2020"). Optional.

Output Schema

NameRequiredDescriptionDefault
dataYesEmployment data by period
unitYesUnit of measurement (thousands of persons)
totalYesNumber of data points returned. Equal to `returned`, BLS returns every point in the requested year range.
end_yearYesEnd year filter if provided, null otherwise
industryYesIndustry name requested
returnedNoHow many data points are in `data`. Always equal to `total` here; stated so a caller need not assume it.
series_idYesBLS series ID for the industry
start_yearYesStart year filter if provided, null otherwise
descriptionYesSeries description
observation_orderNoOrder of the `data` array. BLS returns each series newest-first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / total / description
      Previous value: -"Number of data points returned. Equal to `returned` — BLS returns every point in the requested year range."New value: +"Number of data points returned. Equal to `returned`, BLS returns every point in the requested year range."
  2. Changed1 schema field changed
    • changedOutput schema / properties / data / items / properties / employment_thousands / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "null"
      +]
  3. Changed3 schema fields changed
    • addedOutput schema / properties / observation_order
      Added value: +{
      +  "description": "Order of the `data` array. BLS returns each series newest-first.",
      +  "enum": [
      +    "newest_first"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / returned
      Added value: +{
      +  "description": "How many data points are in `data`. Always equal to `total` here; stated so a caller need not assume it.",
      +  "type": "integer"
      +}
    • changedOutput schema / properties / total / description
      Previous value: -"Total number of data points returned"New value: +"Number of data points returned. Equal to `returned` — BLS returns every point in the requested year range."
  4. Changed1 schema field changed
    • addedInput schema / properties / _apiKey
      Added value: +{
      +  "description": "Optional BLS registration key (free, raises the daily cap from ~25 to 500). The gateway supplies a platform key; pass your own only to override.",
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "data": {
      +      "description": "Employment data by period",
      +      "items": {
      +        "properties": {
      +          "employment_thousands": {
      +            "description": "Employment in thousands of persons",
      +            "type": "number"
      +          },
      +          "month": {
      +            "description": "Month name (e.g., January)",
      +            "type": "string"
      +          },
      +          "period": {
      +            "description": "Period code (e.g., M01)",
      +            "type": "string"
      +          },
      +          "year": {
      +            "description": "Year of the observation",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "year",
      +          "month",
      +          "period",
      +          "employment_thousands"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "description": {
      +      "description": "Series description",
      +      "type": "string"
      +    },
      +    "end_year": {
      +      "description": "End year filter if provided, null otherwise",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "industry": {
      +      "description": "Industry name requested",
      +      "type": "string"
      +    },
      +    "series_id": {
      +      "description": "BLS series ID for the industry",
      +      "type": "string"
      +    },
      +    "start_year": {
      +      "description": "Start year filter if provided, null otherwise",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "total": {
      +      "description": "Total number of data points returned",
      +      "type": "integer"
      +    },
      +    "unit": {
      +      "description": "Unit of measurement (thousands of persons)",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "series_id",
      +    "industry",
      +    "description",
      +    "unit",
      +    "start_year",
      +    "end_year",
      +    "total",
      +    "data"
      +  ],
      +  "type": "object"
      +}
  6. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "end_year": "2024",
      +    "industry": "manufacturing",
      +    "start_year": "2018"
      +  },
      +  {
      +    "industry": "construction"
      +  }
      +]
  7. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds genuine value by specifying units (thousands) and that results are keyed by period, but it says nothing about pagination, date-range limits, or data freshness — relevant for an open-world data fetch.

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?

Two tight sentences that front-load the resource and then the return units. The only minor waste is the trailing 'etc.' after an otherwise complete industry list.

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?

An output schema exists, so return structure needn't be explained, and the description still flags units and period granularity. The optional default for industry and the year parameters are fully documented in the schema, leaving little an agent would need to guess.

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% with descriptions on all four parameters, including the industry enumeration and the _apiKey rate-limit explanation, so the baseline is 3. The description's industry list and unit note largely restate what the schema already provides rather than adding new meaning.

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?

States a specific verb and resource: 'Get US non-farm payroll employment by industry', and enumerates the industry dimension (manufacturing, construction, retail, financial, government). An agent can distinguish it from get_cpi or get_unemployment by the industry framing, though the description never explicitly contrasts with those siblings.

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?

There is no guidance on when to pick this over get_unemployment or econdata_get_series, nor any stated prerequisites or exclusions. The usage is only implied by the tool name and the industry list.

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.