Skip to main content
Glama
shigechika

jquants-mcp

by shigechika

get_markets_calendar

Read-onlyIdempotent

Retrieve Japanese stock market trading days, holidays, and half-day classifications by date range or holiday type to plan trading schedules.

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
date_toNo
hol_divNo
date_fromNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive. The description adds meaningful behavioral traits beyond annotations: 'All data is returned in a single response without pagination' and the supported plans restriction. It does not contradict annotations, though it omits potential context like response size, timezone, or error behavior.

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?

The description is well-structured with a clear one-line summary, then supporting details. There is some redundancy between the first line ('trading days and holidays') and the second line ('trading days, holidays, and half-day classifications'), but overall it remains compact and each section serves a purpose.

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?

Given the output schema and annotations, the description covers purpose, parameters, and a key behavioral detail (no pagination). It lacks explicit usage alternatives and date range inclusivity details, but for a read-only calendar tool with a rich output schema, it is sufficiently complete for an AI agent to invoke correctly.

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?

The input schema has no parameter descriptions (0% coverage), but the description compensates thoroughly. It explains hol_div codes (1, 0, 3) and exact date formats for date_from/date_to, which is essential for correct invocation. This goes well beyond the schema's bare type information.

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 opens with a specific verb phrase 'Retrieve market calendar (trading days and holidays)' and clearly distinguishes it from earnings-oriented siblings like get_equities_earnings_calendar by focusing on trading days, holidays, and half-day classifications. No ambiguity about what resource is accessed.

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 description provides context such as 'All data is returned in a single response without pagination' and supported plans, but it does not explicitly state when to use this tool versus alternatives like earnings calendars. Usage is implied by the tool's name and content, but no direct alternatives or exclusions are mentioned, so it falls short of clear guidance.

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