Skip to main content
Glama

get_project_users

Retrieve users assigned to a specific project in Goodday project management. Use this tool to identify team members working on a particular project by providing the project ID.

Instructions

Get users associated with a specific project.

Args: project_id: The ID of the project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes

Implementation Reference

  • The main handler function for the 'get_project_users' tool. It is decorated with @mcp.tool() for registration and implements the core logic: calls the Goodday API endpoint 'project/{project_id}/users', handles errors, formats the user list using format_user helper, and returns formatted output.
    @mcp.tool() async def get_project_users(project_id: str) -> str: """Get users associated with a specific project. Args: project_id: The ID of the project """ data = await make_goodday_request(f"project/{project_id}/users") if not data: return "No users found for this project." if isinstance(data, dict) and "error" in data: return f"Unable to fetch project users: {data.get('error', 'Unknown error')}" if not isinstance(data, list): return f"Unexpected response format: {str(data)}" users = [format_user(user) for user in data] return "\n---\n".join(users)

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/cdmx-in/goodday-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server