Skip to main content
Glama
shigechika

jquants-mcp

by shigechika

get_markets_breakdown

Read-onlyIdempotent

Retrieve daily buy/sell breakdown by investor type for individual Japanese stocks using stock code and date range.

Instructions

Retrieve market breakdown data (sell/buy by investor type per issue).

Returns daily buy/sell breakdown by investor type (proprietary, brokered, foreign, etc.) per individual issue.

[Supported plans] Premium

Args: code: Stock code (5 digits, e.g. 27800; 4-digit codes match ordinary shares only) date: Date (YYYYMMDD or YYYY-MM-DD) date_from: Start date for range query date_to: End date for range query

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNo
dateNo
date_fromNo
date_toNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already indicate read-only, non-destructive, idempotent, and open-world behavior. The description adds context about the data (investor types) and plan requirement but does not disclose additional behavioral traits beyond what annotations provide.

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 concise and front-loaded with the core purpose. The parameter descriptions are clear but could be more structured (e.g., bullet points) for better readability.

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 presence of an output schema and the tool's complexity (4 optional parameters), the description provides sufficient context: explains the output breakdown, parameter formats, and plan requirement. Minor gaps like max date range or pagination are not addressed.

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 description compensates for 0% schema coverage by clearly explaining each parameter: code format (5 digits, 4-digit for ordinary shares), date formats (YYYYMMDD or YYYY-MM-DD), and date range parameters. This adds significant meaning beyond the schema's type-only definitions.

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?

The description clearly states it retrieves market breakdown data (sell/buy by investor type per issue), which is specific and actionable. However, it does not explicitly distinguish itself from sibling tools like get_equities_investor_types, which might have overlapping functionality.

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

Usage Guidelines2/5

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

The description mentions 'Supported plans: Premium' as a usage hint, but it does not specify when to use this tool over alternatives, provide exclusions, or indicate when not to use it.

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