Skip to main content
Glama

get-text-item

Retrieve specific text item details from a Miro board by providing the board and item IDs. Use this tool to access and manage text content efficiently within the Miro MCP server.

Instructions

Retrieve information about a specific text item on a Miro board

Input 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

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 text item", "type": "string" }, "itemId": { "description": "Unique identifier (ID) of the text item that you want to retrieve", "type": "string" } }, "required": [ "boardId", "itemId" ], "type": "object" }

Implementation Reference

  • The handler function that executes the tool: validates inputs, calls Miro API to get text item, returns 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); } }
  • Input schema using Zod for boardId and itemId parameters.
    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)
    Registration of the getTextItemTool in the ToolBootstrapper chain.
    .register(getTextItemTool)
  • Tool name and description definition.
    name: "get-text-item", description: "Retrieve information about a specific text item on a Miro board",

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