Skip to main content
Glama
chengzuopeng

Stock SDK MCP Server

by chengzuopeng

get_commodity_option_spot

Read-only

Retrieves commodity option T-quote data, providing real-time call and put prices across all strike prices for a given contract.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
varietyYes商品品种代码,如 "m"(豆粕)
contractYes合约月份,如 "m2409"
Behavior3/5

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

The readOnlyHint annotation already indicates it's a safe read operation. The description adds the T-quote structure and real-time nature, which is useful but not extensive behavioral detail beyond the annotation.

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?

One concise sentence that front-loads the primary action and result, with no redundant words.

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?

For a simple spot quote tool with a read-only annotation and clear return description ('returns real-time quotes for each strike'), the description is sufficient despite lacking an output schema.

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 already provides full descriptions for both parameters (variety and contract). The tool description does not add additional param semantics, so it meets the baseline for high schema coverage.

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 retrieves commodity option T-quotes (call/put) with real-time data for each strike price, which distinguishes it from sibling tools like get_commodity_option_kline and get_index_option_spot.

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 its use for commodity option spot quotes, but it does not explicitly mention when not to use it or suggest alternatives such as get_index_option_spot for index options.

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