Skip to main content
Glama
topotal

Waroom MCP

by topotal

waroom_get_incident_details

Retrieve specific incident details by providing the incident UUID, enabling precise information extraction and analysis for incident management on Waroom MCP.

Instructions

特定のインシデントの詳細情報を取得します。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
incident_uuidYes取得するインシデントのUUID

Implementation Reference

  • MCP tool handler that invokes WaroomClient.getIncidentDetails with the provided incident_uuid and returns the JSON-formatted response or error message.
    async (params) => { try { const response = await waroomClient.getIncidentDetails(params.incident_uuid); return { content: [{ type: 'text', text: JSON.stringify(response, null, 2) }] }; } catch (error) { return { content: [{ type: 'text', text: `インシデント詳細の取得に失敗しました: ${error}` }] }; } }
  • Zod schema defining the input parameter 'incident_uuid' as a required UUID string.
    { incident_uuid: z.string().uuid().describe('取得するインシデントのUUID'), },
  • Full server.tool call registering the 'waroom_get_incident_details' tool with MCP server, including description, schema, and inline handler.
    server.tool( 'waroom_get_incident_details', '特定のインシデントの詳細情報を取得します。', { incident_uuid: z.string().uuid().describe('取得するインシデントのUUID'), }, async (params) => { try { const response = await waroomClient.getIncidentDetails(params.incident_uuid); return { content: [{ type: 'text', text: JSON.stringify(response, null, 2) }] }; } catch (error) { return { content: [{ type: 'text', text: `インシデント詳細の取得に失敗しました: ${error}` }] }; } } );
  • Supporting method in WaroomClient that makes the API GET request to fetch detailed incident information by UUID.
    async getIncidentDetails(incidentUuid: string) { try { const response = await this.axiosInstance.get(`${this.baseUrl}/incidents/${incidentUuid}`); return response.data; } catch (error) { throw new Error(`Failed to get incident details: ${error}`); } }
  • src/main.ts:26-26 (registration)
    Invocation of createIncidentsTools in main entrypoint, which registers all incident-related tools including waroom_get_incident_details.
    createIncidentsTools(server, waroomClient);

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/topotal/waroom-mcp'

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