Skip to main content
Glama
sakce

Monday.com MCP Server

by sakce

monday-update-item

Update column values of a specific item or sub-item on a Monday.com board by providing the board ID, item ID, and column values to modify.

Instructions

Update a Monday.com item's or sub-item's column values.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boardIdYesMonday.com Board ID that the Item or Sub-item is on.
columnValuesYesDictionary of column values to update the Monday.com Item or Sub-item with. ({column_id: value})
itemIdYesMonday.com Item or Sub-item ID to update the columns of.

Implementation Reference

  • Core handler function executing the tool logic by calling Monday.com API to update item column values.
    async def handle_monday_update_item(
        boardId: str,
        itemId: str,
        columnValues: dict[str],
        monday_client: MondayClient,
    ):
        response = monday_client.items.change_multiple_column_values(
            board_id=boardId, item_id=itemId, column_values=columnValues
        )
        return [
            types.TextContent(
                type="text", text=f"Updated Monday.com item. {json.dumps(response)}"
            )
        ]
  • Registers the 'monday_update_item' tool with FastMCP (@mcp.tool()), defines input schema via parameters, and delegates to the handler.
    @mcp.tool()
    async def monday_update_item(
        boardId: str, itemId: str, columnValues: Dict[str, Any]
    ) -> str:
        """Update a Monday.com item's or sub-item's column values.
    
        Args:
            boardId: Monday.com Board ID that the Item or Sub-item is on.
            itemId: Monday.com Item or Sub-item ID to update the columns of.
            columnValues: Dictionary of column values to update the Monday.com Item or Sub-item with. ({column_id: value}).
        """
        try:
            client = get_monday_client()
            result = await handle_monday_update_item(boardId, itemId, columnValues, client)
            return result[0].text
        except Exception as e:
            return f"Error updating item: {e}"
  • Input schema defined by function parameters and docstring describing boardId (str), itemId (str), columnValues (Dict[str, Any]). Output is str.
    async def monday_update_item(
        boardId: str, itemId: str, columnValues: Dict[str, Any]
    ) -> str:
        """Update a Monday.com item's or sub-item's column values.
    
        Args:
            boardId: Monday.com Board ID that the Item or Sub-item is on.
            itemId: Monday.com Item or Sub-item ID to update the columns of.
            columnValues: Dictionary of column values to update the Monday.com Item or Sub-item with. ({column_id: value}).
        """
        try:
            client = get_monday_client()
            result = await handle_monday_update_item(boardId, itemId, columnValues, client)
            return result[0].text
        except Exception as e:
            return f"Error updating 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