Skip to main content
Glama
ER-EPR

futu-opend-mcp

by ER-EPR

resolve_option_code

Generate a Futu option code from underlying, expiry, strike, and option type. Prevents errors from manual code creation, especially for HK options.

Instructions

Resolve an option's Futu code from a description - 解析期权简写代码. underlying e.g. US.JPM; expiry YYYY-MM-DD; strike e.g. 267.50; option_type CALL/PUT. Returns a code like US.JPM260320C267500. Do NOT hand-build HK option codes (abbreviation differs) - use this.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expiryYes
strikeYes
underlyingYes
option_typeYes
Behavior4/5

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

Discloses return format (code example) and notes different abbreviation for HK options. No annotations, so description carries burden. No mention of errors or permissions.

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?

Three concise sentences, front-loaded with purpose. No redundant information.

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?

Covers inputs, output format, and special case for HK codes. With no output schema, explanation of return value is sufficient.

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%, but description provides examples for each parameter (underlying, expiry, strike, option_type), adding meaning beyond 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?

Clearly states verb 'resolve' and resource 'option code'. Differentiates from hand-building codes, especially HK. Specific examples of inputs and output.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly warns against hand-building HK codes, indicating when to use this tool. Implicitly for generating correct codes. Lacks explicit when-not-to-use scenarios.

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/ER-EPR/futu-opend-mcp'

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