Skip to main content
Glama
sakce

Monday.com MCP Server

by sakce

monday-delete-item

Remove a specific item from a Monday.com board by providing its unique item ID. This tool facilitates efficient item management within the Monday.com MCP Server.

Instructions

Delete an item from a Monday.com board

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemIdYesMonday.com Item ID to delete.

Implementation Reference

  • Core handler function that performs the item deletion using the MondayClient API.
    async def handle_monday_delete_item(
        monday_client: MondayClient, item_id: str
    ) -> list[types.TextContent]:
        """
        Delete an item from a Monday.com board.
    
        Args:
            monday_client (MondayClient): The Monday.com client.
            item_id (str): The ID of the item to delete.
        """
        monday_client.items.delete_item_by_id(item_id=item_id)
        return [types.TextContent(type="text", text=f"Deleted item {item_id}.")]
  • Registers the tool 'monday_delete_item' (corresponding to 'monday-delete-item') with FastMCP, wrapping the core handler and defining input schema via args and docstring.
    @mcp.tool()
    async def monday_delete_item(itemId: str) -> str:
        """Delete an item from a Monday.com board.
    
        Args:
            itemId: Monday.com Item ID to delete.
        """
        try:
            client = get_monday_client()
            result = await handle_monday_delete_item(client, itemId)
            return result[0].text
        except Exception as e:
            return f"Error deleting item: {e}"

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/sakce/mcp-server-monday'

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