List teams of a user
List the teams a user belongs to, with member counts and which ones they lead.
MCP tool lichess_read → list_user_teams
read
Returns each team with its ID, name, member count and the leaders, which tells the agent which teams the account can manage. Other team tools take the team_id from here. It reads only.
Parameters
| Name | Type | Description |
|---|---|---|
| username string | string | Lichess username. Defaults to the signed-in account. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "lichess_read",
"arguments": {
"operation": "list_user_teams",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"teams": [
{
"team_id": "riverside-chess",
"name": "Riverside Chess Club",
"members": 148,
"leaders": [
"club_captain",
"treasurer_anna"
]
},
{
"team_id": "weekend-blitz",
"name": "Weekend Blitz",
"members": 2310,
"leaders": [
"blitz_host"
]
}
]
},
"isError": false
}