Skip to main content
Glama

Get unemployment rate

economics_get_unemployment
Read-onlyIdempotent

Latest unemployment rate, in percent. Exactly one of seasonally_adjusted, not_seasonally_adjusted and trend appears, as true, when the series states which it is. The rate is the one the statistics office leads its release with. For earlier values use economics_get_unemployment_history. When source is present, the data came through a distributor and released_on is the distributor's publication date, not the original publisher's release date.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "country": "<country>"
    },
    "name": "economics_get_unemployment"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoPeriod to read: `YYYY`, `YYYY-MM` or `YYYY-Q1` (for example `2025`, `2025-06`, `2025-Q2`). Leave out for the latest.
countryYesCountry as a three-letter ISO 3166-1 code in capitals, for example `USA`, `IDN` or `JPN`.
version_idNoUUID of one stored version of this figure, for example the `resource_version` of an event from events_list. Leave out for the current version.

Output Schema

NameRequiredDescriptionDefault
rateYesThe rate, in percent.
stageNoThe stage of the figure when Narwhal read it from the publisher's own release: flash, advance, first, second, third, preliminary or final. Left out when the figure comes from the stored series.
trendNoPresent, as true, only when the rate is the trend (the statistics office's smoothed series).
periodYes
sourceNoPresent when the figure was read from the publisher's own release: the publisher's name. Also present, with `publisher` and `distributor`, when a distributor, not the original publisher, supplies the data.
countryYes
calculatedNoPresent only when Narwhal calculated a figure itself because the publisher does not print it. It lists those figures, so a figure not listed is the publisher's own printed one. Where the publisher prints a figure, the printed figure is always the one shown.
provisionalNoPresent, as true, only when the figure was not yet read from the publisher's own release and is an early estimate. It is replaced, and this field dropped, when the release itself is read.
released_onYes
published_atNoWhen the figure was published, to the second in UTC. Left out when the figure comes from the stored series.
seasonal_adjustmentNoWhat the figure is: seasonally_adjusted, not_seasonally_adjusted, calendar_adjusted or trend. Always sent; null where the series does not say.
seasonally_adjustedNoPresent, as true, only when the rate is seasonally adjusted.
not_seasonally_adjustedNoPresent, as true, only when the rate is not seasonally adjusted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / country / description
      Added value: +"Country as a three-letter ISO 3166-1 code in capitals, for example `USA`, `IDN` or `JPN`."
    • addedInput schema / properties / period / description
      Added value: +"Period to read: `YYYY`, `YYYY-MM` or `YYYY-Q1` (for example `2025`, `2025-06`, `2025-Q2`). Leave out for the latest."
    • addedInput schema / properties / version_id / description
      Added value: +"UUID of one stored version of this figure, for example the `resource_version` of an event from events_list. Leave out for the current version."
  2. Changed12 schema fields changed
    • addedOutput schema / $defs / ReleaseSource
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Who published a figure, where it did not come through a distributor: the publisher's name.",
      +  "properties": {
      +    "publisher": {
      +      "description": "The publisher of the figure: the office whose release it is, as the stored series or the release names it.",
      +      "maxLength": 200,
      +      "minLength": 1,
      +      "title": "Publisher",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "publisher"
      +  ],
      +  "title": "ReleaseSource",
      +  "type": "object"
      +}
    • addedOutput schema / properties / calculated
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "const": "rate",
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Present only when Narwhal calculated a figure itself because the publisher does not print it. It lists those figures, so a figure not listed is the publisher's own printed one. Where the publisher prints a figure, the printed figure is always the one shown.",
      +  "title": "Calculated"
      +}
    • addedOutput schema / properties / not_seasonally_adjusted
      Added value: +{
      +  "anyOf": [
      +    {
      +      "const": true,
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Present, as true, only when the rate is not seasonally adjusted.",
      +  "title": "Not Seasonally Adjusted"
      +}
    • addedOutput schema / properties / provisional
      Added value: +{
      +  "anyOf": [
      +    {
      +      "const": true,
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Present, as true, only when the figure was not yet read from the publisher's own release and is an early estimate. It is replaced, and this field dropped, when the release itself is read.",
      +  "title": "Provisional"
      +}
    • addedOutput schema / properties / published_at
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "When the figure was published, to the second in UTC. Left out when the figure comes from the stored series.",
      +  "title": "Published At"
      +}
    • addedOutput schema / properties / seasonal_adjustment
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "seasonally_adjusted",
      +        "not_seasonally_adjusted",
      +        "calendar_adjusted",
      +        "trend"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "What the figure is: seasonally_adjusted, not_seasonally_adjusted, calendar_adjusted or trend. Always sent; null where the series does not say.",
      +  "title": "Seasonal Adjustment"
      +}
    • addedOutput schema / properties / seasonally_adjusted
      Added value: +{
      +  "anyOf": [
      +    {
      +      "const": true,
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Present, as true, only when the rate is seasonally adjusted.",
      +  "title": "Seasonally Adjusted"
      +}
    • changedOutput schema / properties / source / anyOf
      Previous value: -[
      -  {
      -    "$ref": "#/$defs/SeriesSource"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "$ref": "#/$defs/SeriesSource"
      +  },
      +  {
      +    "$ref": "#/$defs/ReleaseSource"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / source / description
      Previous value: -"Present only when a distributor, not the original publisher, supplies the data."New value: +"Present when the figure was read from the publisher's own release: the publisher's name. Also present, with `publisher` and `distributor`, when a distributor, not the original publisher, supplies the data."
    • addedOutput schema / properties / source / title
      Added value: +"Source"
    • addedOutput schema / properties / stage
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "flash",
      +        "advance",
      +        "first",
      +        "second",
      +        "third",
      +        "preliminary",
      +        "final"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "The stage of the figure when Narwhal read it from the publisher's own release: flash, advance, first, second, third, preliminary or final. Left out when the figure comes from the stored series.",
      +  "title": "Stage"
      +}
    • addedOutput schema / properties / trend
      Added value: +{
      +  "anyOf": [
      +    {
      +      "const": true,
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Present, as true, only when the rate is the trend (the statistics office's smoothed series).",
      +  "title": "Trend"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the read-only annotations, the description explains that exactly one seasonal-adjustment flag appears, that the rate is the lead headline figure, and that distributor-sourced data changes the meaning of `released_on`. These are meaningful behavioral and provenance details that annotations do not supply.

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?

The description is front-loaded and efficiently sized. Each sentence adds useful context, though the transition between latest-value guidance and the optional period parameter could be clearer.

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?

Given the rich schema, output schema, and read-only annotations, the description covers the important return-shape and provenance caveats. The main remaining gap is the relationship between the latest-value framing and the optional `period` parameter.

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 input schema already documents `country`, `period`, and `version_id`. The description adds little parameter-specific meaning and does not clarify how `period` relates to the latest-value framing.

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 states a specific verb and resource: the latest unemployment rate in percent. It also distinguishes the latest-value use case from the history sibling, so an agent can identify its role 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?

It explicitly directs agents to `economics_get_unemployment_history` for earlier values, which is useful routing. It does not explain when to use the optional `period` parameter on this tool rather than the history tool, leaving a small ambiguity.

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.

Resources