adbkidb.data.query
Fetch annual macroeconomic time-series data from the ADB Key Indicators Database for any combination of Asian Development Bank member economies and SDMX indicators. Returns structured observations with values, units, data sources, and footnotes. Covers GDP, population, inflation, exchange rates, ...
This record as markdown: /tools/io-github-whiteknightonhorse-apibase/adbkidb.data.query.md
What adbkidb.data.query does on Apibase
AI agents call adbkidb.data.query 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 |
|---|---|---|---|
dataflow | string | Yes | KIDB dataflow code (e.g. "EO_NA" for National Accounts, "PPL_POP" for Population, "MFP_XR" for Exchange Rates). Use adbkidb.dataflows_list to discover codes, th |
end_year | integer | — | End year for the data range (e.g. 2024). Defaults to current year. Annual frequency only (A). |
start_year | integer | — | Start year for the data range (e.g. 2010). Data availability varies by indicator; most series begin 1990–2000. Defaults to 2000. |
economy_codes | array | Yes | One or more ADB economy codes (e.g. ["PRC"] for China, ["IND"] for India, ["JPN"] for Japan, ["PRC","IND","INO"] for multiple). Use adbkidb.economies to list al |
indicator_codes | array | Yes | One or more indicator codes within the dataflow (e.g. ["NGDP_XDC"] for GDP at current prices in EO_NA, ["LP_PE_NUM_MOP"] for population in PPL_POP). Use adbkidb |
Parameters from the server's own tool schema.
Why adbkidb.data.query is rated Low
Tool retrieves public macroeconomic data with no side effects or modifications.
From the tool's definition Fetch annual macroeconomic time-series data, Returns structured observations with values
Attacks that exploit this kind of access
The rule that runs adbkidb.data.query 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 adbkidb.data.query, this is the rule to start with:
adbkidb.data.query 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 adbkidb.data.query call is checked against it from then on.
Questions about adbkidb.data.query
Fetch annual macroeconomic time-series data from the ADB Key Indicators Database for any combination of Asian Development Bank member economies and SDMX indicators. Returns structured observations with values, units, data sources, and footnotes. Covers GDP, population, inflation, exchange rates, trade, energy, SDGs, and 700+ other indicators for 50 Asia-Pacific economies (China=PRC, India=IND, Japan=JPN, Indonesia=INO, etc.) from 1960s onward. Workflow: (1) adbkidb.dataflows_list to pick a topic, (2) adbkidb.indicators to find indicator codes, (3) this tool to fetch values. Example: dataflow=EO_NA, indicator_codes=[NGDP_XDC], economy_codes=[PRC,IND], start_year=2015 returns GDP at current prices for China and India from 2015 to present. Source: kidb.adb.org SDMX v3.0 API — ADB open data, no auth, 20 req/min. It is categorised as a Read tool in the Apibase MCP Server, which means it retrieves data without modifying state.
adbkidb.data.query accepts 5 parameters: dataflow, end_year, start_year, economy_codes, indicator_codes. Required: dataflow, economy_codes, indicator_codes. 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 adbkidb.data.query: 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.
adbkidb.data.query 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 adbkidb.data.query 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 adbkidb.data.query. 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.
adbkidb.data.query 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