Skip to main content
Glama
begin2019510

purchase-app-mcp

by begin2019510

记一笔

expense.create

Create income, expense, or purchase records with dates, categories, projects, and optional week splitting to track personal finances and budgets.

Instructions

新增收支记录。金额 0~999999;type 默认支出。

Input Schema

NameRequiredDescriptionDefault
dateNo日期 YYYY-MM-DD,默认今天
noteNo
typeNo
amountYes
categoryNo分类,默认其他
phaseIdxNo
projectIdNo
splitWeeksNo分摊周数
splitStartWeekNo分摊开始周

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.7/5.0
Behavior2/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. It is a mutation (新增) with only 'amount' required, yet it says nothing about side effects, whether records affect budget/analytics, validation failures, or what is returned — and the amount range it cites merely repeats the schema's min/max.

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 clauses, front-loaded with the action, with no filler. The brevity is a virtue in form even though content is underspecified.

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?

Nine parameters, no annotations, no output schema, 44% schema coverage — the description is far too thin for this complexity. It supplies the type default but omits the split/allocation parameters (splitWeeks, splitStartWeek) and project/phase linkage, which an agent cannot call correctly without.

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 44%, so the description needs to compensate but mostly does not. It adds one genuinely useful detail not in the schema — type defaults to 支出 — but leaves note, phaseIdx, projectId, splitWeeks and splitStartWeek entirely undocumented in both places, and the amount range duplicates the schema.

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?

States a specific verb+resource: 新增收支记录 (create an income/expense record), which is enough to tell an agent what it does and separates it loosely from expense.update/delete/list. It does not explicitly name siblings or scope itself against purchase.create, which also creates records, so it stops short of 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no guidance on when to use this versus expense.update or purchase.create, and no preconditions mentioned. The reader must infer usage from the tool name alone.

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