Skip to main content
Glama
yzyx
by BerBai

yzyx_goals_write

Manage psychological account goals: list accounts, view edit forms, create goals with targets, and edit fields by mid, then read back to verify; deletion is unavailable.

Instructions

【写操作】心理账户读写(经 goals_write.py 子进程)。 action=list 列心理账户与 mid / show 看编辑表单(需 mid)/ create 新建(需 name,可带 target_amount/target_date/goal/memo)/ edit 编辑(需 mid,只覆盖给出的字段;备忘解析不全时脚本会中止 以防清空)。写后读回核对。不提供删除。

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

Input Schema

NameRequiredDescriptionDefault
midNo
goalNo
memoNo
nameNo
actionYes
templateNo
target_dateNo
target_amountNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.8.3

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does substantial work: it declares the write nature up front, states that edit only overwrites supplied fields, warns that the script aborts on incomplete memo parsing to avoid wiping data, and notes a read-back verification step plus the absence of any delete operation. It stops short of stating permission requirements or what the failure/abort response looks like to the caller.

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-loaded with the 【写操作】 marker, then a slash-delimited enumeration of actions that is easy to scan. Every clause carries information – required fields, overwrite semantics, abort safety – with no 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 return values need not be described, and the description covers mutation semantics, per-action required inputs, and a safety edge case. The only real gap is the undocumented `template` parameter and the absence of any permission or error-shape note for a write tool with zero annotation coverage.

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% and the schema lists action as a bare string with no enum, so the description is the sole source of meaning; it enumerates the valid action values and maps required and optional params (mid, name, target_amount, target_date, goal, memo) to each. It fails to mention the `template` parameter, leaving one of eight fields undocumented in both schema and description.

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?

"【写操作】心理账户读写" names a specific verb class and resource, and the action list (list/show/create/edit) makes the tool's shape concrete. It does not explicitly contrast itself with the sibling read tool yzyx_goals, so sibling differentiation is only implicit via "【写操作】" and "不提供删除".

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?

Each action is paired with its required inputs (show/edit need mid, create needs name), which effectively tells the agent which mode to pick. However there is no guidance on when to use this tool versus the read-only yzyx_goals sibling that apparently covers similar ground, and no preconditions such as permissions or when create is appropriate versus edit.

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