Skip to main content
Glama

list-boards

Retrieve all available Miro boards with pagination controls to manage large collections efficiently.

Instructions

List all available Miro boards

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of boards to return (default: 50)
offsetNoOffset for pagination (default: 0)

Implementation Reference

  • The asynchronous handler function that executes the 'list-boards' tool logic. It fetches all available Miro boards using MiroClient.getApi().getBoards(), handles pagination parameters (limit and offset), and returns the boards data as JSON or an error response.
    fn: async ({ limit = 50, offset = 0 }) => { try { const boardsData = await MiroClient.getApi().getBoards(); return ServerResponse.text(JSON.stringify(boardsData, null, 2)) } catch (error) { process.stderr.write(`Error fetching Miro boards: ${error}\n`); return ServerResponse.error(error) } }
  • The ToolSchema definition for 'list-boards', including the tool name, description, and Zod-based input schema for optional limit and offset parameters.
    const listBoardsTool: ToolSchema = { name: "list-boards", description: "List all available Miro boards", args: { limit: z.number().optional().nullish().describe("Maximum number of boards to return (default: 50)"), offset: z.number().optional().nullish().describe("Offset for pagination (default: 0)") },
  • src/index.ts:111-111 (registration)
    The registration of the 'list-boards' tool into the ToolBootstrapper instance, which adds it to the MCP server tools list.
    .register(listBoardsTool)
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