Skip to main content
Glama

bank-of-japan-mcp-server

Boj Get Series Observations

boj_get_series_observations
Read-only

Retrieve published BOJ observations by series codes or database branch. Returns the latest observations in each requested window, with cursors for more results. May create or reuse a canvas table with the complete window for SQL.

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_series_observations"
  }
}

Input Schema

NameRequiredDescriptionDefault
codesNoOrdered series codes. Supply either codes or branch.
limitNoObservations per series per inline slice, newest slice first. Defaults to 25 with a cap of 1,000.
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.
branchNoDatabase branch. Supply either branch or codes.
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.
canvas_idNoCanvas ID from a prior call. Stages this roster page as a new table on that canvas, even when it fits inline.
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.
series_limitNoSeries per roster page. Defaults to 1 with a cap of 250.
include_nullsNoInclude dated null values in the inline results. Defaults to false. Counts and staged windows retain dated nulls.

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.
seriesNoSeries in roster order with 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.
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.
unprocessed_hintNoHow to request the remaining codes.
unprocessed_codesNoCodes beyond the first 250 unique identifiers. These were not looked up.
applied_series_limitNoSeries per roster page after the cap.
next_source_positionNoMetadata ordinal of the next matching branch series.
available_frequenciesNoNative frequencies under the selected branch.
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

B3.3/5.0
Behavior2/5

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

The description does add real behavior beyond the annotations: results are latest-window slices with cursors, and a canvas table may be created or reused for SQL access. However, "may create or reuse a canvas table" describes an environment-mutating effect that conflicts with readOnlyHint=true, so the behavioral story is internally inconsistent rather than merely incomplete.

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

Conciseness4/5

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

Three short sentences, front-loaded with the core action and selection modes, then the return shape and the canvas side effect. The phrasing "with the complete window for SQL" is compressed to the point of ambiguity, but nothing is redundant.

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 10-parameter tool with a nested branch object, an output schema, and full schema coverage, the description covers the essential model: either/or selection, per-window latest results, cursor pagination, and canvas staging. Gaps are modest given the output schema carries return values, though the read-only-versus-canvas tension leaves an agent unsure how invasive a call is.

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%, so the parameters are already fully documented in structured fields and the baseline is 3. The description contributes only marginal extra meaning, mainly that the inline slice is a partial "window" while the staged canvas holds the complete window, which helps interpret limit/series_limit versus stage/canvas_id.

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?

"Retrieve published BOJ observations by series codes or database branch" gives a specific verb (retrieve) and resource (BOJ observations) plus the two selection modes, so an agent can tell this is the general time-series fetch rather than a search or a specialized series endpoint. It does not name any sibling (e.g., boj_search_series or boj_get_policy_rates) to sharpen the boundary, 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?

The definition implies the two entry paths (series codes vs. database branch) and hints at pagination via cursors, which gives an agent a rough sense of context. It never states when to prefer this over boj_search_series or boj_list_reference, nor any preconditions (e.g., resolving codes/branch from the reference tool first), so the when-to-use guidance is only implied.

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.