ons.stats.unemployment
Retrieve UK labour market statistics from the ONS Labour Force Survey (LFS). Returns unemployment rate (%), employment rate, or economic inactivity rate for the UK, broken down by age group and sex. Data is three-month rolling averages (e.g. "Jan-Mar 2024"), seasonally adjusted. Default returns t...
This record as markdown: /tools/io-github-whiteknightonhorse-apibase/ons.stats.unemployment.md
What ons.stats.unemployment does on Apibase
AI agents call ons.stats.unemployment to retrieve information from Apibase without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
sex | string | — | Sex filter. Default "all-adults". Options: "men", "women". |
unit | string | — | Output unit. Default "rates" (percentage rate, e.g. 4.2%). "levels" returns thousands of people. |
limit | integer | — | Number of most recent periods to return (1–300, default 60). Data is three-month rolling average (e.g. "Jan-Mar 2024"). |
activity | string | — | Labour market activity to query. Default "unemployed" (unemployment rate). Options: "in-employment" (employment rate), "economically-active", "economically-inac |
age_group | string | — | Age group filter. Default "16+" (all working-age adults). Examples: "16-24" (youth unemployment), "25-34", "50-64". |
Parameters from the server's own tool schema.
Why ons.stats.unemployment is rated Low
Retrieves published unemployment and employment statistics with no data modification or side effects.
From the tool's definition Retrieve UK labour market statistics from the ONS Labour Force Survey
Attacks that exploit this kind of access
The rule that runs ons.stats.unemployment safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Apibase, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For ons.stats.unemployment, this is the rule to start with:
ons.stats.unemployment is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Apibase, apply this rule, and every ons.stats.unemployment call is checked against it from then on.
Questions about ons.stats.unemployment
Retrieve UK labour market statistics from the ONS Labour Force Survey (LFS). Returns unemployment rate (%), employment rate, or economic inactivity rate for the UK, broken down by age group and sex. Data is three-month rolling averages (e.g. "Jan-Mar 2024"), seasonally adjusted. Default returns the overall unemployment rate (16+, all adults, seasonally adjusted rates). Use activity, age_group, sex parameters to filter. Source: ONS dataset labour-market, OGL v3.0. It is categorised as a Read tool in the Apibase MCP Server, which means it retrieves data without modifying state.
ons.stats.unemployment accepts 5 parameters: sex, unit, limit, activity, age_group. The full parameter table on this page comes from the server's own tool schema.
Register the Apibase MCP server in PolicyLayer and add a rule for ons.stats.unemployment: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Apibase. Nothing to install.
ons.stats.unemployment is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the ons.stats.unemployment rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for ons.stats.unemployment. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
ons.stats.unemployment is provided by the Apibase MCP server (apibase-mcp-client). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Apibase, and thousands of servers like it.
This server
Across the catalogue