Skip to main content
Glama
topotal

Waroom MCP

by topotal

waroom_update_incident_status

Update incident status in Waroom MCP to track progress through detection, investigation, fixing, resolution, and closure stages.

Instructions

インシデントのステータスを更新します。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
incident_uuidYes更新するインシデントのUUID
statusYes新しいステータス(detected, investigating, fixing, resolved, close)

Implementation Reference

  • The handler function that executes the tool logic: calls waroomClient.updateIncidentStatus with the provided incident_uuid and status, formats the response as JSON, and handles errors.
      try {
        const response = await waroomClient.updateIncidentStatus(params.incident_uuid, params.status);
        return {
          content: [{
            type: 'text',
            text: JSON.stringify(response, null, 2)
          }]
        };
      } catch (error) {
        return {
          content: [{
            type: 'text',
            text: `インシデントステータスの更新に失敗しました: ${error}`
          }]
        };
      }
    }
  • Zod input schema defining the required parameters: incident_uuid (UUID string) and status (one of the specified incident statuses).
    {
      incident_uuid: z.string().uuid().describe('更新するインシデントのUUID'),
      status: z.enum(['detected', 'investigating', 'fixing', 'resolved', 'close']).describe('新しいステータス(detected, investigating, fixing, resolved, close)'),
    },
  • Registration of the 'waroom_update_incident_status' tool with the MCP server, specifying name, description, input schema, and handler function.
    server.tool(
      'waroom_update_incident_status',
      'インシデントのステータスを更新します。',
      {
        incident_uuid: z.string().uuid().describe('更新するインシデントのUUID'),
        status: z.enum(['detected', 'investigating', 'fixing', 'resolved', 'close']).describe('新しいステータス(detected, investigating, fixing, resolved, close)'),
      },
      async (params) => {
        try {
          const response = await waroomClient.updateIncidentStatus(params.incident_uuid, 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