Skip to main content
Glama
m0xai

Trello MCP Server with Python

by m0xai

update_checklist

Modify checklist name or position in Trello to organize tasks effectively. Use this tool to adjust existing checklists for better project management.

Instructions

Update an existing checklist. Args: checklist_id (str): The ID of the checklist to update name (Optional[str]): New name for the checklist pos (Optional[str]): New position for the checklist Returns: Dict: The updated checklist data

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
checklist_idYes
nameNo
posNo

Implementation Reference

  • MCP tool handler for 'update_checklist'. This is the function executed when the tool is called, delegating to ChecklistService.
    async def update_checklist( checklist_id: str, name: str | None = None, pos: str | None = None ) -> Dict: """ Update an existing checklist. Args: checklist_id (str): The ID of the checklist to update name (Optional[str]): New name for the checklist pos (Optional[str]): New position for the checklist Returns: Dict: The updated checklist data """ return await service.update_checklist(checklist_id, name, pos)
  • Registration of the 'update_checklist' tool using mcp.add_tool in the tools registry.
    mcp.add_tool(checklist.update_checklist)
  • Core helper implementation in ChecklistService that performs the actual Trello API update via PUT request.
    async def update_checklist( self, checklist_id: str, name: str | None = None, pos: str | None = None ) -> Dict: """ Update an existing checklist. Args: checklist_id (str): The ID of the checklist to update name (Optional[str]): New name for the checklist pos (Optional[str]): New position for the checklist Returns: Dict: The updated checklist data """ data = {} if name: data["name"] = name if pos: data["pos"] = pos return await self.client.PUT(f"/checklists/{checklist_id}", data=data)

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

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