Skip to main content
Glama
qianji-mcp-server

qianji-mcp-server

qianji_create_transfer

Idempotent

Record actual account-to-account transfers; for cross-currency transfers, include the received amount so transfer activity is tracked separately.

Instructions

记录两个账户间的实际转账。跨币种须填写实际到账金额,转账单独统计。

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": {
      "fromAccountId": "<fromAccountId>",
      "toAccountId": "<toAccountId>",
      "fromAmount": "<fromAmount>"
    },
    "name": "qianji_create_transfer"
  }
}

Input Schema

NameRequiredDescriptionDefault
bookIdNo
remarkNo
toAmountNo账户原币十进制字符串,如 816 或 39.12
requestIdNo本次操作的稳定键。宿主未提供时必填;重试或补结算时复用原键。
fromAmountYes账户原币十进制字符串,如 816 或 39.12
notCountedNo
occurredAtNo票面日期和时分;可附 UTC 偏移,省略偏移时使用账务时区
toAccountIdYes
fromAccountIdYes目录或查询结果给出的数字字符串 ID

Output Schema

NameRequiredDescriptionDefault
billNo
billIdNo目录或查询结果给出的数字字符串 ID
statusYes
messageNo
summaryYes
nextCallNo
replayedYes
createdAtYes
requestIdYes
verificationNo
changedFieldsNo
accountCurrencyNo
originalReceiptNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare that this is a mutating but non-destructive, idempotent, open-world write, so the safety profile is covered. The description adds one genuinely behavioral detail: transfers are counted separately in the statistics. The cross-currency sentence largely restates a parameter requirement rather than revealing behavior. It says nothing about the idempotency and retry semantics implied by the requestId parameter, or about defaults.

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?

Two short sentences, with the core action stated first and the conditional rule second; nothing is redundant. The telegraphic style is efficient, though it leaves the counting-separately clause slightly ambiguous. It is well front-loaded.

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?

Because an output schema exists, return values need not be described. However, for a 9-parameter mutation with only 56% schema coverage, the description is thin: optional parameters such as bookId, notCounted, and occurredAt remain unexplained in both places. It is adequate, not complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 56%, so the schema carries most of the load; the description adds real meaning for toAmount by saying it is required specifically for cross-currency transfers, which the schema only labels generically. The other parameters, including bookId, notCounted, occurredAt, and requestId, get no explanation in the description. A 3 is right for a mid-coverage schema with one useful clarification.

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 states a specific verb and resource: recording an actual transfer between two accounts. It clearly distinguishes a transfer from a bill or receipt, which the sibling tool names also suggest, but it never names a sibling tool. The purpose is unmistakable, though it is not explicitly contrasted with them.

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?

It gives one conditional rule: for cross-currency transfers, you must supply the actually received amount. It also says transfers are counted separately, which implies this tool should be used when money moves between accounts rather than for expense tracking. However, it offers no explicit when-not-to-use guidance and no named alternative for single-account spending.

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