Skip to main content
Glama

diff_diff_text

Compare two text strings to identify differences and generate a unified diff with line change statistics.

Instructions

[diff] Compare two text strings and return a unified diff. Returns {unified: str, added_lines: int, removed_lines: int, unchanged_lines: int, has_changes: bool}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
text_aYes
text_bYes
contextNo
label_aNo
label_bNo
Install Server

Other Tools

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/0-co/agent-friend'

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