Skip to main content
Glama
kevynf

AKBridge MCP Server

by kevynf

get_qhkc_index_profit_loss

Read-onlyIdempotent

Fetch profit and loss details for Chinese futures indexes from QHCK. Specify an index and end date to retrieve P&L breakdown by futures firm for date ranges.

Instructions

奇货可查-指数-盈亏详情 获得奇货可查的指数数据: '奇货黑链', '奇货商品', '奇货谷物', '奇货贵金属', '奇货饲料', '奇货软商品', '奇货化工', '奇货有色', '奇货股指', '奇货铁合金', '奇货油脂' :param url: 网址 :type url: str :param name: None :type name: str :param start_date: "" :type start_date: str :param end_date: "20190716" 指定 end_date 就可以了 :type end_date: str :return: 盈亏详情 :rtype: pandas.DataFrame indexes value trans_date 招金期货-沪金 -307489200 2019-09-30 平安期货-沪银 -195016650 2019-09-30 建信期货-沪银 -160327350 2019-09-30 国贸期货-沪银 -159820965 2019-09-30 东证期货-沪银 -123508635 2019-09-30 ... ... ... 永安期货-沪银 187411350 2019-09-30 中信期货-沪金 242699750 2019-09-30 华泰期货-沪银 255766185 2019-09-30 永安期货-沪金 293008700 2019-09-30 国泰君安-沪金 302774950 2019-09-30

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNohttps://qhkch.com/ajax/indexes_profit_loss.php
nameNo奇货商品
end_dateNo
start_dateNo
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, covering the safety profile. The description adds behavioral details beyond annotations: it reveals the return format (pandas DataFrame with columns indexes, value, trans_date), provides a concrete data example, and lists valid name values. This additional context about output structure and parameter domain is valuable and not present in the structured fields.

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 contains useful content (index list, return example) but is structured as a docstring with redundant type annotations (e.g., ':type url: str') and a lengthy return example. It is not front-loaded; the Chinese title and parameter documentation precede the main value proposition. It is adequately sized but lacks polish.

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?

With no output schema, the description correctly explains the return structure and sample data. However, it leaves gaps: the role of start_date is undocumented, the valid name values are listed but not explicitly mapped to the 'name' parameter, and there is no mention of pagination or row limits. It covers the essentials but is not fully complete for a 4-parameter tool with zero schema coverage.

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 schema has 0% description coverage, so the description must compensate. It does list valid values for the 'name' parameter and identifies 'end_date' as the primary date parameter. However, 'url' is only described as '网址' (URL), and 'start_date' semantics are left unclear (empty default and no explanation of its relationship to end_date). The description adds some meaning but does not fully compensate for the lack of schema descriptions.

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 description clearly states the tool obtains profit/loss details ('盈亏详情') for specified QHKC indexes and enumerates the valid index names (奇货黑链, 奇货商品, etc.), which is specific to the tool's purpose. However, it does not explicitly distinguish itself from sibling tools like get_qhkc_index or get_qhkc_index_trend, so it misses the differentiation that would earn a 5.

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 provides some usage guidance by noting '指定 end_date 就可以了' (specify end_date only), implying the typical call pattern. However, it does not explain when to use this tool over alternative QHKC index tools or provide exclusions/prerequisites. The usage context is implied but not explicit.

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/kevynf/akbridge'

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