Skip to main content
Glama
yzyx
by BerBai

yzyx_account

Fetches a single investment account's detail—replayed balance, cumulative deposits/withdrawals, snapshot count, and recent records—using account ID or mapped name.

Instructions

【只读】单个投资账户明细:重放余额、累计投入/转出、快照次数与最近记录。account_id 与 name 二选一(name 需在本地账户映射中)。数据经 websocket 全量读取,约需 10-60 秒。

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": "yzyx_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
recentNo
account_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.8.3

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are supplied, so the description must carry the full burden of behavioral disclosure. It marks the operation as 【只读】 (read-only), explains that the data is read in full via websocket, and warns of a 10–60 second latency, all of which are valuable operational facts. It omits failure modes, such as an unknown account_id or a name not in the local mapping, and pagination behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences: the bracketed read-only tag and the purpose statement come first, then the parameter rule, then the cost warning. Every sentence adds information, including the latency warning, and no sentence is 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?

An output schema exists, so the description needn't explain return values. For a three-parameter read tool with no annotations, the description covers purpose, the parameter precondition, and latency. The gaps are the undocumented 'recent' semantics and some unaddressed failure modes.

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 compensate: it explains the mutually exclusive pair account_id and name, and gives the precondition for name. The 'recent' parameter is only indirectly hinted at by '最近记录' (recent records); its meaning as a count and its default of 10 are never stated, and account_id's expected format is unspecified.

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 specific verb and resource: '单个投资账户明细' (details of a single investment account). It also enumerates the data returned, including replay balance, cumulative contributions and withdrawals, snapshot count, and recent records. This makes the tool's purpose clear. The description does not name any sibling tool, such as yzyx_overview or yzyx_groups_detail, to help the agent distinguish this tool, so the score is 4 rather than 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's guidance focuses on parameter choice: 'account_id 与 name 二选一(name 需在本地账户映射中)' tells the caller that account_id and name are mutually exclusive and that name requires a local account mapping. It does not say when to prefer this single-account tool over the portfolio-level siblings. The usage context—fetching one account's details—is only implied.

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