Compare lists
compare_listsUse this when the user wants to know which items 2 or 3 lists share and which are unique, without a diagram, for example "which names are on both lists" or "compare these three guest lists". Takes 2 or 3 named lists (up to 500 items each, 80 characters per item) and a case option. Returns each region (only A, only B, A and B, ...) with its count and items, the overlap percentage for each pair, and a CSV with each item's region. Does not read files, does not fuzzy-match spellings, and does not draw a diagram.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sets": "<sets>"
},
"name": "compare_lists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sets | Yes | 2 or 3 named lists to compare. Each set: {"name":"Team A","items":["Ann","Bo","Cy"]}. Names up to 40 characters; up to 500 items per set, each up to 80 characters. | |
| case_sensitive | No | false (default): "Apple" and "apple" are the same item. true: case matters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sets | Yes | ||
| pairs | Yes | ||
| regions | Yes | ||
| warnings | Yes | ||
| downloads | Yes | ||
| set_count | Yes | ||
| union_count | Yes | ||
| normalization | Yes | ||
| items_complete | Yes |