Card sort analyzer
analyse_card_sortAnalyze an open card sort (method after Donna Spencer, Card Sorting). Pass participants: an array with one entry per person, each a map of group name to a list of cards (or {id, groups: {...}}). Accepts 3 to 60 participants and 5 to 100 distinct cards. Returns a similarity matrix (percent of participants who grouped each pair), agreement per card pair, suggested categories from average-linkage hierarchical clustering cut at threshold percent agreement (default 50), cards with low agreement, and a table of the group labels people used with how many used each. Card names match case-insensitively; labels match on letters and digits only, so synonyms stay separate. Fewer than about 15 participants triggers a caution. It does not explain why people grouped cards, so follow up with interviews.
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": {
"participants": "<participants>"
},
"name": "analyse_card_sort"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threshold | No | Cluster cut-off as percent agreement, 10 to 95. Default 50. | |
| participants | Yes | One entry per participant: {"Group name": ["card", ...]} or {id, groups}. |