Skip to main content
Glama
kevynf

AKBridge MCP Server

by kevynf

get_qhkc_index_profit_loss

Read-onlyIdempotent

Retrieve profit/loss details for Qihuo Kechax commodity indexes by index name and date range.

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is handled. The description adds real value by showing the exact return shape (a pandas.DataFrame with indexes/value/trans_date columns) even though no output schema exists. It still omits any mention of auth, rate limits, or data freshness.

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 purpose and index list are front-loaded and the output sample is informative, but the sphinx-style ':type str' lines merely restate the schema and the ten-row DataFrame sample is longer than needed to convey the column layout. It is serviceable but carries avoidable filler.

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?

With four parameters at 0% schema coverage and no output schema, the description compensates well: it enumerates valid index names, notes that end_date suffices, and shows the return columns. The remaining gap is that url and start_date semantics (what an empty start_date means, whether the default URL should ever be overridden) are left unaddressed.

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 0%, so the description must carry parameter meaning. It does explain that end_date alone is sufficient and lists the valid name values (奇货黑链, 奇货商品, etc.), which is genuinely useful. But url is only labeled '网址' and start_date is left as an empty string with no explanation, so coverage is partial rather than complete.

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 states a concrete resource — profit/loss detail (盈亏详情) for QHKCH indexes — and even enumerates the eleven valid index categories, so an agent knows exactly what data comes back. The verb is implied ('获得...数据') rather than explicit, and it never distinguishes itself from siblings like get_qhkc_index or get_qhkc_index_trend, which is the only thing keeping it from 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 note '指定 end_date 就可以了' tells the agent that only end_date needs to be supplied, which is genuine usage guidance. However, there is no statement of when to prefer this tool over the sibling index tools, nor any exclusions or prerequisites, so usage remains only partially covered.

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