Skip to main content
Glama
shigechika

jquants-mcp

by shigechika

detect_distribution_days

Read-onlyIdempotent

Count TOPIX distribution days to identify institutional selling in a rolling window. Use to detect failing uptrends before confirming a follow-through day.

Instructions

Count TOPIX distribution days (機関投資家の売り) in a rolling window. All plans.

Use for ディストリビューションデイ・institutional selling・market under distribution queries (IBD method). Check this before confirming a follow-through day. ≥4 days in 25 sessions = failing uptrend. See also detect_follow_through_day.

[Supported plans] Free / Light / Standard / Premium (cache-only, no API call)

Args: date: Target date (YYYYMMDD or YYYY-MM-DD). Defaults to latest cached date. sigma_multiplier: z-score threshold for a distribution day (default 2.0). window_sessions: Rolling session window (default 25, IBD convention). min_dist_days: Count threshold for warning=true (default 4, IBD convention).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo
sigma_multiplierNo
window_sessionsNo
min_dist_daysNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations indicate readOnlyHint=true, destructiveHint=false, idempotentHint=true. Description adds 'cache-only, no API call' explaining data source and performance characteristics. No contradictions with 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?

Concise and well-structured: purpose in first sentence, usage in second, plan support and args in subsequent lines. Front-loaded with no extraneous text.

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?

All parameters explained, purpose and usage covered, plan restrictions stated, and output schema exists (not shown but hinted). No gaps in context given the tool's complexity.

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?

Schema coverage is 0%, but description compensates fully with detailed parameter explanations including defaults and IBD conventions for date, sigma_multiplier, window_sessions, and min_dist_days.

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?

Explicitly states the tool counts TOPIX distribution days in a rolling window, specifying the resource (TOPIX distribution days) and action (count). It distinguishes from sibling 'detect_follow_through_day' by referencing IBD method and noting 'See also detect_follow_through_day'.

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

Usage Guidelines5/5

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

Provides explicit guidance: use for institutional selling and market under distribution queries, check before confirming a follow-through day, and notes threshold (≥4 days in 25 sessions = failing uptrend). Clearly references an alternative tool (detect_follow_through_day).

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