Skip to main content
Glama

share-board

Share a Miro board with specific collaborators by setting access levels like view, comment, or edit permissions.

Instructions

Share a Miro board with specific access level and optional team assignment

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boardIdYesID of the board to share
accessLevelYesAccess level for shared board
teamIdNoTeam ID to assign the board to

Implementation Reference

  • The handler function that executes the tool logic: validates input, constructs board changes for sharing policy and optional team, calls Miro API to update board, handles errors.
    fn: async ({ boardId, accessLevel, teamId }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } const boardChanges = { sharingPolicy: { access: accessLevel }, teamId }; const result = await MiroClient.getApi().updateBoard(boardId, boardChanges); return ServerResponse.text(JSON.stringify(result, null, 2)); } catch (error) { process.stderr.write(`Error sharing Miro board: ${error}\n`); return ServerResponse.error(error); } }
  • Tool schema definition including name, description, and Zod input schema for parameters.
    name: "share-board", description: "Share a Miro board with specific access level and optional team assignment", args: { boardId: z.string().describe("ID of the board to share"), accessLevel: z.enum(['private', 'view', 'comment', 'edit']).describe("Access level for shared board"), teamId: z.string().optional().nullish().describe("Team ID to assign the board to"), },
  • src/index.ts:176-176 (registration)
    Registration of the shareBoardTool with the ToolBootstrapper instance.
    .register(shareBoardTool)
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