Skip to main content
Glama

get-specific-item

Retrieve information about a specific item on a Miro board using board and item identifiers.

Instructions

Retrieve information about a specific item on a Miro board

Input Schema

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

Implementation Reference

  • The asynchronous handler function that implements the core logic of the 'get-specific-item' tool. It performs input validation, fetches the specific item from the Miro API using MiroClient, and returns the item data as formatted JSON or an error response.
    fn: async ({ boardId, itemId }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } if (!itemId) { return ServerResponse.error("Item ID is required"); } const itemData = await MiroClient.getApi().getSpecificItem(boardId, itemId); return ServerResponse.text(JSON.stringify(itemData, null, 2)); } catch (error) { return ServerResponse.error(error); } }
  • The ToolSchema definition including the name, description, and input arguments schema using Zod for validating boardId and itemId parameters.
    const getSpecificItemTool: ToolSchema = { name: "get-specific-item", description: "Retrieve information about 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 that you want to retrieve") },
  • src/index.ts:118-118 (registration)
    The registration of the getSpecificItemTool with the ToolBootstrapper instance in the main index file.
    .register(getSpecificItemTool)
Install Server

Other 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