Skip to main content
Glama

Code MCP Server

by block

get_diff_stats

Analyze code changes with file and line statistics. Compare commits, track staged changes, or focus on specific files to assess modifications in your working directory.

Instructions

Get diff statistics (files changed, lines added/removed)

Input Schema

NameRequiredDescriptionDefault
commit1NoFirst commit for comparison
commit2NoSecond commit for comparison
cwdNoWorking directory
fileNoSpecific file stats
stagedNoShow stats for staged changes

Input Schema (JSON Schema)

{ "properties": { "commit1": { "description": "First commit for comparison", "type": "string" }, "commit2": { "description": "Second commit for comparison", "type": "string" }, "cwd": { "description": "Working directory", "type": "string" }, "file": { "description": "Specific file stats", "type": "string" }, "staged": { "description": "Show stats for staged changes", "type": "boolean" } }, "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