Skip to main content
Glama
WayneLiu519888

Test Impact Analysis MCP Server

repo_monitor

Monitors repository changes by checking new commits and managing watermarks. Supports status, check, and reset actions for test impact analysis.

Instructions

统一仓库监控工具。仓库列表在 monitors.conf.json 中配置(直接编辑即可,无需 MCP 工具)。

三种操作(通过 action 参数选择):

  • status — 查看仓库水位、快照、上次检查时间

  • check — 检查新提交(首次自动初始化水位),驱动水位更新 + seenShas 去重

  • reset — 重置水位到指定 MR/日期。sinceDate 模式自动定位迭代第一个 MR 的 base commit

范围定位(二选一,不传则遍历全部):

  • name — 仓库别名

  • module — 模块名(批量操作该模块下所有仓库)

配合 CronCreate 定时监控: /cron "*/15 * * * *" "repo_monitor(action='check')"

敏捷迭代重置: repo_monitor(action="reset", module="订单系统", label="Sprint 25 kickoff", sinceDate="2026-06-13")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes操作类型:status(查看状态)/ check(检查新提交)/ reset(重置水位)
nameNo仓库别名(与 module 二选一,不传则遍历全部)
moduleNo模块名(与 name 二选一,不传则遍历全部)
labelNo重置标签(如 'Sprint 25 kickoff'),用于快照回顾
sinceDateNo迭代开始日期(ISO 8601),如 '2026-06-13'。
Behavior4/5

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

Given no annotations, the description carries full burden and discloses key behaviors: actions, side effects (check updates watermark and dedups seenShas), and special behavior for reset with sinceDate. It lacks details on error cases, permissions, or performance, but covers the main operational traits.

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 well-structured with sections for actions, scope, and examples. It front-loads the purpose. While it could be slightly more concise, the examples provide clarity that likely aids understanding without excessive verbosity.

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?

The description covers all actions and parameters comprehensively, but lacks information about return values or expected output format. Since there is no output schema, the description could benefit from briefly summarizing what each action returns (e.g., status outputs). This gap limits completeness for a monitoring tool.

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 100%, but the description adds valuable context: explains action enum in prose, clarifies the mutual exclusivity of name and module, and describes label and sinceDate in the context of the reset action. This goes beyond the schema's property descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the tool as a unified repository monitoring tool with three specific actions (status, check, reset) and distinct scope options. It differentiates from sibling tools like impact_analysis or repo_clone by focusing on monitoring and watermark management.

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?

The description provides explicit usage context for each action and scope (name or module) and includes concrete examples for cron scheduling and agile reset. It does not explicitly state when not to use the tool, but the action descriptions make the appropriate use cases clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/WayneLiu519888/Test-Impact-Analysis-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server