Skip to main content
Glama

get-app-card-item

Retrieve detailed information about a specific app card item on a Miro board by providing the board ID and item ID.

Instructions

Retrieve information about a specific app card item on a Miro board

Input Schema

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

Implementation Reference

  • The handler function that executes the tool logic: validates boardId and itemId, fetches the app card item data from Miro API, and returns it 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().getAppCardItem(boardId, itemId); return ServerResponse.text(JSON.stringify(itemData, null, 2)); } catch (error) { return ServerResponse.error(error); } }
  • The ToolSchema definition including the tool name, description, and input schema using Zod for boardId and itemId parameters.
    const getAppCardItemTool: ToolSchema = { name: "get-app-card-item", description: "Retrieve information about a specific app card item on a Miro board", args: { boardId: z.string().describe("Unique identifier (ID) of the board that contains the app card"), itemId: z.string().describe("Unique identifier (ID) of the app card that you want to retrieve") },
  • src/index.ts:122-122 (registration)
    The registration of the getAppCardItemTool with the ToolBootstrapper in the main index file.
    .register(getAppCardItemTool)
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