Skip to main content
Glama

Query IM user statistics

yunxin_stats_users
Read-only

Retrieves Yunxin user statistics: yesterday overview, daily/hourly trends, province/city distribution, and real-time online counts, with optional OS/app/date filters.

Instructions

用户统计:day 昨日概览、count 按日/小时趋势、province 省份分布、city 城市分布、realtime 实时在线。日期支持 YYYY-MM-DD 或毫秒时间戳;province/city 的日期为所选自然日。

Input Schema

NameRequiredDescriptionDefault
osNo操作系统过滤,例如 Android/iOS/PC/Web
appNo
endNo趋势结束日期
areaNoprovince 的区域,默认 GLOBAL
dateNoprovince/city 的统计日期,默认昨天
typeNo统计类型,默认 1
startNo趋势开始日期
actionYes
provinceNoaction=city 必填,省份名称
datacycleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so safety is covered. The description adds date-format support and the natural-day caveat for province/city, but does not describe return shape, pagination, or rate limits; with annotations carrying the safety profile this is adequate but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences with the action list front-loaded and a date caveat appended; no repetition or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter read-only stats query, the description gives enough action-selection and date-format context to invoke correctly. The absence of an output schema means return details are not described, but the action labels convey what each query returns.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 70%, and the description adds important meaning for the action enum (five modes) plus date format and province/city date semantics. Other parameters (os, app, type, area, datacycle) remain unexplained, so it improves on the schema without fully covering all ten parameters.

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 the resource (用户统计) and enumerates five action modes (day/count/province/city/realtime), so the agent knows exactly what the tool reports. It does not name sibling stats tools (yunxin_stats_im/yunxin_stats_app) to differentiate, so it is clear but not fully sibling-differentiated.

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

Usage Guidelines4/5

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

Maps each action to its statistical view (昨日概览, 按日/小时趋势, 省份分布, 城市分布, 实时在线), giving clear selection guidance within the tool. No when-not-to-use or sibling alternatives are stated.

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