Skip to main content
Glama

move-cards

Move Trello cards between lists and adjust their positions using specific card and list IDs for efficient board organization.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cardsYes

Implementation Reference

  • MCP tool handler for 'move_card_to_list' which calls the CardService to move the card to a new list.
    move_card_to_list: async (args: any) => { const cardService = ServiceFactory.getInstance().getCardService(); return cardService.moveCardToList(args.cardId, args.listId); },
  • Tool schema definition for 'move_card_to_list', specifying input parameters cardId and listId.
    name: "move_card_to_list", description: "Move a card to a different list. Use this tool to change the status of a card.", inputSchema: { type: "object", properties: { cardId: { type: "string", description: "ID of the card to move" }, listId: { type: "string", description: "ID of the destination list" } }, required: ["cardId", "listId"] } },
  • Core implementation in CardService that updates the card's list ID via the Trello API update endpoint.
    async moveCardToList(cardId: string, listId: string): Promise<TrelloCard> { return this.updateCard(cardId, { idList: listId }); }
  • Registration of cardToolHandlers (including move_card_to_list handler) into the main trelloToolHandlers object used by the MCP server.
    export const trelloToolHandlers = { ...boardToolHandlers, ...listToolHandlers, ...cardToolHandlers, ...memberToolHandlers, ...labelToolHandlers, ...checklistToolHandlers
  • Registration of cardTools (including move_card_to_list schema) into the main trelloTools array used by the MCP server.
    export const trelloTools = [ ...boardTools, ...listTools, ...cardTools, ...memberTools, ...labelTools, ...checklistTools ];

Other Tools

Related Tools

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