Skip to main content
Glama

get-tag

Retrieve detailed information about a specific tag on a Miro board by providing the board ID and tag ID.

Instructions

Retrieve information about a specific tag on 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 retrieve

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 retrieve", "type": "string" } }, "required": [ "boardId", "tagId" ], "type": "object" }

Implementation Reference

  • The asynchronous handler function for the 'get-tag' tool. It validates inputs, fetches the tag data from Miro API using the provided boardId and tagId, stringifies the result as JSON, or returns an 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"); } 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 arguments for the 'get-tag' tool: boardId and tagId as strings with descriptions.
    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:66-66 (registration)
    Import statement for the getTagTool module.
    import getTagTool from './tools/getTag.js';
  • src/index.ts:166-166 (registration)
    Registers the getTagTool with the ToolBootstrapper instance.
    .register(getTagTool)

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