Skip to main content
Glama

get-text-item

Retrieve specific text item details from a Miro board using board and item IDs to access content information.

Instructions

Retrieve information about a specific text item on a Miro board

Input Schema

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

Implementation Reference

  • The handler function that executes the tool logic: validates inputs, fetches the text item data from Miro API using boardId and itemId, and returns formatted JSON or error.
    fn: async ({ boardId, itemId }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } if (!itemId) { return ServerResponse.error("Item ID is required"); } const textData = await MiroClient.getApi().getTextItem(boardId, itemId); return ServerResponse.text(JSON.stringify(textData, null, 2)); } catch (error) { return ServerResponse.error(error); } }
  • Tool schema defining the name, description, and input arguments with Zod validation schemas for boardId and itemId.
    const getTextItemTool: ToolSchema = { name: "get-text-item", description: "Retrieve information about a specific text item on a Miro board", args: { boardId: z.string().describe("Unique identifier (ID) of the board that contains the text item"), itemId: z.string().describe("Unique identifier (ID) of the text item that you want to retrieve") },
  • src/index.ts:147-147 (registration)
    Registers the get-text-item tool with the ToolBootstrapper instance.
    .register(getTextItemTool)
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