Skip to main content
Glama
MCP File Operations Server

MCP File Operations Server

by itcom

app_git_commit_analyze

Analyzes current Git changes and proposes how to split them into logical commits, helping organize work into clear, reviewable commit groups.

Instructions

【app】現在の変更内容を分析してコミット分割を提案します

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_commit_analyze"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv13.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. The word '提案します' (proposes) faintly implies advisory, non-mutating behavior, but it never states that the repository is not modified, whether staging is required, or whether it works on staged vs unstaged changes.

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 resource and the outcome front-loaded; nothing is redundant. It is efficiently sized, though the lack of any second clause leaves no room for the guidance dimensions above.

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?

With one optional param, no output schema and no annotations, the definition is minimal but not broken. Missing are the shape of the proposed split, the precondition of having local changes, and confirmation that no commit is created — details an agent would need to call this confidently.

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?

There is a single optional parameter, and the schema already documents 'directory' at 100% coverage as the repo path defaulting to root. The description adds no extra meaning about the parameter, so the high-coverage baseline of 3 applies.

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?

The description pairs a specific verb (analyze) with a specific resource (current changes) and states the concrete output: a proposed commit split. An agent can distinguish it from status/diff/log siblings, but it never mentions how it differs from the closely related app_git_generate_commit_message, which is the most likely source of confusion.

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?

Usage is only implied by '現在の変更内容' (current changes), suggesting it is run against the working tree before committing. There is no explicit when-to-use, no when-not-to-use, and no pointer to sibling tools such as generate_commit_message or diff.

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