Skip to main content
Glama

get-embed-item

Retrieve details of a specific embed item on a Miro board using board and item IDs to access embedded content information.

Instructions

Retrieve information about a specific embed item on a Miro board

Input Schema

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

Implementation Reference

  • The handler function implementing the 'get-embed-item' tool logic. Validates inputs, calls Miro API to retrieve the embed item, formats the response, and handles errors.
    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().getEmbedItem(boardId, itemId); return ServerResponse.text(JSON.stringify(result, null, 2)); } catch (error) { return ServerResponse.error(error); } }
  • Schema definition for the 'get-embed-item' tool, including name, description, and Zod schemas for input parameters boardId and itemId.
    const getEmbedItemTool: ToolSchema = { name: "get-embed-item", description: "Retrieve information about a specific embed item on a Miro board", args: { boardId: z.string().describe("Unique identifier (ID) of the board that contains the embed"), itemId: z.string().describe("Unique identifier (ID) of the embed that you want to retrieve") },
  • src/index.ts:62-62 (registration)
    Import statement for the getEmbedItemTool module.
    import getEmbedItemTool from './tools/getEmbedItem.js';
  • src/index.ts:162-162 (registration)
    Registration of the getEmbedItemTool in the ToolBootstrapper instance.
    .register(getEmbedItemTool)
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