Skip to main content
Glama

add_task_comment

Add comments to tasks in Goodday project management to provide updates, instructions, or feedback for team collaboration.

Instructions

Add a comment to a task.

Args: task_id: The ID of the task user_id: User on behalf of whom API will execute update message: Comment text

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYes
user_idYes
messageYes

Implementation Reference

  • This is the core handler function implementing the 'add_task_comment' tool. It constructs a payload with user ID and message, then calls the Goodday API via make_goodday_request to POST a comment to the specified task, handling errors and success responses.
    async def add_task_comment(task_id: str, user_id: str, message: str) -> str: """Add a comment to a task. Args: task_id: The ID of the task user_id: User on behalf of whom API will execute update message: Comment text """ data = { "userId": user_id, "message": message } result = await make_goodday_request(f"task/{task_id}/comment", "POST", data) if not result: return "Unable to add comment: No response received" if isinstance(result, dict) and "error" in result: return f"Unable to add comment: {result.get('error', 'Unknown error')}" return "Comment added successfully"

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