Skip to main content
Glama
qianji-mcp-server

qianji-mcp-server

qianji_list_books

Read-only

Search account books by query and return matching bookId values plus the default ledger, so you can select the correct book before bookkeeping.

Instructions

搜索账本,返回可用于记账的 bookId 与默认账本。

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_list_books"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNo

Output Schema

NameRequiredDescriptionDefault
booksYes
defaultBookIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, destructiveHint=false, so the safety profile is covered. The description adds the return content (bookId + default ledger), but does not say whether matching is fuzzy or exact, what an empty query returns, or how large the result set may be.

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?

One front-loaded sentence with no filler — the action and the payload are both stated immediately. The terseness is efficient, though it is also the source of the missing detail elsewhere.

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 return-value mention is a bonus rather than a necessity, and the annotations cover safety for a simple read tool. What is still missing is the behavior of the sole optional 'query' parameter, which is the main open question an agent faces before calling.

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?

There is one parameter, 'query', with 0% schema description coverage, and the description never explains what it matches (ledger name? pinyin? substring?) or what omitting it does. For a single-param tool with no schema documentation, the description needed to carry this and does not.

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 names a specific verb (搜索/search) and resource (账本/ledger books), and states what comes back: bookId usable for bookkeeping plus the default ledger. That cleanly separates it from siblings such as qianji_search_accounts or qianji_search_categories, though it never explicitly contrasts 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?

The phrase '返回可用于记账的 bookId' implies the workflow (fetch a bookId before recording bills), but there is no explicit when-to-use statement, no prerequisites, and no named alternative. Usage is inferable rather than stated.

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