Skip to main content
Glama
shigechika

jquants-mcp

by shigechika

get_valuation_ranking

Read-onlyIdempotent

Rank Japanese stocks by PER or PBR to spot undervalued or overvalued equities. Filter by market, sector, and value range for targeted screening.

Instructions

Rank listed stocks by PER or PBR valuation multiple (バリュエーションランキング). All plans.

Use for 割安株, PER/PBRランキング, 低PER, 低PBR, バリュー株スクリーニング, cheapest stocks by PER/PBR. Default = 20 cheapest by PER (ascending). PER excludes net-loss stocks (EPS≤0); PBR excludes negative-book (BPS≤0). For sector medians use get_sector_briefing; for one stock use get_stock_briefing; for dividend yield use get_dividend_yield_ranking.

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

Args: metric: Ranking metric — "per" (default) or "pbr". Both ratios are returned per item. n: Stocks to return (1–100, default 20). ascending: True (default) = cheapest first; False = most expensive first. min_value: Minimum metric value filter (default null). max_value: Maximum metric value filter (default null). market: "prime" / "standard" / "growth" / "tokyo_pro" (default all). sector: S33 sector code filter (default all). disc_months: Max FY-disclosure age in months (default 18) — drops stale financials.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nNo
marketNo
metricNoper
sectorNo
ascendingNo
max_valueNo
min_valueNo
disc_monthsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already cover read-only/idempotent/non-destructive. The description adds meaningful context: cache-only behavior, supported plans, exclusion of net-loss and negative-book stocks, and the disc_months stale-financial filter. Slightly held back from 5 because it doesn't mention potential output size limits or response format variants, but output schema exists to cover that.

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?

The description is well-organized: it starts with purpose, then use cases, exclusions, alternatives, plan support, and a structured Args list. Every sentence adds value, and the structure makes it easy to scan. No redundant fluff.

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?

Given the tool's complexity (8 optional params, many sibling tools), the description covers purpose, usage, alternatives, behavioral nuances, and parameter semantics. An output schema exists, so the lack of a return-value section is acceptable. The inclusion of plan restrictions and cache behavior adds operational completeness.

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 description coverage is 0%, yet the description fully documents all 8 parameters with defaults, allowed values, and behavioral meaning (e.g., ascending order, min/max filters, market options, sector codes, disclosure-age cutoff). This completely compensates for the schema's lack of parameter descriptions.

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 the tool ranks listed stocks by PER or PBR valuation multiple, with specific examples of intended use cases and metrics. It also distinguishes itself by naming alternative tools for related but distinct purposes.

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?

Explicit guidance on when to use this tool (for 割安株, PER/PBR ranking, screening) and when not to use it (use get_sector_briefing for sector medians, get_stock_briefing for single stocks, get_dividend_yield_ranking for dividend yield). This is exactly the kind of direct alternative mapping the dimension asks for.

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