Skip to main content
Glama
yimu-cloud-mcp

yimu-cloud-mcp

by MeiXu6693

bill_add

Record a bill in Yimubill cloud by account and category name, with optional discount, and automatically build the payload and correct balances.

Instructions

语义记一笔:账户/分类用名称,优惠写 discount;内部构造完整 payload 并自动校正余额

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": {
      "account": "<account>",
      "category": "<category>",
      "amount": "<amount>"
    },
    "name": "bill_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
bookNo
tagsNo标签名或 ID
timeNoyyyy-MM-dd HH:mm,默认现在
amountYes实付金额(优惠后)
remarkNo
accountYes账户名称
bill_idNo调用方生成,用于幂等
categoryYes分类名,支持「一级-二级」
currencyNo
discountNo优惠金额,原价=amount+discount
sub_categoryNo
reimbursementNo
not_into_totalNo
not_into_budgetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries full burden and it does disclose real behavior: the tool constructs the complete payload itself and automatically corrects the account balance, which tells the agent this is a mutating, balance-affecting call. It does not say whether the correction is reversible, what permissions are needed, or what happens when the internally built payload conflicts with supplied fields.

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?

A single compact clause chain with the key constraint (names, not IDs) and the key behavioral fact (internal payload, balance correction) front-loaded. It is dense to the point of terseness, but no sentence is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 14-parameter write tool with a nested object, no annotations and no output schema, the description is too thin. It never addresses the untyped currency object, the meaning of the three boolean flags, idempotency via bill_id, or what the call returns after adjusting the balance.

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

Parameters2/5

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

Schema coverage is only 50% across 14 parameters, including a nested currency object and flags like not_into_total and not_into_budget that neither the schema nor the description explains. What the description does add (account/category by name, use discount rather than pre-computed original price) largely repeats the schema's own descriptions, so it does not compensate for the coverage gap.

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 opening '语义记一笔' gives a specific verb (record a bill) plus a distinctive qualifier: entry is semantic, using account/category names instead of IDs, with the full payload built internally. That is more than a restatement of the name. It stops short of distinguishing itself from the similarly named sibling, so it is not 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: 'semantic entry' suggests it is the convenience path when you have human-readable names rather than IDs. There is no explicit when-not, no mention of bill_id idempotency as a calling convention, and no routing versus bills_add or transfer_add, so the agent must infer the choice.

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