Skip to main content
Glama
yimu-cloud-mcp

yimu-cloud-mcp

by MeiXu6693

query_bills

Filter bills by date, account, category, type, tag, keyword, or amount to locate specific transactions, including discounts, non-income/expense entries, and reimbursement details.

Instructions

按日期/账户/分类/类型/标签/关键词/金额筛选账单(含优惠、非收支、报销字段)

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": "query_bills"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoyyyy-MM-dd
tagNo
fromNoyyyy-MM-dd
typeNo
limitNo默认 50,最大 200
monthNoyyyy-MM
offsetNo
accountNo账户名称或 assetId
keywordNo
categoryNo分类名或 ID,支持「一级-二级」
max_amountNo
min_amountNo
sub_categoryNo
include_excludedNotrue=包含不计收支与报销中账单

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description fully carries the burden of behavioral disclosure. It clarifies one real behavior, namely that discounts, non-income-expense, and reimbursement records exist, which hints at include_excluded, but it says nothing about read-only safety, result ordering, pagination behavior, or return shape for a 14-parameter query.

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?

The description is a single dense clause with no filler, and it front-loads the verb and resource before the parameter list. It is efficient, though the parenthetical about discount and reimbursement fields is slightly cryptic without further context.

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 query tool with no annotations and no output schema, the definition does very little. It omits the result set behavior (ordering, what a record looks like), the default and maximum page size interplay, and how offset interacts with limit, which leaves the agent guessing about a fairly complex call.

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 description coverage is only 50%, so the description must compensate, and it does map several filters (日期/账户/分类/类型/标签/关键词/金额) to their parameters. However, month, sub_category, offset, and min/max amount semantics receive no added meaning, and the relationship between category and sub_category is not explained.

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 action ("筛选" / filter) and resource ("账单" / bills), then enumerates the exact filter dimensions (date/account/category/type/tag/keyword/amount). This clearly distinguishes it from write-side siblings such as bills_add, bill_update, and bill_delete, but it does not explicitly contrast with read-side siblings such as stats, report, and overview.

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?

The description provides no guidance on when to use this tool instead of alternatives. It does not mention that stats and report cover aggregation and that query_bills covers row-level retrieval, and it states no exclusions or prerequisites.

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