Skip to main content
Glama

get-legal-hold

Retrieve detailed legal hold information for a specific case and organization using orgId, caseId, and legalHoldId. Designed for Miro MCP server Enterprise use.

Instructions

Retrieves information about a specific legal hold (Enterprise only)

Input Schema

NameRequiredDescriptionDefault
caseIdYesThe ID of the case for which you want to retrieve the legal hold information
legalHoldIdYesThe ID of the legal hold you want to retrieve
orgIdYesThe ID of the organization for which you want to retrieve the legal hold information

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "caseId": { "description": "The ID of the case for which you want to retrieve the legal hold information", "type": "string" }, "legalHoldId": { "description": "The ID of the legal hold you want to retrieve", "type": "string" }, "orgId": { "description": "The ID of the organization for which you want to retrieve the legal hold information", "type": "string" } }, "required": [ "orgId", "caseId", "legalHoldId" ], "type": "object" }

Implementation Reference

  • The handler function that implements the core logic of the 'get-legal-hold' tool by fetching legal hold information from Miro API.
    fn: async ({ orgId, caseId, legalHoldId }) => { try { const response = await MiroClient.getApi().getLegalHold(orgId, caseId, legalHoldId); return ServerResponse.text(JSON.stringify(response.body, null, 2)); } catch (error) { process.stderr.write(`Error retrieving legal hold: ${error}\n`); return ServerResponse.error(error); } }
  • Zod schema defining the input arguments for the tool: orgId, caseId, legalHoldId.
    args: { orgId: z.string().describe("The ID of the organization for which you want to retrieve the legal hold information"), caseId: z.string().describe("The ID of the case for which you want to retrieve the legal hold information"), legalHoldId: z.string().describe("The ID of the legal hold you want to retrieve") },
  • src/index.ts:205-205 (registration)
    Registers the get-legal-hold tool on the ToolBootstrapper instance.
    .register(getLegalHoldTool)

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