list_members
Lists all team members participating in standups and polls, enabling users to identify their colleagues.
Instructions
Lists all team members participating in the standups and polls of the user. Use this tool to get information about the colleagues of the user
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- geekbot_mcp/tools/list_members.py:15-39 (handler)The handler function `handle_list_members` that executes the tool logic: fetches standups, extracts unique participants, and returns JSON with member count and details.
async def handle_list_members(gb: GeekbotClient) -> list[types.TextContent]: """List all members of participants in the standups and pollsof the user Returns: str: Properly formatted JSON string of members list """ standups = await gb.get_standups() participants = [] for s in standups: standup_obj = standup_from_json_response(s) participants.extend(standup_obj.participants) unique_participants = list(set(participants)) unique_participants_json = [p.model_dump() for p in unique_participants] return [ types.TextContent( type="text", text=json.dumps( { "number_of_members": len(unique_participants), "members": unique_participants_json, } ), ) ] - The tool definition (types.Tool) with name='list_members', description, and inputSchema (empty object, no required params).
list_members = types.Tool( name="list_members", description="Lists all team members participating in the standups and polls of the user. Use this tool to get information about the colleagues of the user", inputSchema={"type": "object", "properties": {}, "required": []}, ) - geekbot_mcp/tools/__init__.py:15-17 (registration)Tool is listed in `list_tools()` function which returns all available tools including list_members.
def list_tools() -> list[types.Tool]: return [ list_members, - geekbot_mcp/tools/__init__.py:31-33 (registration)Tool dispatch in `run_tool()`: case 'list_members' calls handle_list_members(gb_client).
match name: case "list_members": return await handle_list_members(gb_client) - geekbot_mcp/server.py:39-43 (registration)Server-level registration via @server.call_tool() which delegates to run_tool().
@server.call_tool() async def handle_call_tool( name: str, arguments: dict | None ) -> list[types.TextContent | types.ImageContent | types.EmbeddedResource]: return await run_tool(gb_client, name, arguments)