Skip to main content
Glama
topotal

Waroom MCP

by topotal

waroom_create_postmortem

Generate detailed postmortems by analyzing incidents, documenting findings, and tracking status updates on Waroom MCP. Input titles, analysis, and incident UUIDs for structured reporting.

Instructions

ポストモーテムを作成します。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
blobYesポストモーテムの内容(詳細な分析や対策を記述)
incident_uuidsYes関連するインシデントのUUID配列(最低1つ必要)
statusNoポストモーテムのステータス(draft, published, archived)
titleYesポストモーテムのタイトル(1-255文字)

Implementation Reference

  • The MCP tool handler for 'waroom_create_postmortem'. It extracts parameters, calls WaroomClient.createPostmortem, and returns JSON response or error message.
    async (params) => { try { const response = await waroomClient.createPostmortem( params.title, params.blob, params.incident_uuids, params.status ); return { content: [{ type: 'text', text: JSON.stringify(response, null, 2) }] }; } catch (error) { return { content: [{ type: 'text', text: `ポストモーテムの作成に失敗しました: ${error}` }] }; } }
  • Zod schema defining input parameters for the waroom_create_postmortem tool.
    { title: z.string().min(1).max(255).describe('ポストモーテムのタイトル(1-255文字)'), blob: z.string().min(1).describe('ポストモーテムの内容(詳細な分析や対策を記述)'), incident_uuids: z.array(z.string().uuid()).min(1).describe('関連するインシデントのUUID配列(最低1つ必要)'), status: z.enum(['draft', 'published', 'archived']).optional().describe('ポストモーテムのステータス(draft, published, archived)'), },
  • Registration of the waroom_create_postmortem tool with MCP server.tool, including name, description, schema, and handler.
    server.tool( 'waroom_create_postmortem', 'ポストモーテムを作成します。', { title: z.string().min(1).max(255).describe('ポストモーテムのタイトル(1-255文字)'), blob: z.string().min(1).describe('ポストモーテムの内容(詳細な分析や対策を記述)'), incident_uuids: z.array(z.string().uuid()).min(1).describe('関連するインシデントのUUID配列(最低1つ必要)'), status: z.enum(['draft', 'published', 'archived']).optional().describe('ポストモーテムのステータス(draft, published, archived)'), }, async (params) => { try { const response = await waroomClient.createPostmortem( params.title, params.blob, params.incident_uuids, params.status ); return { content: [{ type: 'text', text: JSON.stringify(response, null, 2) }] }; } catch (error) { return { content: [{ type: 'text', text: `ポストモーテムの作成に失敗しました: ${error}` }] }; } } );
  • WaroomClient helper method that performs the actual HTTP POST request to create a postmortem via the Waroom API.
    async createPostmortem(title: string, blob: string, incidentUuids: string[], status?: string) { try { const response = await this.axiosInstance.post(`${this.baseUrl}/postmortems`, { title, blob, incident_uuids: incidentUuids, status }); return response.data; } catch (error) { throw new Error(`Failed to create postmortem: ${error}`); } }
  • src/main.ts:27-27 (registration)
    Top-level call to register all postmortems tools, including waroom_create_postmortem, to the MCP server.
    createPostmortemsTools(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