Skip to main content
Glama

get-all-tags

Retrieve all tags from a Miro board by specifying the board ID. Use optional parameters like limit and offset for paginated results.

Instructions

Retrieve all tags on a Miro board

Input Schema

NameRequiredDescriptionDefault
boardIdYesUnique identifier (ID) of the board for which you want to retrieve all tags
limitNoMaximum number of tags to return (default: 50)
offsetNoOffset for pagination (default: 0)

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "boardId": { "description": "Unique identifier (ID) of the board for which you want to retrieve all tags", "type": "string" }, "limit": { "description": "Maximum number of tags to return (default: 50)", "type": "number" }, "offset": { "description": "Offset for pagination (default: 0)", "type": "number" } }, "required": [ "boardId" ], "type": "object" }

Implementation Reference

  • The handler function that implements the core logic of the 'get-all-tags' tool. It validates the boardId, constructs a query object with optional limit and offset for pagination, fetches tags using MiroClient.getApi().getTagsFromBoard, and returns the JSON-formatted result or an error response.
    fn: async ({ boardId, limit, offset }) => { try { if (!boardId) { return ServerResponse.error("Board ID is required"); } const query: Record<string, any> = {}; if (limit !== undefined) { query.limit = limit; } if (offset !== undefined) { query.offset = offset; } const result = await MiroClient.getApi().getTagsFromBoard(boardId, query); return ServerResponse.text(JSON.stringify(result, null, 2)); } catch (error) { return ServerResponse.error(error); } }
  • The input schema definition using Zod for the 'get-all-tags' tool parameters: required boardId (string), optional limit and offset (numbers).
    args: { boardId: z.string().describe("Unique identifier (ID) of the board for which you want to retrieve all tags"), limit: z.number().optional().nullish().describe("Maximum number of tags to return (default: 50)"), offset: z.number().optional().nullish().describe("Offset for pagination (default: 0)") },
  • src/index.ts:167-167 (registration)
    The registration of the getAllTagsTool schema and handler into the ToolBootstrapper instance in the main entry point.
    .register(getAllTagsTool)
  • The tool name and description definition, part of the ToolSchema.
    name: "get-all-tags", description: "Retrieve all tags on a Miro board",
  • src/index.ts:67-67 (registration)
    The import statement that brings in the getAllTagsTool from its implementation file for registration.
    import getAllTagsTool from './tools/getAllTags.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