Skip to main content
Glama

get_todays_git_diff

Extract today's Git commits and code changes from a local repository to generate TIL notes or daily work summaries.

Instructions

로컬 Git 리포지토리에서 오늘 자정(00:00) 이후 작성한 커밋과 코드 변경사항(diff)을 추출합니다. TIL(Today I Learned) 작성이나 작업 내역 요약에 유용합니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_pathYes분석할 Git 리포지토리의 절대 경로 (예: /Users/username/project/my-repo)
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It clarifies the time window (midnight to now) and that both commits and diffs are extracted, but it does not explain important aspects such as whether the relevant date is the commit date or author date, whether uncommitted changes are included, what branches are considered, or what the output format looks like. This leaves significant ambiguity for a git-related tool.

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?

The description is two sentences, both informative and free of redundancy. It fronts the core action and scope, then adds the use-case context, all without waste.

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?

For a simple one-parameter tool, the description is functionally adequate, but it omits details about the output format and error behavior. Since there is no output schema and no annotations, the agent must infer what the tool returns and how edge cases are handled. This is a clear gap, but given the tool's simplicity, the description is not critically incomplete.

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?

The schema already covers the sole parameter fully (repo_path, with an example). The description does not add any new meaning beyond the schema; it merely restates that it applies to a 'local Git repository'. Since schema coverage is 100%, the baseline of 3 is appropriate.

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 states a specific verb ('extracts'), a clear resource ('local Git repository'), and a specific scope ('commits and code changes (diff) after midnight today'). It also mentions the intended use case, making the tool's function immediately clear. Since there are no sibling tools, differentiation isn't required.

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 explicitly mentions usage contexts ('useful for TIL (Today I Learned) writing or summarizing work history'), giving the agent clear guidance on when to invoke it. However, it does not provide any exclusions or contrast with alternatives, likely because no siblings exist, but the use-case context is sufficient for a standalone tool.

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/bottlesun/today-work-log-mcp'

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