Skip to main content
Glama

get-items-on-board

Retrieve all items from a specific Miro board using its unique identifier, with options for pagination and limiting results.

Instructions

Retrieve all items on a specific Miro board

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boardIdYesUnique identifier (ID) of the board whose items you want to retrieve
limitNoMaximum number of items to return (default: 50)
offsetNoOffset for pagination (default: 0)

Implementation Reference

  • The main handler function for the 'get-items-on-board' tool. It fetches items from a Miro board using the MiroClient API, handles pagination with limit (offset not used), and returns JSON data or error.
    fn: async ({ boardId, limit = 50, offset = 0 }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } const itemsData = await MiroClient.getApi().getItems(boardId, { limit: limit.toString(), }); return ServerResponse.text(JSON.stringify(itemsData, null, 2)); } catch (error) { return ServerResponse.error(error); } }
  • Zod schema defining the input parameters for the tool: boardId (required string), limit and offset (optional numbers).
    args: { boardId: z.string().describe("Unique identifier (ID) of the board whose items you want to retrieve"), limit: z.number().optional().nullish().describe("Maximum number of items to return (default: 50)"), offset: z.number().optional().nullish().describe("Offset for pagination (default: 0)") },
  • src/index.ts:117-117 (registration)
    Registers the get-items-on-board tool with the ToolBootstrapper in the main server index file.
    .register(getItemsOnBoardTool)
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