Skip to main content
Glama

查询成交记录

platform_trade_history
Read-only

【持仓与执行】查询我的最近成交记录(默认 50 条,最多 200)。(cost: free)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "platform_trade_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo返回条数(可选,1-200)
offsetNo偏移量(可选)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds the useful default (50) and cap (200) plus the free-cost signal, but says nothing about ordering (newest first?), the retention window, or how offset paging interacts with a rolling recent window.

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?

A single front-loaded sentence with the scope, default, and maximum stated before the trailing cost tag. Nothing is redundant, though the parenthetical cost tag is boilerplate rather than tool-specific information.

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 simple, annotation-backed read tool with fully described parameters, the definition is adequate but not complete: an agent still does not know the sort order, the time window covered by 'recent', or whether offset paging is stable across new fills.

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 coverage is 100%, so the schema already documents limit and offset, and that establishes the baseline of 3. The description contributes the default page size of 50, which the schema does not state, but adds no guidance on offset semantics or how to page past 200 records.

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 gives a specific verb (查询) plus resource (我的最近成交记录) and prefixes a category tag 【持仓与执行】. It is clear what the tool returns, but it does not name the nearby alternative platform_strategy_trades, so an agent must infer the account-vs-strategy distinction from the word 我的.

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?

Usage is only implied: the scope word 我的 and the 【持仓与执行】 tag hint that this covers the user's own account fills rather than strategy trades or backtest results. There is no explicit when-to-use statement, no exclusion, and no pointer to platform_strategy_trades or platform_backtest_history as alternatives.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.