ine-portugal.stats.indicator_data
Get observation data for a Statistics Portugal (INE) indicator by its 7-digit varcd code (e.g. "0008273" for resident population by NUTS region, sex and age group). Optionally filter by up to 6 generic dimensions (Dim1 is usually the reference period, the rest are indicator-specific, e.g. geograp...
This record as markdown: /tools/io-github-whiteknightonhorse-apibase/ine-portugal.stats.indicator-data.md
What ine-portugal.stats.indicator_data does on Apibase
AI agents call ine-portugal.stats.indicator_data 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 |
|---|---|---|---|
dim1 | string | — | Filter code for Dimension 1 (usually the reference period, e.g. "S7A2023" for year 2023 or "2023" depending on the indicator). Get valid codes from ine-portugal |
dim2 | string | — | Filter code for Dimension 2 (indicator-specific, e.g. a NUTS geography code). Get valid codes from ine-portugal.indicator_metadata. Omit to include all values o |
dim3 | string | — | Filter code for Dimension 3 (indicator-specific, e.g. sex). Get valid codes from ine-portugal.indicator_metadata. Omit to include all values of this dimension. |
dim4 | string | — | Filter code for Dimension 4 (indicator-specific, e.g. age group). Get valid codes from ine-portugal.indicator_metadata. Omit to include all values of this dimen |
dim5 | string | — | Filter code for Dimension 5, if the indicator has one. Get valid codes from ine-portugal.indicator_metadata. Omit to include all values of this dimension. |
dim6 | string | — | Filter code for Dimension 6, if the indicator has one. Get valid codes from ine-portugal.indicator_metadata. Omit to include all values of this dimension. |
lang | string | — | Response language for labels: "EN" (English, default) or "PT" (Portuguese). |
varcd | string | Yes | INE (Statistics Portugal) 7-digit indicator code, zero-padded (e.g. "0008273" for resident population by NUTS/sex/age group). There is no upstream search/catalo |
Parameters from the server's own tool schema.
Why ine-portugal.stats.indicator_data is rated Low
Tool retrieves statistical data from a public API with no side effects or authentication requirements.
From the tool's definition Get observation data for a Statistics Portugal indicator by its 7-digit varcd code.
Attacks that exploit this kind of access
The rule that runs ine-portugal.stats.indicator_data 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 ine-portugal.stats.indicator_data, this is the rule to start with:
ine-portugal.stats.indicator_data 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 ine-portugal.stats.indicator_data call is checked against it from then on.
Questions about ine-portugal.stats.indicator_data
Get observation data for a Statistics Portugal (INE) indicator by its 7-digit varcd code (e.g. "0008273" for resident population by NUTS region, sex and age group). Optionally filter by up to 6 generic dimensions (Dim1 is usually the reference period, the rest are indicator-specific, e.g. geography/sex/age) — get valid codes first from ine-portugal.indicator_metadata. There is no upstream search/catalog endpoint, so the varcd must already be known. Data: www.ine.pt (Statistics Portugal open JSON indicator API), no auth required. It is categorised as a Read tool in the Apibase MCP Server, which means it retrieves data without modifying state.
ine-portugal.stats.indicator_data accepts 8 parameters: dim1, dim2, dim3, dim4, dim5, dim6, lang, varcd. Required: varcd. 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 ine-portugal.stats.indicator_data: 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.
ine-portugal.stats.indicator_data 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 ine-portugal.stats.indicator_data 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 ine-portugal.stats.indicator_data. 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.
ine-portugal.stats.indicator_data 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