Skip to main content
Glama

update-board-member

Modify a board member's role or status on a Miro board to manage team permissions and access levels.

Instructions

Update a specific member's role or status on a Miro board

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boardIdYesID of the board
memberIdYesID of the board member to update
roleNoNew role for the board member
statusNoNew status for the board member

Implementation Reference

  • Handler function that validates inputs, constructs changes object, calls MiroClient to update board member, and returns the result or error.
    fn: async ({ boardId, memberId, role, status }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } if (!memberId) { return ServerResponse.error("Member ID is required"); } if (!role && !status) { return ServerResponse.error("At least one of role or status must be provided"); } const memberChanges: any = {}; if (role) memberChanges.role = role; if (status) memberChanges.status = status; const result = await MiroClient.getApi().updateBoardMember(boardId, memberId, memberChanges); return ServerResponse.text(JSON.stringify(result, null, 2)); } catch (error) { process.stderr.write(`Error updating board member: ${error}\n`); return ServerResponse.error(error); } }
  • Zod schema defining input parameters for the update-board-member tool: boardId (required string), memberId (required string), role (optional enum), status (optional enum).
    args: { boardId: z.string().describe("ID of the board"), memberId: z.string().describe("ID of the board member to update"), role: z.enum(['member', 'admin', 'owner']).optional().nullish().describe("New role for the board member"), status: z.enum(['active', 'pending', 'blocked']).optional().nullish().describe("New status for the board member") },
  • src/index.ts:177-177 (registration)
    Registers the updateBoardMemberTool with the ToolBootstrapper in the main index file.
    .register(updateBoardMemberTool)
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