Skip to main content
Glama
shigechika

jquants-mcp

by shigechika

get_markets_margin_alert

Read-onlyIdempotent

Check margin trading restrictions and alerts for a stock, including additional collateral requirements and credit restrictions. Use to monitor margin-related regulatory status.

Instructions

Per-stock margin trading restriction status: 増担保規制・信用規制. Standard+ only.

Use for 追証, 規制銘柄, 増担保規制, 信用規制, margin restriction/alert. For margin balances (買残・売残・貸借倍率), use get_markets_margin_interest instead.

[Supported plans] Standard / Premium

Args: code: Stock code (5 digits, e.g. 27800) 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 declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=true. The description adds only a plan limitation ('Standard+ only') but no further behavioral context (e.g., data delay, rate limits). Without contradictions, a score of 3 is appropriate.

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 moderately concise, with a clear structure: purpose sentence, usage keywords, supported plans, and parameter list in bullet-point style. Minor wordiness (e.g., Japanese terms) but overall efficient.

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 4 optional parameters and an existing output schema, the description covers intended use, plan limitations, and parameter details. It does not explain the interaction between date and date_from/date_to, but this is a minor gap. Completeness is good for the tool's complexity.

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 0%, so the description must compensate. It provides parameter descriptions: code format (5 digits), date format (YYYYMMDD or YYYY-MM-DD), and explains date_from/date_to as range query endpoints. This adds meaningful semantics beyond the raw schema.

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 provides per-stock margin trading restriction status (増担保規制・信用規制). It differentiates from the sibling tool get_markets_margin_interest, which covers margin balances. The verb 'get' and resource 'markets_margin_alert' are specific.

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?

Explicitly lists use cases (追証, 規制銘柄, etc.) and directs the agent to an alternative (get_markets_margin_interest) for margin balances. This provides clear when-to-use and when-not-to-use guidance.

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