Skip to main content
Glama
yimu-cloud-mcp

yimu-cloud-mcp

by MeiXu6693

stats

Aggregates expense or income amounts and transaction counts by category, subcategory, day, month, or tag, returning totals and percentage shares for reporting.

Instructions

统计:按分类/天/月/标签汇总金额、笔数、占比(口径同 overview)

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": {
      "by": "<by>"
    },
    "name": "stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
byYes分组维度
toNo
fromNo
typeNo默认 expense
monthNo
include_excludedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It implies a read-only aggregation, but never states that explicitly, nor does it explain how include_excluded changes the totals or whether results are affected by the from/month filters.

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 dense line with the core purpose front-loaded and no filler. Its brevity tips into under-specification given six parameters, but nothing in the text is wasted.

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?

It does disclose the output content (amounts, counts, shares), which helps since no output schema exists. For a six-parameter aggregation with no annotations, however, it omits date-range behavior and the exclude/include semantics that materially change results.

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 33%, so the description must compensate and largely does not. It names four of the five `by` enum values (omitting sub_category) and says nothing about from, to, month, type, or the consequential include_excluded flag, leaving half the parameters without meaning anywhere.

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 operation (统计/aggregate) with concrete measures (金额/笔数/占比) and concrete grouping dimensions (分类/天/月/标签), which distinguishes it from a plain summary. The clause "口径同 overview" signals the relationship to the overview sibling, though it defines similarity rather than difference.

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?

No statement of when to use this tool instead of overview, query_bills, or report — only that its metric definitions match overview. An agent must infer that this is the grouped-aggregation variant, and nothing tells it when a raw listing tool would be preferable.

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