boj_get_metadata
Discover available series codes, names, units, and frequencies from Bank of Japan databases to understand database structure before fetching actual data. Use layer-based queries for large databases.
Instructions
Get metadata (series codes, names, units, frequencies, layer structure) for a BOJ database. Use this to discover available series codes and understand the database structure before fetching actual data. NOTE: Large databases like CO (Tankan, 168k series) require a small limit (e.g. 20-50) to avoid overwhelming responses — use layer-based queries to navigate them.
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": {
"db": "<db>"
},
"name": "boj_get_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | Yes | Database code (e.g. 'CO' for Tankan, 'FM08' for FX rates) | |
| lang | No | Language: 'jp' (Japanese, default) or 'en' (English) | |
| limit | No | Maximum number of series entries to return. Defaults to 200 (max: 1000). Large databases (e.g. CO/Tankan has 168k entries) should use smaller limits to avoid overwhelming responses. |