Skip to main content
Glama

get-item-tags

Retrieve all tags associated with a specific item on a Miro board by providing the board ID and item ID using this tool on the Miro MCP server.

Instructions

Retrieve all tags attached to a specific item on a Miro board

Input Schema

NameRequiredDescriptionDefault
boardIdYesUnique identifier (ID) of the board that contains the item
itemIdYesUnique identifier (ID) of the item whose tags you want to retrieve

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "boardId": { "description": "Unique identifier (ID) of the board that contains the item", "type": "string" }, "itemId": { "description": "Unique identifier (ID) of the item whose tags you want to retrieve", "type": "string" } }, "required": [ "boardId", "itemId" ], "type": "object" }

Implementation Reference

  • The handler function that implements the core logic of the 'get-item-tags' tool: input validation, API call to retrieve tags from a Miro board item, and response formatting.
    fn: async ({ boardId, itemId }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } if (!itemId) { return ServerResponse.error("Item ID is required"); } const result = await MiroClient.getApi().getTagsFromItem(boardId, itemId); return ServerResponse.text(JSON.stringify(result, null, 2)); } catch (error) { return ServerResponse.error(error); } }
  • The ToolSchema definition including the tool name, description, and Zod schemas for input parameters (boardId and itemId).
    const getItemTagsTool: ToolSchema = { name: "get-item-tags", description: "Retrieve all tags attached to a specific item on a Miro board", args: { boardId: z.string().describe("Unique identifier (ID) of the board that contains the item"), itemId: z.string().describe("Unique identifier (ID) of the item whose tags you want to retrieve"), },
  • src/index.ts:172-172 (registration)
    Registration of the getItemTagsTool with the ToolBootstrapper in the main index file.
    .register(getItemTagsTool)

Other Tools

Related Tools

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/k-jarzyna/mcp-miro'

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