Skip to main content
Glama
topotal

Waroom MCP

by topotal

waroom_create_postmortem

Create postmortem documents to analyze incidents, document findings, and implement preventive measures within the Waroom MCP environment.

Instructions

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

Input Schema

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

Implementation Reference

  • Handler function that executes the tool logic: calls waroomClient.createPostmortem with parameters 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 input schema defining 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)'),
    },
  • MCP server.tool registration for the waroom_create_postmortem tool, including description, schema, and inline 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}`
            }]
          };
        }
      }
    );

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