Skip to main content
Glama

get-shape-item

Retrieve specific shape details from a Miro board by providing the board ID and shape ID. Integrates with the Miro MCP server for efficient data access and management.

Instructions

Retrieve information about a specific shape item on a Miro board

Input Schema

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

Implementation Reference

  • Handler function that retrieves a specific shape item from a Miro board using the MiroClient API, with input validation and error handling.
    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().getShapeItem(boardId, itemId); return ServerResponse.text(JSON.stringify(result, null, 2)); } catch (error) { return ServerResponse.error(error); } }
  • Zod schema defining the input parameters: boardId and itemId.
    args: { boardId: z.string().describe("Unique identifier (ID) of the board that contains the shape"), itemId: z.string().describe("Unique identifier (ID) of the shape that you want to retrieve") },
  • src/index.ts:158-158 (registration)
    Registration of the getShapeItemTool in the ToolBootstrapper chain.
    .register(getShapeItemTool)

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