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}`
            }]
          };
        }
      }
    );
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states '作成します' (creates), implying a write/mutation operation, but doesn't disclose any behavioral traits such as permissions required, whether it's idempotent, rate limits, or what happens on success/failure. For a creation tool with zero annotation coverage, this is a significant gap in transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence in Japanese: 'ポストモーテムを作成します.' It is front-loaded with the core action and resource, with zero waste or redundancy. Every word earns its place, making it appropriately concise for the tool's purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (a creation tool with 4 parameters, 3 required) and no annotations or output schema, the description is incomplete. It doesn't address behavioral aspects like mutation effects, error handling, or return values, nor does it provide usage context. For a tool that creates postmortems linked to incidents, more guidance is needed to be complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, with each parameter well-documented in the input schema (e.g., title length, blob content, incident UUIDs, status enum). The description adds no meaning beyond this, not even hinting at parameter relationships or usage. With high schema coverage, the baseline score is 3, as the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'ポストモーテムを作成します' (Creates a postmortem) states a clear verb+resource but is vague about what a postmortem entails. It doesn't distinguish from siblings like 'waroom_create_incident' or 'waroom_create_incident_metrics', which also create resources. The purpose is understandable but lacks specificity about the postmortem's nature or scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing incident UUIDs from 'waroom_get_incidents'), exclusions, or how it differs from related tools like 'waroom_get_postmortems' (which retrieves) or 'waroom_get_postmortem_template' (which might provide templates). The description offers no context for usage decisions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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