Skip to main content
Glama
m0xai

Trello MCP Server with Python

by m0xai

delete_checkitem

Remove specific items from Trello checklists to maintain organized task management and update project progress.

Instructions

Delete a checkitem from a checklist. Args: checklist_id (str): The ID of the checklist containing the item checkitem_id (str): The ID of the checkitem to delete Returns: Dict: The response from the delete operation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
checklist_idYes
checkitem_idYes

Implementation Reference

  • The MCP tool handler function for 'delete_checkitem', which delegates the deletion to the ChecklistService.
    async def delete_checkitem(checklist_id: str, checkitem_id: str) -> Dict: """ Delete a checkitem from a checklist. Args: checklist_id (str): The ID of the checklist containing the item checkitem_id (str): The ID of the checkitem to delete Returns: Dict: The response from the delete operation """ return await service.delete_checkitem(checklist_id, checkitem_id)
  • Registration of the 'delete_checkitem' tool with the MCP server in the register_tools function.
    mcp.add_tool(checklist.delete_checkitem)
  • The core helper method in ChecklistService that executes the Trello API DELETE request to remove the checkitem.
    async def delete_checkitem(self, checklist_id: str, checkitem_id: str) -> Dict: """ Delete a checkitem from a checklist. Args: checklist_id (str): The ID of the checklist containing the item checkitem_id (str): The ID of the checkitem to delete Returns: Dict: The response from the delete operation """ return await self.client.DELETE( f"/checklists/{checklist_id}/checkItems/{checkitem_id}" )

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