Skip to main content
Glama
uneco
by uneco

diff

View the complete diff for a single file without truncation to review all changes in large files like lock files or generated code before staging.

Instructions

View complete diff for a single file without truncation.

This tool is designed for viewing the full diff of a single file, regardless of size. Unlike list_changes, this tool will NEVER truncate the output, making it suitable for reviewing large files like lock files or generated code.

Use this when you need to:

  • View the complete diff of a large file (e.g., uv.lock, package-lock.json)

  • Review all changes in a specific file before staging

  • Analyze files that would be truncated by list_changes

Args: path: File path to view diff for (required) unified: Context lines around changes (default: UNIFIED_LIST_DEFAULT)

Returns: JSON string with format: {path, binary, status, lines, size_bytes}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
unifiedNo

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/uneco/mcp-git-polite'

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