Skip to main content
Glama

ZENITH Code

Market breadth (advancers / decliners / new highs & lows) ★

get_market_breadth
Read-only

How broad is the market move? Advancers, decliners, unchanged, advance/decline ratio, number of new 52-week highs and lows and total trading value for the latest trading day — whole market first, optionally one row per TSE 33-sector (groupBy=sector; stocks without a sector code are only in the whole-market row). Common stocks only, as in rankings: preferred/class shares and TOKYO PRO Market stocks are excluded (market=tokyoPro counts TOKYO PRO Market only); no market-cap floor. Stocks with no trade on the day, or whose 52-week high equals the low, are not counted as new highs/lows. 騰落銘柄数・騰落レシオ・新高値/新安値の数・売買代金(全体と業種別)。Costs 1 token.

Input Schema

NameRequiredDescriptionDefault
marketNoMarket segment. Omit for every segment except TOKYO PRO Market; tokyoPro = TOKYO PRO Market only / 市場区分(省略時は TOKYO PRO Market を除く)
groupByNosector = add one row per TSE 33-sectornone
includeEtfNotrue = include ETFs/REITs (default: common stocks only)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, and the description goes well beyond that: universe exclusions (preferred/class shares, TOKYO PRO Market stocks; market=tokyoPro narrows to that segment only), no market-cap floor, and counting rules (no-trade stocks and stocks whose 52-week high equals the low are not counted as new highs/lows). The only missing behavioral context is anything about output shape or ordering, which is partly covered by the "one row per sector" statement.

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 metric list is front-loaded and the counting/exclusion caveats follow logically, so the structure serves scanning. It is dense and the trailing Japanese restatement largely duplicates the English enumeration, which costs some economy, but no sentence is filler in substance.

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?

With no output schema, the description carries the burden of saying what comes back, and it enumerates every returned metric plus the row granularity for the sector variant. Combined with the eligibility rules and token cost, an agent has enough to call it correctly and interpret the result.

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 coverage is 100%, so the baseline is 3, but the description adds genuine meaning on top: stocks with no sector code appear only in the whole-market row (an edge case the schema does not state), and it clarifies the market-omitted vs tokyoPro distinction and the common-stocks-only default behind includeEtf. This is meaning beyond the structured fields rather than repetition.

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 names a specific resource (advancers, decliners, unchanged, advance/decline ratio, new 52-week highs/lows, trading value for the latest trading day) with a sector-level variant, which is far more specific than the bare tool name. It does not explicitly distinguish itself from the closest siblings that overlap on this data, notably get_new_highs_lows, get_market_movers and get_sector_performance, so an agent must still infer which to pick.

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?

It clarifies the two modes of use — whole-market row first, optionally one row per TSE 33-sector via groupBy=sector — and notes the 1-token cost, which helps an agent decide to call it. However, there is no explicit "use this instead of X" guidance against the overlapping siblings, so selection remains implied rather than stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources