Skip to main content
Glama

get-organization-info

Retrieve organization details from Miro for Enterprise accounts by providing the organization ID.

Instructions

Retrieves organization information (Enterprise only)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orgIdYesid of the organization

Implementation Reference

  • The handler function that executes the tool logic: calls the Miro API to get organization info by orgId and returns JSON response or error.
    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); } }
  • Tool schema defining name, description, and input parameters with Zod validation for orgId.
    const getOrganizationInfoTool: ToolSchema = { name: "get-organization-info", description: "Retrieves organization information (Enterprise only)", args: { orgId: z.string().describe("id of the organization") },
  • src/index.ts:196-196 (registration)
    Registration of the tool in the ToolBootstrapper chain.
    .register(getOrganizationInfoTool)
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