Skip to main content
Glama
FIU Finance MCP

FIU Finance MCP

by fiu-ai

证券代码搜索

search

Find securities by company name, ticker code, full code, or partial keyword; ticker lookups are prioritized and subtype labels are returned by market.

Instructions

支持公司名称、证券代码或部分关键词,搜索证券代码时优先使用该工具。subtype 按市场返回已确认的中文含义:港股权证 BU/BE/DC/DP/L(IL) 对应牛证/熊证/认购权证/认沽权证/界内证;美股按证券子类型码表转换,Z=不适用、I=ETF 指数基金份额,I 不代表被动投资策略。A 股暂无可靠子类型码表;未知代码、null 和缺失字段保持原样。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "key": "<key>"
    },
    "name": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes必填的非空搜索关键词,支持公司名称、证券代码、完整代码或部分关键词。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.3/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does add genuine behavioral value by documenting how the returned subtype field is decoded per market (HK warrant BU/BE/DC/DP/L(IL), US code table with Z and I, no reliable A-share table) and that unknown/null values pass through unchanged. It omits other behavioral facts an agent needs: whether matching is fuzzy or exact, result-set size limits, ordering, and pagination.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is correctly front-loaded in the first sentence. The bulk of the text is a dense subtype code-mapping table that reads like reference documentation; with no output schema it has some justification for living here, but it crowds out more actionable guidance such as match behavior and result limits.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter lookup tool with no annotations and no output schema, the definition covers purpose and the semantics of one returned field well. It is incomplete on what the response actually contains (list of securities with which fields), how many results come back, and how ambiguous keywords are resolved.

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?

Schema description coverage is 100% and the single 'key' parameter already documents accepted inputs including full or partial codes. The description largely restates that same input surface, adding only the emphasis that code searches should route here. Baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening clause names the resource and accepted inputs concretely: company name, securities code, or partial keyword, and adds a direct directive to prefer this tool for code lookups. The tool name 'search' is generic, but the description compensates by scoping it to securities. The remaining sentences drift into output-field documentation (subtype code tables) rather than reinforcing purpose.

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?

'搜索证券代码时优先使用该工具' is an explicit preference directive for one class of queries, which is more than nothing. However, no sibling is named as an alternative, no when-not condition is stated, and there is no guidance for the ambiguous cases (e.g., a bare number that could be a code or a keyword). Usage is implied rather than fully routed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.