Skip to main content
Glama
yzyx
by BerBai

yzyx_abook_config

Manage investment account settings and archive status: show current configuration, update selected fields, or archive/unarchive accounts by ID or name, with changes verified after writing.

Instructions

【写操作】投资账户设置与归档(经 abook_config.py 子进程)。 action=show 看设置 / set 改设置(全字段回填,只覆盖给出字段, 解析不全自动中止)/ archive 归档 / unarchive 取消归档。 定位:account_id 优先;show/archive/unarchive 可用 name(本地 账户映射名/渠道名);set 改名定位用 loc=现名、name_to=新名。 set 可改字段:name_to/memo/four_money/currency/term/returns/ perspective/view_ids(逗号分隔)。写后读回逐字段核对。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "yzyx_abook_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
locNo
memoNo
nameNo
termNo
actionYes
name_toNo
returnsNo
currencyNo
view_idsNo
account_idNo
four_moneyNo
perspectiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.8.3

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the load and does so well: it is flagged as a write operation (【写操作】), explains that set does full-field backfill overwriting only supplied fields, that incomplete parsing aborts automatically, and that results are read back and verified field-by-field after writing. It does not state permission requirements or the effect of archiving on existing records beyond implying reversibility via unarchive.

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?

The text is front-loaded with the write-operation marker and action list, then proceeds to locating rules and settable fields in a logical order with no filler. The telegraphic, slash-delimited style is dense but every line carries operational information.

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 12-parameter, unannotated mutation tool this is close to sufficient: modes, locating precedence, settable field list, and write-then-verify behavior are all present, and an output schema exists so return values need not be explained. What is thin is failure handling beyond the abort note and any prerequisite about the target account existing.

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 description coverage is 0%, so the description must compensate, and it names all twelve parameters while explaining the important distinctions (account_id vs name vs loc/name_to) and formatting view_ids as comma-separated. Remaining gaps are value semantics for fields such as four_money, currency, term, returns, and perspective, whose accepted formats or value domains are never described.

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 opens with an explicit verb+resource: investment account settings and archiving, executed via an abook_config.py subprocess, and it enumerates the four action modes (show/set/archive/unarchive). An agent can tell exactly what the tool manipulates. It loses the top mark only because it never contrasts itself with nearby siblings such as yzyx_account or yzyx_update_assets.

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?

Each action value is given a concrete purpose (show reads, set writes, archive/unarchive toggle archival state), and the account-locating rules are spelled out: account_id takes precedence, name works for show/archive/unarchive, and renaming under set requires loc=current name plus name_to=new name. What is missing is guidance on when to prefer this tool over a sibling account tool.

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