Skip to main content
Glama

Code MCP Server

by block

compare_commits

Analyze differences between two commits using detailed comparisons. Specify file patterns, output formats, and working directories to streamline code change reviews and version control analysis.

Instructions

Compare two commits with detailed analysis

Input Schema

NameRequiredDescriptionDefault
commit1YesFirst commit hash or reference
commit2YesSecond commit hash or reference
cwdNoWorking directory
filePatternNoFile pattern to filter
formatNoOutput format

Input Schema (JSON Schema)

{ "properties": { "commit1": { "description": "First commit hash or reference", "type": "string" }, "commit2": { "description": "Second commit hash or reference", "type": "string" }, "cwd": { "description": "Working directory", "type": "string" }, "filePattern": { "description": "File pattern to filter", "type": "string" }, "format": { "description": "Output format", "enum": [ "unified", "stat", "name-only" ], "type": "string" } }, "required": [ "commit1", "commit2" ], "type": "object" }

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/block/vscode-mcp'

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