Skip to main content
Glama
chengzuopeng

Stock SDK MCP Server

by chengzuopeng

get_index_option_spot

Read-only

Get real-time T-quotes for index options (call/put) across strike prices. Specify product (SSE 50, CSI 300, CSI 1000) and contract month for current prices.

Instructions

获取指数期权 T 型报价(认购/认沽),返回各行权价的实时行情

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
productYes期权品种: ho=上证50ETF, io=沪深300, mo=中证1000
contractYes合约月份,如 "io2504"
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is known. The description adds that it returns real-time quotes for call/put across strike prices, which is useful context, but it does not disclose additional behaviors like data formatting, sorting, or rate limits. Given the annotations, this is adequate but not exceptional.

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 a single, front-loaded sentence that immediately states the tool's action and output. It is concise with no redundant words.

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?

For a simple spot-quote tool with two well-documented parameters and a clear read-only annotation, the description adequately conveys the purpose and return content. The lack of an output schema is partially mitigated by the description's mention of T-type quotes and real-time prices, though it doesn't detail the exact fields returned.

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

Parameters3/5

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

The input schema covers 100% of parameter descriptions, including the product enum with specific index definitions and the contract month format with an example. The description adds no additional parameter semantics beyond the 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 the tool retrieves index option T-type quotes (call/put) with real-time prices for each strike price. The specific verb '获取' and resource '指数期权 T 型报价' distinguish it from siblings like get_index_option_kline (historical) and get_commodity_option_spot (commodity).

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?

The description implies usage for real-time index option spot quotes, but it does not explicitly mention when to use this tool versus alternatives or provide exclusions. No guidance about kline tools or other option quote tools is given.

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/chengzuopeng/stock-sdk-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server