Skip to main content
Glama
CleverMobi

Glitchtip MCP Server

by CleverMobi

get_organization

Retrieve organization details from the Glitchtip error tracking platform to access essential information for monitoring and debugging workflows.

Instructions

Get organization details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that fetches the organization details from the Glitchtip API endpoint and returns it as JSON text content.
    async getOrganization() { const url = `${this.apiEndpoint}/api/0/organizations/${this.organizationSlug}/`; try { const response = await fetch(url, { method: 'GET', headers: { 'Authorization': `Bearer ${this.apiToken}`, 'Accept': 'application/json' } }); if (!response.ok) { const errorText = await response.text(); return { content: [ { type: "text", text: `Error fetching organization: ${response.status} ${response.statusText}\n${errorText}` } ] }; } const data = await response.json(); return { content: [ { type: "text", text: JSON.stringify(data, null, 2) } ] }; } catch (error) { return { content: [ { type: "text", text: `Error: ${error.message}` } ] }; } }
  • The tool schema definition in the list of tools, specifying name, description, and empty input schema.
    { name: "get_organization", description: "Get organization details", inputSchema: { type: "object", properties: {} } },
  • src/index.js:147-148 (registration)
    Registration in the CallToolRequestSchema switch statement that dispatches to the handler.
    case "get_organization": return await this.getOrganization();

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/CleverMobi/glitchtip-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server