Skip to main content
Glama

add_task_comment

Attach comments to tasks on Goodday using task and user IDs. This tool enables clear communication and updates within project workflows.

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
messageYes
task_idYes
user_idYes

Implementation Reference

  • The handler function for the 'add_task_comment' MCP tool. It takes task_id, user_id, and message as input, constructs a POST request to the Goodday API endpoint 'task/{task_id}/comment', and returns success or error message.
    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