Skip to main content
Glama

get-tag

Retrieve specific tag details from Miro boards to access labeling information and organize visual content effectively.

Instructions

Retrieve information about a specific tag on a Miro board

Input Schema

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

Implementation Reference

  • The handler function that executes the 'get-tag' tool logic, validating inputs and calling MiroClient.getApi().getTag to retrieve tag information.
    fn: async ({ boardId, tagId }) => {
      try {
        if (!boardId) {
          return ServerResponse.error("Board ID is required");
        }
    
        if (!tagId) {
          return ServerResponse.error("Tag ID is required");
        }
    
        const result = await MiroClient.getApi().getTag(boardId, tagId);
        return ServerResponse.text(JSON.stringify(result, null, 2));
      } catch (error) {
        return ServerResponse.error(error);
      }
    }
  • Zod schema defining the input parameters for the 'get-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 retrieve")
    },
  • src/index.ts:166-166 (registration)
    Registration of the 'get-tag' tool using ToolBootstrapper.register(getTagTool).
    .register(getTagTool)
  • src/index.ts:66-66 (registration)
    Import statement for the getTagTool module used in registration.
    import getTagTool from './tools/getTag.js';
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