Skip to main content
Glama

diff_diff_stats

Calculate text similarity and change metrics between two documents to analyze differences in characters and lines.

Instructions

[diff] Compute similarity and change statistics between two texts. Returns {similarity: float (0-1), added_chars: int, removed_chars: int, added_lines: int, removed_lines: int, line_similarity: float}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
text_aYes
text_bYes
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