YST KPI Daily Report Collector
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| collect_reportsA | 采集指定月份范围的日报数据 ⚠️ 重要:使用前请先确保已登录! 推荐流程:
这样可以避免采集过程被登录流程阻塞。 Args: start_month: 起始月份,格式 YYYY-MM (例如: 2025-07) end_month: 结束月份,格式 YYYY-MM (例如: 2025-09) output_file: 输出文件路径(可选,默认为 ~/.yst_mcp/output/new.md 或项目目录下 data/new.md) auto_login: 未登录时是否自动启动浏览器登录(默认 False,不推荐设为 True) Returns: 采集结果描述 |
| browser_loginA | 启动浏览器进行登录 ✅ 推荐使用流程:
工作流程:
Args: use_persistent: 是否使用持久化浏览器上下文(推荐,默认 True) timeout: 登录超时时间(秒),默认 300 秒(5 分钟) Returns: 登录结果 |
| save_cookies_from_browserA | 保存浏览器 Cookie(用于首次登录) 使用方法:
Args: cookie_string: Cookie 字符串,格式如 "name1=value1; name2=value2" 或者完整的 curl 命令中的 -b 参数内容 Returns: 保存结果 |
| check_login_statusA | 检查当前登录状态(建议第一步调用) ✅ 推荐工作流程:
Returns: 登录状态信息: - "✓ 已登录,Cookie 有效" -> 可以直接采集数据 - "❌ Cookie 已过期" -> 需要调用 browser_login 重新登录 - "❌ 未找到保存的 Cookie" -> 需要调用 browser_login 首次登录 |
| check_playwright_installationA | 检查 Playwright 浏览器驱动安装状态 Returns: 安装状态信息 |
| clear_saved_cookiesB | 清除已保存的 Cookie Returns: 清除结果 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool has a clearly distinct purpose: login management (browser_login, check_login_status, clear_saved_cookies, save_cookies_from_browser), installation check (check_playwright_installation), and data collection (collect_reports). No two tools overlap in functionality.
All tools follow a consistent snake_case naming pattern with descriptive verbs (browser_login, check_login_status, check_playwright_installation, clear_saved_cookies, collect_reports, save_cookies_from_browser). The convention is uniform across all tools.
With 6 tools, the server is well-scoped for its purpose of collecting KPI daily reports. Each tool adds necessary functionality without bloat. The number is within the ideal range (3-15) and feels neither too heavy nor too thin.
The tool surface covers the core workflow: login, status checking, cookie management, installation verification, and report collection. A minor gap is the lack of an explicit logout tool, but clear_saved_cookies can partially serve. Overall, the essential operations are present.