Skip to main content
Glama

bank-of-japan-mcp-server

Boj Get Tankan

boj_get_tankan
Read-only

Retrieve Tankan survey observations by item, industry, enterprise size and horizon. Defaults to four headline business conditions DIs for large manufacturers and nonmanufacturers. Browse published codes with boj_list_reference and topic tankan_codes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "boj_get_tankan"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemNoSurvey item code or published label. Defaults to business conditions (601).
limitNoObservations per series per inline slice, newest slice first. Defaults to 25 with a cap of 1,000.
sizesNoEnterprise sizes: all, large, medium, small, or their BOJ codes.
stageNoStage the complete roster page on a SQL canvas even when it fits inline. Defaults to false. The inline preview still follows limit and include_nulls.
cursorNoCollection, inline, or roster cursor from this tool. Keep the same selection, dates, null policy, applied limits, and stage setting.
end_dateNoInclusive end in YYYY-MM-DD, YYYY-MM, YYYY-Qn, YYYY-Hn, or YYYY format. Q and H are case-insensitive. Blank or omitted ends at the latest published period.
horizonsNoActual or forecast variants. Defaults to actual (0) and forecast (1). Select a forecast month code for annual projections from boj_list_reference with topic tankan_codes.
canvas_idNoCanvas ID from a prior call. Stages this roster page as a new table on that canvas, even when it fits inline.
frequencyNoQuarterly (Q or CQ), fiscal half (FH or SEMIANNUAL(SEP)), or fiscal year (FY or ANNUAL(MAR)). Defaults to Q.
industriesNoIndustries to include; defaults to manufacturing and nonmanufacturing.
start_dateNoInclusive start in YYYY-MM-DD, YYYY-MM, YYYY-Qn, YYYY-Hn, or YYYY format. Q and H are case-insensitive. Blank or omitted starts at the first published period.
aggregationNoSimple aggregate (F, default) or population estimate (G).
detail_itemNoThree-digit detail item code, default 000.
series_typeNoSeries type, e.g. DI, level, or a published code. Defaults to G (DI).
series_limitNoSeries per roster page. Defaults to 4 with a cap of 25.
include_nullsNoInclude dated null values in the inline results. Defaults to false. Counts and staged windows retain dated nulls.
include_discontinuedNoInclude series marked discontinued.

Output Schema

NameRequiredDescriptionDefault
hintNoHow to discover series or resume.
errorNoPresent when the call failed. Absent on success.
readyNoReady catalog databases.
staleNoDatabases served from older catalog generations.
cursorNoCollection cursor. Reuse the original inputs to finish this roster page.
failedNoDatabases whose catalog load failed.
seriesNoSelected survey series with dimension labels and their observations.
stagedNoStaged SQL table and manifest for the full roster-page window.
statusNoWindow, collection, or catalog status.
missingNoRequired catalog databases still missing.
not_foundNoCodes confirmed absent from the catalog.
truncatedNoEarlier slices, more roster pages, or unprocessed codes remain. Absent until ready.
null_countNoDated nulls in the full roster-page window.
attributionNoBank of Japan source credit.
canvas_hintNoHow to enable native canvas when requested staging is unavailable.
next_cursorNoCursor for the earlier inline slice of this roster page.
unavailableNoRequested Tankan combinations absent at the selected frequency.
export_datesNoBOJ observation export timestamps.
series_totalNoResolved series across the selection.
window_countNoFull roster-page observation count, including dated nulls.
applied_limitNoObservations per series slice after the cap.
deferred_codesNoQualified codes selected for later roster pages.
deferred_countNoSeries remaining after this roster page.
returned_countNoObservation count across the returned slices.
pages_collectedNoValidated upstream pages committed during collection.
requested_limitNoObservations requested per series slice, with default.
series_collectedNoSeries completed during collection.
applied_series_limitNoSeries per roster page after the cap.
next_selection_cursorNoNext roster-page cursor. May carry a staged canvas ID.
requested_series_limitNoSeries requested per roster page, with default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations supply readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds the default payload shape, but does not explain why idempotentHint=false, nor anything about staging/canvas side effects or cursor semantics that a caller would want to know before repeating a call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the retrieve action and scope, then the default result, then the code-discovery pointer. No redundant or padding wording.

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?

For a 17-parameter tool with an output schema and full schema coverage, the description does enough: it orients on what is retrieved, what the omitted-argument defaults produce, and where to find valid codes. Minor gap is the absence of any hint about canvas staging or cursor continuation, which are the non-obvious behaviors of this tool.

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 description coverage is 100% across 17 parameters, so the schema already carries the semantics; baseline is 3. The description references item, industry, size and horizon but adds no meaning beyond what those schema descriptions state (e.g. nothing on aggregation, frequency, or series_type).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — 'Retrieve Tankan survey observations' — plus the four primary dimensions (item, industry, enterprise size, horizon) and the default output (four headline business-conditions DIs for large manufacturers/nonmanufacturers). It does not differentiate against the retrieval sibling boj_get_series_observations, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Names a complementary tool and topic ('Browse published codes with boj_list_reference and topic tankan_codes'), which is genuine routing guidance for code discovery. However, it gives no when-to-use/when-not relative to the other retrieval tools, and the 'Defaults to four headline...' sentence describes behavior rather than selection criteria.

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.