Skip to main content
Glama
shigechika

jquants-mcp

by shigechika

get_markets_calendar

Read-onlyIdempotent

Retrieve Japanese stock market trading calendar including trading days, holidays, and half-day classifications. Filter by date range and holiday division.

Instructions

Retrieve market calendar (trading days and holidays).

Returns trading calendar data including trading days, holidays, and half-day classifications. All data is returned in a single response without pagination.

[Supported plans] Free / Light / Standard / Premium

Args: hol_div: Filter by holiday division code (1 = trading day / 営業日, 0 = non-trading weekend / 週末, 3 = national holiday on weekday / 祝日; other values may exist) date_from: Start date for range query (YYYYMMDD or YYYY-MM-DD) date_to: End date for range query (YYYYMMDD or YYYY-MM-DD)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hol_divNo
date_fromNo
date_toNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already indicate read-only, non-destructive, idempotent. The description adds that all data is returned in a single response without pagination, which is useful behavioral detail. It also mentions supported plans but does not contradict annotations. Additional context would be rate limits, but not necessary given annotations.

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?

The description is concise and well-structured: a clear first sentence summarizing the tool, a note on pagination, supported plans, and a structured Args list. Every sentence adds value with no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the presence of annotations (readOnlyHint, etc.) and an output schema, the description adequately covers what the tool does, its parameters, and return content (trading days, holidays, half-day classifications). No gaps are apparent for a read-only data retrieval tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Despite 0% schema coverage, the description includes an explicit Args section explaining each parameter: hol_div (division code meanings), date_from and date_to (date formats). This fully compensates for the lack of schema descriptions and adds essential semantics.

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

Purpose5/5

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

The description clearly states the tool retrieves a market calendar with trading days and holidays. It distinguishes itself from sibling tools like get_equities_earnings_calendar and get_market_briefing by focusing on the overall market calendar rather than specific stocks or market overview.

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?

No explicit guidance on when to use this tool versus alternatives. The supported plans are mentioned, but there is no directive like 'use this for general market calendar, use get_equities_earnings_calendar for earnings dates.' Usage is implied from the purpose but not clarified.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shigechika/jquants-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server