Skip to main content
Glama
yzyx
by BerBai

yzyx_update_cell

Adds a new amount record to an asset inventory account, with optional date and comment, then verifies the write by reading it back. Deletion is not supported.

Instructions

【写操作】给资产盘点账户新增一条金额记录(cid 来自 yzyx_inventory;amount 如 "12345.67";date 为 YYYY-MM-DD,空=今天;comment 备注可空)。提交后自动读回验证并在结果中标注 verified_by_readback。本工具禁止删除:没有任何删除工具,写入通道在代码层硬禁删除类事件。

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": {
      "cid": "<cid>",
      "amount": "<amount>"
    },
    "name": "yzyx_update_cell"
  }
}

Input Schema

NameRequiredDescriptionDefault
cidYes
dateNo
amountYes
commentNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden here, and it does disclose meaningful behavior: this is a write, the write is automatically read back and flagged as verified_by_readback in the result, and deletion is hard-blocked at the code layer. What is missing is the behavior that matters most for a write: what happens if a record for the same cid/date already exists (append another, overwrite, or error), and whether any particular permission or authenticity is required.

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 definition is a single dense paragraph with the most important fact (write operation) front-loaded and the per-parameter hints grouped in one parenthetical. Nearly every clause earns its place. The structure is a wall of bracketed text rather than a clean segmentation of purpose, parameters, and guarantees, which slightly taxes readability.

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?

An output schema exists, so the description need not explain return shapes, and the mention of verified_by_readback connects the behavior to the output. For a write tool with zero annotations, however, critical calling information is absent: append versus update semantics, overwrite/duplicate handling, and permission requirements. The definition is adequate to invoke the tool but not complete enough to predict what the write will do to existing data.

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 supply the parameter meaning, and it effectively does: cid's provenance, amount's string format with a concrete example "12345.67", date's YYYY-MM-DD format with empty meaning today, and comment being optional. This closes the gap for all four parameters. It still does not state the currency or units for amount, or whether negative values are accepted, which is a small remaining ambiguity.

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 gives a concrete verb and resource: it adds a monetary record to an asset-inventory account, and leads with the 【写操作】 marker so the write nature is unmistakable. It also names the source of cid (yzyx_inventory), which lets an agent place the tool in a workflow. The one wrinkle is that the tool name says 'update_cell' while the description says '新增一条金额记录' (append a new record); the agent can read the intent, but the replace-vs-append distinction is never resolved. Sibling tools such as yzyx_cell are not contrasted with this tool.

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 implies usage by stating that cid comes from yzyx_inventory and that date defaults to today, which is useful routing information. It gives no explicit guidance on when to use this tool instead of yzyx_cell or yzyx_inventory, and it gives no prerequisites or exclusions. The only hard exclusion is that deletion is impossible, which is a capability statement rather than usage guidance.

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