Skip to main content
Glama

update-board-classification

Update board classification in Miro by applying a specific label to an existing board. Requires orgId, teamId, boardId, and labelId for precise classification management.

Instructions

Updates board classification for an existing board (Enterprise only)

Input Schema

NameRequiredDescriptionDefault
boardIdYesUnique identifier of the board that you want to update
labelIdYesUnique identifier of the classification label to apply
orgIdYesid of the organization
teamIdYesid of the team

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "boardId": { "description": "Unique identifier of the board that you want to update", "type": "string" }, "labelId": { "description": "Unique identifier of the classification label to apply", "type": "string" }, "orgId": { "description": "id of the organization", "type": "string" }, "teamId": { "description": "id of the team", "type": "string" } }, "required": [ "orgId", "teamId", "boardId", "labelId" ], "type": "object" }

Implementation Reference

  • The asynchronous function that implements the core logic of the 'update-board-classification' tool. It calls the Miro API to set the data classification label on a specified board, handling errors appropriately.
    fn: async ({ orgId, teamId, boardId, labelId }) => { try { const dataClassificationLabelId = { labelId: labelId }; const response = await MiroClient.getApi().enterpriseDataclassificationBoardSet( orgId, teamId, boardId, dataClassificationLabelId ); return ServerResponse.text(JSON.stringify(response.body, null, 2)); } catch (error) { process.stderr.write(`Error updating board classification: ${error}\n`); return ServerResponse.error(error); } }
  • Zod-based input schema defining the required parameters: orgId, teamId, boardId, and labelId for updating board classification.
    args: { orgId: z.string().describe("id of the organization"), teamId: z.string().describe("id of the team"), boardId: z.string().describe("Unique identifier of the board that you want to update"), labelId: z.string().describe("Unique identifier of the classification label to apply") },
  • src/index.ts:191-191 (registration)
    Registers the updateBoardClassificationTool instance with the ToolBootstrapper in the main server index file.
    .register(updateBoardClassificationTool)
  • src/index.ts:90-90 (registration)
    Imports the ToolSchema for 'update-board-classification' from its dedicated tool file.
    import updateBoardClassificationTool from './tools/updateBoardClassification.js';

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