Skip to main content
Glama
MCP File Operations Server

MCP File Operations Server

by itcom

app_git_generate_commit_message

Generates an AI-written Git commit message from current repository changes so you can commit with a clear summary instead of drafting it manually.

Instructions

【app】現在の変更内容からAIがコミットメッセージを生成します

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "app_git_generate_commit_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
directoryNoGitリポジトリのディレクトリパス(省略時はルート)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv13.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does usefully clarify that the tool generates a message rather than performing a commit, which sets it apart from a mutating git operation, but it says nothing about whether it reads the staged diff or the working tree, whether it requires an API/model call, or whether any state changes. Return shape is also unaddressed.

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?

A single short sentence with the key information front-loaded and no wasted words. It is appropriately terse for a simple tool, though it stops short of packing in a useful constraint such as what diff scope is read.

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 one-optional-parameter tool with no output schema, the core intent is conveyed, but the agent still does not know what exactly is returned (a message string? multiple candidates?) or what change scope is analyzed. Adequate but with clear 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?

Only one optional parameter (directory) exists and its schema description coverage is 100%, already explaining the root-path default. The description adds no additional meaning about the directory, so the baseline of 3 is correct.

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

Purpose4/5

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

States a specific verb and result: the tool generates a commit message from the current changes (現在の変更内容からAIがコミットメッセージを生成します). An agent can tell it apart from read-only siblings like app_git_diff or app_git_status, though it does not name which sibling covers the related task of writing or applying the commit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'from current changes' implies the moment to use it (when there are uncommitted changes and a message is needed), but there is no explicit when/when-not guidance and no mention of alternatives such as app_git_commit_analyze. Usage is inferred rather than stated.

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