Skip to main content
Glama

git_work_report

Produces daily or periodic work reports by analyzing Git diffs. AI extracts actual work activities from commits, outputting clean bullet points without technical noise.

Instructions

基于 Git diff 分析生成工作报告(日报/周期报)

核心功能:

  • 支持日报模式(单个日期)和周期报模式(日期范围)

  • 自动读取指定日期的所有 Git 提交

  • 对每个提交执行 git show 获取完整 diff

  • 使用 AI 分析 diff 内容提取实际工作内容

输出格式:

  • 只输出「工作内容」部分

  • 每条以 - 开头,中文,简洁专业

  • 格式:做了什么 + 改了哪里/达到什么效果

  • 不输出:提交哈希、文件列表、统计数据、风险总结

使用示例:

  • 日报:git_work_report --date 2026-1-27

  • 周期报:git_work_report --start_date 2026-2-1 --end_date 2026-2-6

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNo单个日期,格式 YYYY-MM-DD(日报模式)
start_dateNo起始日期,格式 YYYY-MM-DD(周期报模式)
end_dateNo结束日期,格式 YYYY-MM-DD(周期报模式)
output_fileNo可选,输出文件路径
Behavior4/5

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

With no annotations, the description carries full burden. It discloses the internal process (reading commits, git show, AI analysis) and the output format. It mentions writing to an output file but does not explicitly state it's a read operation on Git, though implied.

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-organized with a summary and bullet points, but it is somewhat lengthy at 8 lines. It is front-loaded with the core function, making it easy to scan quickly.

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

Completeness5/5

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

Despite no output schema or annotations, the description thoroughly explains behavior, output format, and usage. It covers what the tool does, how to use it, and the expected output, leaving no critical gaps.

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 coverage is 100%, so baseline 3. The description adds context linking date to daily mode and start_date/end_date to periodic mode, and notes output_file is optional. This adds marginal value beyond the schema descriptions, which are already clear.

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 states the tool generates work reports from Git diff analysis, supporting daily and periodic modes. It distinguishes itself from siblings like gencommit, code_review, etc. by focusing on report generation rather than commit creation or review.

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 examples for both daily and periodic modes, and explains the core functionality. However, it does not explicitly state when not to use this tool or compare it directly to siblings, leaving some inference required.

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/mybolide/mcp-probe-kit'

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