Skip to main content
Glama

add-comment

Add comments to Trello cards to provide updates, share information, or track progress within your boards.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cardIdYesID of the card to comment on
textYesComment text

Implementation Reference

  • Handler function that executes the 'add_comment' tool logic by calling the card service.
    add_comment: async (args: any) => { const cardService = ServiceFactory.getInstance().getCardService(); return cardService.addComment(args.cardId, args.text); },
  • Schema definition for the 'add_comment' tool, including input parameters validation.
    { name: "add_comment", description: "Add a comment to a card. Use this tool to add notes or feedback to a card.", inputSchema: { type: "object", properties: { cardId: { type: "string", description: "ID of the card" }, text: { type: "string", description: "Text of the comment" } }, required: ["cardId", "text"] } },
  • Supporting service method that performs the actual API call to add a comment to a Trello card.
    async addComment(cardId: string, text: string): Promise<any> { return this.trelloService.post<any>(`/cards/${cardId}/actions/comments`, { text }); }

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/v4lheru/trello-mcp-server'

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