Skip to main content
Glama
kevynf

AKBridge MCP Server

by kevynf

futures_rule

Read-onlyIdempotent

Retrieve the trading calendar data for Guotai Junan Futures for a given date to check trading days and market holidays.

Instructions

国泰君安期货-交易日历数据表 https://www.gtjaqh.com/pc/calendar.html :param date: 需要指定为交易日,且是近期的日期 :type date: str :return: 交易日历数据 :rtype: pandas.DataFrame

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo20231205

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, covering the safety profile. The description adds that the date must be a trading day and recent, and that the return type is a pandas.DataFrame (useful since no output schema exists). It does not describe behavior when an invalid date is passed or any data-freshness details.

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?

The description is front-loaded with the data table name and then lists param/type/return. It includes a raw URL that adds little for an agent and a redundant ':rtype: pandas.DataFrame' after ':return:', which could be tighter. Overall it is compact but has some unnecessary clutter.

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?

Given no output schema and one parameter, the description adequately covers the parameter constraint and return type. However, it does not describe what columns or data the DataFrame contains, nor how the calendar data should be interpreted, leaving minor gaps for a read-only data-fetch tool.

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 description coverage is 0% and there is 1 parameter, so the description must compensate. It does so by stating the date must be a trading day and a recent date, plus the type is str. The default '20231205' in the schema suggests a YYYYMMDD format, though the description does not confirm it explicitly.

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

Purpose3/5

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

The description states the resource ('国泰君安期货-交易日历数据表') but without a verb, so it reads as a title rather than a clear action. It does not distinguish this from the similar sibling tool_trade_date_hist_sina, which also likely returns trading-calendar data. The name 'futures_rule' is vague and is only partly clarified by the description.

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?

There is no guidance on when to use this tool versus alternatives. The note that 'date must be a trading day and recent' is a parameter constraint, not a usage guideline. The agent is left to infer appropriate situations without any explicit when/when-not or sibling routing.

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