Skip to main content
Glama

Bls Get Series

bls_get_series
Read-onlyIdempotent

Fetch historical time series data for employment, inflation, wages, productivity, or housing. Returns dated data points with values. Provide a BLS series ID (e.g., "CES0000000001" for total nonfarm payroll employment, the headline Employment Situation jobs number; "LNS14000000" for the unemployment rate). "PAYEMS" is the FRED id for the same series, not a BLS id. "EIUIR" is the import price index (all imports) and "EIUIQ" the export price index; both monthly. Weekly jobless claims ("ICSA") are NOT a BLS series, they live in FRED (fred_get_series).

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": {
      "series_id": "LNS14000000"
    },
    "name": "bls_get_series"
  }
}

Input Schema

NameRequiredDescriptionDefault
_apiKeyNoBLS registration key (optional, increases rate limits)
end_yearNoEnd year (e.g., "2024"). Default: current year.
series_idYesBLS series ID (e.g., "LNS14000000" for unemployment rate). For multiple series, comma-separate them (e.g., "LNS14000000,CES0000000001").
start_yearNoStart year (e.g., "2023"). Default: current year minus 2.

Output Schema

NameRequiredDescriptionDefault
seriesYesArray of time series data
statusYesAPI response status (e.g., 'REQUEST_PROCESSED')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / series / items / properties / count / description
      Previous value: -"Number of data points for this series — BLS returns every point in the requested year range, so nothing is truncated."New value: +"Number of data points for this series, BLS returns every point in the requested year range, so nothing is truncated."
  2. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "_apiKey": "your-bls-api-key",
      -    "series_id": "LNS14000000"
      -  },
      -  {
      -    "_apiKey": "your-bls-api-key",
      -    "end_year": "2024",
      -    "series_id": "PAYEMS,CES0000000001",
      -    "start_year": "2020"
      -  },
      -  {
      -    "series_id": "EIUIR",
      -    "start_year": "2023"
      -  }
      -]New value: +[
      +  {
      +    "series_id": "LNS14000000"
      +  },
      +  {
      +    "end_year": "2024",
      +    "series_id": "PAYEMS,CES0000000001",
      +    "start_year": "2020"
      +  },
      +  {
      +    "series_id": "EIUIR",
      +    "start_year": "2023"
      +  }
      +]
  3. Changed2 schema fields changed
    • addedOutput schema / properties / series / items / properties / count
      Added value: +{
      +  "description": "Number of data points for this series — BLS returns every point in the requested year range, so nothing is truncated.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / series / items / properties / observation_order
      Added value: +{
      +  "description": "Order of the `data` array. BLS returns each series newest-first.",
      +  "enum": [
      +    "newest_first"
      +  ],
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "_apiKey": "your-bls-api-key",
      -    "series_id": "LNS14000000"
      -  },
      -  {
      -    "_apiKey": "your-bls-api-key",
      -    "end_year": "2024",
      -    "series_id": "PAYEMS,CES0000000001",
      -    "start_year": "2020"
      -  }
      -]New value: +[
      +  {
      +    "_apiKey": "your-bls-api-key",
      +    "series_id": "LNS14000000"
      +  },
      +  {
      +    "_apiKey": "your-bls-api-key",
      +    "end_year": "2024",
      +    "series_id": "PAYEMS,CES0000000001",
      +    "start_year": "2020"
      +  },
      +  {
      +    "series_id": "EIUIR",
      +    "start_year": "2023"
      +  }
      +]
  5. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "series": {
      +      "description": "Array of time series data",
      +      "items": {
      +        "properties": {
      +          "data": {
      +            "description": "Time series data points",
      +            "items": {
      +              "properties": {
      +                "latest": {
      +                  "description": "Whether this is the latest data point",
      +                  "type": "boolean"
      +                },
      +                "period": {
      +                  "description": "Period code (e.g., M01 for January)",
      +                  "type": "string"
      +                },
      +                "period_name": {
      +                  "description": "Human-readable period name (e.g., 'January')",
      +                  "type": "string"
      +                },
      +                "value": {
      +                  "description": "Data point value",
      +                  "type": "string"
      +                },
      +                "year": {
      +                  "description": "Year of the data point",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "year",
      +                "period",
      +                "period_name",
      +                "value",
      +                "latest"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "series_id": {
      +            "description": "BLS series identifier",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "series_id",
      +          "data"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "status": {
      +      "description": "API response status (e.g., 'REQUEST_PROCESSED')",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "series"
      +  ],
      +  "type": "object"
      +}
  6. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-bls-api-key",
      +    "series_id": "LNS14000000"
      +  },
      +  {
      +    "_apiKey": "your-bls-api-key",
      +    "end_year": "2024",
      +    "series_id": "PAYEMS,CES0000000001",
      +    "start_year": "2020"
      +  }
      +]
  7. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds the output shape (dated data points with values) but says nothing about rate limits, maximum number of comma-separated series per call, or truncation behavior for long ranges — all real operational constraints for a public API like BLS. Useful but thin 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and return shape, then the identifier guidance, in three tight sentences with no filler. The final sentence is a slight grab-bag of ID trivia (EIUIR/EIUIQ plus the ICSA redirect), but every clause carries actionable disambiguation rather than restating the name.

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?

With an output schema present, the return values needn't be explained, and the description correctly focuses on identifier validity and cross-tool routing. Coverage is solid for a four-parameter read tool, though the default lookback window and any per-call series limit are left to the schema or unstated entirely.

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 100%, so baseline is 3; the description earns an extra point by teaching which identifier vocabulary is valid (BLS series IDs like CES0000000001 and LNS14000000) and which is not. It also seeds domain knowledge about EIUIR/EIUIQ being monthly import/export price indexes. One blemish: the schema's own example passes "PAYEMS,CES0000000001", which contradicts the description's warning that PAYEMS is not a BLS id — an agent reading both gets conflicting signals.

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?

States a specific verb and resource ("Fetch historical time series data") and enumerates the data domains covered (employment, inflation, wages, productivity, housing) plus the return shape (dated data points with values). The series-ID examples make the resource concrete enough that an agent can distinguish this from a latest-value or search endpoint without opening the schema.

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?

Gives unusually strong routing guidance on identifiers: PAYEMS is called out as a FRED id rather than a BLS id, and weekly jobless claims (ICSA) are explicitly redirected to fred_get_series. What it does not do is contrast this tool with its BLS siblings (e.g., a latest-value or popular-series endpoint) for the common "just one number" case, so the alternative-selection logic is only half present.

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.