Skip to main content
Glama
yzyx
by BerBai

yzyx_search

Search all investment accounts in the current full backup by keyword, amount, date range, or record type; refresh the backup first to include new records.

Instructions

【只读】全局记录搜索:在最近一份全量备份里跨全部投资账户检索记录。query 匹配渠道/备注/类型任意字段;amount>0 时按金额绝对值精确匹配;date_from/date_to 为 YYYY-MM-DD;record_type 可选 投入/转出/快照。备份之后的新记录需先刷新备份。

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_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNo
amountNo
date_toNo
date_fromNo
record_typeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.8.3

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it declares read-only behavior, discloses that results come from a backup snapshot rather than live data, and warns about the refresh prerequisite. It omits pagination or result-size limits, but the presence of an output schema covers return-shape questions.

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?

Front-loads the read-only marker and the core purpose, then spends each following clause on a distinct parameter or caveat with no filler. The semicolon-separated structure makes it scannable despite covering five parameters.

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?

For a read-only search whose return shape is documented by an output schema, the description covers staleness, the refresh prerequisite, and every parameter's acceptable values. Only edge-case behavior (unset filters, result limits) is left implicit.

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 coverage is 0%, so the five parameters would otherwise be opaque — yet the description explains query's matching fields, amount's absolute-value exact-match behavior when positive, the YYYY-MM-DD date format, and record_type's enum values (投入/转出/快照). It does not explain the empty-string/zero defaults (i.e., that they disable the filter), which is the main remaining gap.

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

Purpose5/5

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

States a specific verb and resource — global record search across all investment accounts — and immediately scopes it to the most recent full backup. This clearly separates it from mutation siblings like yzyx_add_record and from the many reporting siblings such as yzyx_overview or yzyx_trend.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a concrete precondition: records created after the backup require refreshing the backup first, which tells the agent when the tool's results may be stale. It does not name an alternative tool or state when not to use this one, so it falls short of a 5.

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