Skip to main content
Glama

get-organization-info

Retrieve enterprise organization details using the specified organization ID to access essential information for management and integration.

Instructions

Retrieves organization information (Enterprise only)

Input Schema

NameRequiredDescriptionDefault
orgIdYesid of the organization

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "orgId": { "description": "id of the organization", "type": "string" } }, "required": [ "orgId" ], "type": "object" }

Implementation Reference

  • The handler function that executes the tool logic: calls MiroClient API to get organization info by orgId, stringifies and returns the response, or handles errors.
    fn: async ({ orgId }) => { try { const response = await MiroClient.getApi().enterpriseGetOrganization(orgId); return ServerResponse.text(JSON.stringify(response.body, null, 2)); } catch (error) { process.stderr.write(`Error retrieving organization info: ${error}\n`); return ServerResponse.error(error); } }
  • Input schema definition using Zod: requires 'orgId' as string.
    args: { orgId: z.string().describe("id of the organization") },
  • src/index.ts:196-196 (registration)
    Registers the tool with the ToolBootstrapper instance.
    .register(getOrganizationInfoTool)

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