Skip to main content
Glama

diff_diff_words

Compare two text strings at the word level to identify added and removed words, generating an inline diff with clear visual indicators for changes.

Instructions

[diff] Compare two strings at the word level and return an inline diff. Added words are prefixed with '+', removed words with '-'. Returns {inline: str, added_words: int, removed_words: int}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
text_aYes
text_bYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Tool Definition Quality

Score is being calculated. Check back soon.

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