Skip to main content
Glama

git_work_report

Read-onlyIdempotent

Analyzes Git diff to generate daily or periodic work reports with concise bullet points of completed tasks and changes.

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(日报模式)
end_dateNo结束日期,格式 YYYY-MM-DD(周期报模式)
start_dateNo起始日期,格式 YYYY-MM-DD(周期报模式)
output_fileNo可选,输出文件路径
Behavior4/5

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

Discloses core behaviors: reading git commits, running git show, AI analysis of diffs, and output formatting. Annotations confirm readOnly and idempotent nature, which matches the description. No contradictions.

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?

Well-structured with clear sections (core function, output format, usage examples). Every sentence adds useful information without redundancy. Front-loaded with purpose.

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?

Although no output schema, the description fully specifies the output format (bullet points, Chinese, professional style, excluded elements). Parameters are fully covered. The tool's complexity is well addressed.

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?

All parameters are described in the schema (100% coverage). The description adds value by explaining the difference between date (daily mode) and start_date/end_date (periodic mode), and notes output_file is optional.

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?

Clearly states the tool generates work reports from Git diff analysis, supports daily and periodic modes, and provides concrete examples. Distinguishes from sibling tools by specifying a unique function.

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?

Provides explicit usage modes (daily vs periodic) with parameter examples. Does not explicitly mention when to avoid using, but the context of sibling tools makes it 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/mybolide/mcp-probe-kit'

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