Skip to main content
Glama
sakce
by sakce

monday-get-items-by-id

Retrieve specific items from Monday.com using their unique IDs. This tool simplifies data access by allowing users to fetch precise information directly from their boards.

Instructions

Fetch specific Monday.com item by its ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemIdYesID of the Monday.com item to fetch.

Implementation Reference

  • The primary handler function for the 'monday_get_items_by_id' tool (likely 'monday-get-items-by-id' in kebab case), decorated with @mcp.tool(). It wraps the internal helper by calling get_monday_client() and handle_monday_get_item_by_id.
    @mcp.tool() async def monday_get_items_by_id(itemId: str) -> str: """Fetch specific Monday.com item by its ID. Args: itemId: ID of the Monday.com item to fetch. """ try: client = get_monday_client() result = await handle_monday_get_item_by_id(itemId, client) return result[0].text except Exception as e: return f"Error fetching item: {e}"
  • Internal helper function that implements the core logic: fetches item(s) by ID using monday_client.items.fetch_items_by_id and formats the response as TextContent.
    async def handle_monday_get_item_by_id( itemId: str, monday_client: MondayClient, ) -> list[types.TextContent]: """Fetch specific Monday.com items by their IDs""" try: response = monday_client.items.fetch_items_by_id(ids=itemId) return [ types.TextContent( type="text", text=f"Monday.com items: {json.dumps(response)}", ) ] except Exception as e: return [ types.TextContent( type="text", text=f"Error fetching Monday.com items: {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