Skip to main content
Glama
yzyx
by BerBai

yzyx_cashflow_write

Create, list, view, or update yearly income and expense budget items, including amounts and categories, while preventing deletions.

Instructions

【写操作】现金流预算项读写(经 cashflow_write.py 子进程)。 action=list 列预算项 / show 看单项表单(需 cellid)/ set 改单项 (需 cellid,可改 amount/name/periodic/category_name,全字段回填后 提交并读回核对)/ create 新建(需 variety 品种名 + name + amount)。 category=income|expense;year=预算年份。不提供删除。

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

Input Schema

NameRequiredDescriptionDefault
nameNo
yearNo
actionYes
amountNo
cellidNo
varietyNo
categoryNoexpense
periodicNo
category_nameNo

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, the description still discloses meaningful behavior: the tool runs through a cashflow_write.py subprocess, mutation of a set entry requires full-field backfill followed by submit-and-read-back verification, and deletion is explicitly not supported. It stops short of stating permission requirements, failure modes, or whether changes are reversible.

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 【写操作】marker and action enumeration are front-loaded, and every clause carries actionable content with no filler. Parenthetical stacking makes it dense but not verbose.

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 9-parameter mutation tool with no annotations, the description covers actions and parameters adequately, and an output schema exists so return values need not be explained. However it leaves prerequisites, error handling, and the interaction with the read-only sibling undefined, which is a real gap at this complexity.

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 carry the burden — and it largely does, covering cellid, variety, name, amount, category (income|expense), year, periodic, and category_name, plus which fields 'set' can change. Gaps remain on value formats (amount is a string, 'periodic' is undefined), which keeps it below 5.

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 names the resource (cashflow budget items) and enumerates four concrete verbs (list/show/set/create) with their per-action requirements, so an agent knows exactly what operations are available. It does not differentiate this tool from the sibling read tool yzyx_cashflow, so it falls short of a 5.

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?

'show/set need cellid', 'create needs variety + name + amount', and 'no delete' give clear per-branch conditions for choosing an action. What is missing is routing guidance against the sibling yzyx_cashflow (read-only path) — nothing says when to prefer this tool over that one.

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