Skip to main content
Glama

get_diff_stats

Analyze code changes by calculating file modifications and line additions/removals between commits, specific files, or staged content.

Instructions

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

Input Schema

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

Latest Blog Posts

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