Skip to main content
Glama
qianji-mcp-server

qianji-mcp-server

qianji_sync

Pull Qianji bills and refresh the local SQLite mirror, with full or incremental sync modes to keep personal finance data ready for querying.

Instructions

拉取账单并刷新本地镜像。complete 表示是否翻完全部页。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "qianji_sync"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoincremental
maxPagesNo
refreshCatalogsNo

Output Schema

NameRequiredDescriptionDefault
jobIdNo
pagesYes
statusNo
completeYes
nextCallNo
billsSeenYes
nextActionYes
billsDeletedYes
retryAfterMsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=true, so the fact that this mutates local state against an external service is partly covered. The description adds only that it overwrites the local mirror, but says nothing about what existing data is replaced, whether re-running is safe/idempotent, or the cost of a full pull; the closing sentence instead explains an output field ('complete'), which the output schema already carries.

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 compact sentences with the core action front-loaded and no padding. The second sentence is slightly confusing because 'complete' reads like a parameter but is actually an output field.

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 three-parameter, non-read-only sync operation with an external dependency, the definition leaves the mode choice, pagination limits, and catalog-refresh side effects entirely undocumented. Only the high-level sync purpose and one return field are covered.

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 description coverage is 0% with three parameters (mode, maxPages, refreshCatalogs) and no meaning is supplied for any of them—full vs incremental, page limits, and catalog refresh behavior are unexplained. The mention of '翻完全部页' only faintly hints that maxPages controls pagination, so the description 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?

States a specific verb and resource plus the effect: pulls bills (拉取账单) and refreshes the local mirror (刷新本地镜像). The 'refresh local mirror' wording distinguishes it from pure readers like qianji_list_bills, though no sibling is named explicitly.

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 call this versus qianji_list_bills or qianji_get_write, no preconditions (auth, network access), and no statement about when-not to use it. An agent must infer all routing decisions from the name alone.

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