Skip to main content
Glama
shigechika

jquants-mcp

by shigechika

get_advance_decline_ratio

Read-onlyIdempotent

Compute the advance/decline ratio over a trailing period to assess market breadth and identify overbought (>120) or oversold (<70) conditions.

Instructions

Return the advance/decline ratio (騰落レシオ) over the last period trading days. All plans.

Use for 騰落レシオ・市場過熱感 queries. >120 = overbought; <70 = oversold (general convention). For daily advance/decline counts use detect_price_change; for sector breakdown use get_sector_performance.

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

Args: date: End date (YYYY-MM-DD or YYYYMMDD). period: Trailing trading days to accumulate (default 25).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYes
periodNo

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 readOnlyHint and idempotentHint, so the agent knows it's safe. The description adds valuable context: cache-only behavior and plan support details ('no API call'). This adds beyond annotations.

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: purpose first, then usage, thresholds, sibling differentiation, plan info, and params. It's not overly verbose for the information conveyed, though the Japanese terms add a bit of length.

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 tool's simplicity and the presence of an output schema, the description covers all key aspects: purpose, usage context, thresholds, parameter details, and plan support. It does not describe the output schema, but that is acceptable since the schema exists.

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

Parameters4/5

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

Schema has 0% description coverage, but the description documents both parameters: date format (YYYY-MM-DD or YYYYMMDD) and period as trailing trading days with default 25. This adds meaning beyond the bare schema, though format details could be more precise.

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 it returns the advance/decline ratio over the last period trading days. It explicitly distinguishes from detect_price_change (daily counts) and get_sector_performance (sector breakdown), making the tool's unique purpose unambiguous.

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?

The description provides explicit when-to-use guidance (for 'market heat' queries) and threshold conventions (>120 overbought, <70 oversold). It also names specific alternative tools for related needs, offering clear decision support.

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