Skip to main content
Glama
MCP File Operations Server

MCP File Operations Server

by itcom

app_git_diff

Displays Git diffs for a repository, including staged changes, a specific directory, or a file, to help review modifications before committing.

Instructions

【app】Git差分を表示します

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

Input Schema

NameRequiredDescriptionDefault
stagedNoステージング済みの変更を表示
directoryNoGitリポジトリのディレクトリパス(省略時はルート)
file_pathNo特定ファイルの差分を表示

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv13.0.0

TDQS

C2.9/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, yet it says only that a diff is displayed. It is silent on read-only safety, on what happens outside a repo, on whether output is paged or truncated for large diffs, and on the response shape.

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 front-loaded sentence with no filler, which is structurally efficient. Its brevity reflects under-specification rather than padding, which is penalized in other dimensions rather than here.

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

Completeness2/5

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

With zero annotation coverage, no output schema, and three parameters, the definition should explain return format and edge cases. Nothing beyond the bare purpose is provided, so an agent cannot predict the output or failure modes.

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 description coverage is 100%, with staged, directory, and file_path each documented in the schema itself, so the baseline is 3. The description adds no extra meaning about defaults (staged=false) or interaction between directory and file_path, so it does not rise above that baseline.

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 text pairs a specific verb with a specific resource ("Git差分を表示します" = display the Git diff), so an agent knows what it does without opening the schema. It does not, however, distinguish this from siblings such as app_git_show or app_git_log, leaving the boundary between "diff" and "show" for the agent to infer.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus app_git_show, app_git_log, or app_git_status, and no prerequisites (e.g., must be inside a Git repository). The agent must derive usage from the tool name alone.

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