Skip to main content
Glama

delete-tag

Remove a specific tag from a Miro board by providing the board ID and tag ID, ensuring cleaner and more organized board management.

Instructions

Delete a specific tag from a Miro board

Input Schema

NameRequiredDescriptionDefault
boardIdYesUnique identifier (ID) of the board that contains the tag
tagIdYesUnique identifier (ID) of the tag that you want to delete

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "boardId": { "description": "Unique identifier (ID) of the board that contains the tag", "type": "string" }, "tagId": { "description": "Unique identifier (ID) of the tag that you want to delete", "type": "string" } }, "required": [ "boardId", "tagId" ], "type": "object" }

Implementation Reference

  • The main handler function for the 'delete-tag' tool. It validates inputs, calls MiroClient to delete the tag, and returns success or error response.
    fn: async ({ boardId, tagId }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } if (!tagId) { return ServerResponse.error("Tag ID is required"); } await MiroClient.getApi().deleteTag(boardId, tagId); return ServerResponse.text(JSON.stringify({ success: true, message: "Tag deleted successfully" }, null, 2)); } catch (error) { return ServerResponse.error(error); } }
  • Zod schema defining the input arguments for the 'delete-tag' tool: boardId and tagId.
    args: { boardId: z.string().describe("Unique identifier (ID) of the board that contains the tag"), tagId: z.string().describe("Unique identifier (ID) of the tag that you want to delete") },
  • src/index.ts:169-169 (registration)
    Registration of the 'delete-tag' tool using ToolBootstrapper.register() in the main index file.
    .register(deleteTagTool)
  • src/index.ts:69-69 (registration)
    Import of the deleteTagTool module in the main index file for registration.
    import deleteTagTool from './tools/deleteTag.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