Skip to main content
Glama
kevynf

AKBridge MCP Server

by kevynf

spot_hist_sge

Read-onlyIdempotent

Retrieve historical Shanghai Gold Exchange spot price data for a specified symbol, such as Au99.99 or Ag(T+D), as a pandas DataFrame for analysis.

Instructions

上海黄金交易所-数据资讯-行情走势-历史数据 https://www.sge.com.cn/sjzx/mrhq :param symbol: choice of {'Au99.99', 'Au99.95', 'Au100g', 'Pt99.95', 'Ag(T+D)', 'Au(T+D)', 'mAu(T+D)', 'Au(T+N1)', 'Au(T+N2)', 'Ag99.99', 'iAu99.99', 'Au99.5', 'iAu100g', 'iAu99.5', 'PGC30g', 'NYAuTN06', 'NYAuTN12'};可以通过 ak.spot_symbol_table_sge() 获取品种表 :type symbol: str :return: 历史数据 :rtype: pandas.DataFrame

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolNoAu99.99

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and non-destructive behavior, so the safety profile is covered. The description adds the data source URL and return type (pandas.DataFrame), but does not disclose pagination, date-range behavior, or request limits.

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 docstring format is compact and front-loads the purpose, URL, parameter values, and return type. It repeats the title already present in annotations and includes a bare URL, but the long symbol enumeration is necessary and no sentence is wasted.

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 single-parameter read-only historical-data tool with no output schema, the description supplies source, return type, and valid parameter values, which is nearly complete. It remains silent on date range/granularity and pagination, but those may not apply.

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

Parameters5/5

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

Schema description coverage is 0% and there is no enum for symbol, so the description carries the full burden. It lists the complete set of valid symbol choices and points to spot_symbol_table_sge for retrieving the symbol table, fully compensating for the missing schema documentation.

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?

States the specific SGE resource and that it returns historical market data, and names the sibling helper for symbols. However, it does not explicitly distinguish from other SGE spot tools such as spot_quotations_sge or spot_silver_benchmark_sge.

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

Usage Guidelines2/5

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

Provides no when-to-use or when-not-to-use guidance relative to alternatives; the only routing hint is to use spot_symbol_table_sge for the symbol table, which is a parameter helper, not a usage rule. An agent must infer that this tool is for historical SGE spot data.

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

Deploy Server

Other Tools