Skip to main content
Glama
topotal

Waroom MCP

by topotal

waroom_get_postmortem_template

Retrieve a structured template for documenting incident postmortems to analyze root causes and improve system reliability.

Instructions

ポストモーテムテンプレートを取得します。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The async handler function that executes the tool logic: fetches the postmortem template using WaroomClient and returns it as formatted JSON text, with error handling.
    async () => {
      try {
        const response = await waroomClient.getPostmortemTemplate();
        return {
          content: [{
            type: 'text',
            text: JSON.stringify(response, null, 2)
          }]
        };
      } catch (error) {
        return {
          content: [{
            type: 'text',
            text: `ポストモーテムテンプレートの取得に失敗しました: ${error}`
          }]
        };
      }
    }
  • The server.tool call that registers the waroom_get_postmortem_template tool, including name, description, empty input schema, and the handler function.
    server.tool(
      'waroom_get_postmortem_template',
      'ポストモーテムテンプレートを取得します。',
      {},
      async () => {
        try {
          const response = await waroomClient.getPostmortemTemplate();
          return {
            content: [{
              type: 'text',
              text: JSON.stringify(response, null, 2)
            }]
          };
        } catch (error) {
          return {
            content: [{
              type: 'text',
              text: `ポストモーテムテンプレートの取得に失敗しました: ${error}`
            }]
          };
        }
      }
    );
  • Supporting method in WaroomClient class that performs the actual API request to retrieve the postmortem template from the Waroom API.
    async getPostmortemTemplate() {
      try {
        const response = await this.axiosInstance.get(`${this.baseUrl}/postmortem_template`);
        return response.data;
      } catch (error) {
        throw new Error(`Failed to get postmortem template: ${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 only states the action ('取得します' - get/retrieve), implying a read operation, but doesn't add any context about permissions, rate limits, what the template contains, or how it's formatted. For a tool with zero annotation coverage, this is insufficient to inform the agent about behavioral traits beyond the basic action.

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 that directly states the tool's action. It's front-loaded with the core purpose and has no wasted words, making it highly concise and well-structured for its simple function.

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

Completeness3/5

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

Given the tool's simplicity (0 parameters, no annotations, no output schema), the description is minimally adequate. It states what the tool does but lacks details about the template's content, format, or how it relates to other tools. For a basic retrieval tool, this might suffice, but it doesn't provide enough context for optimal agent use without additional assumptions.

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

Parameters4/5

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

The input schema has 0 parameters with 100% coverage, meaning no parameters are documented in the schema. The description doesn't mention any parameters, which is appropriate since none exist. This earns a baseline score of 4, as it correctly aligns with the schema's lack of parameters without adding unnecessary information.

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 states the purpose ('ポストモーテムテンプレートを取得します' translates to 'Get postmortem template'), which is a clear verb+resource combination. However, it doesn't differentiate from sibling tools like 'waroom_get_postmortems' or 'waroom_get_incidents', leaving ambiguity about what specifically distinguishes this template retrieval from other get operations in the system.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, context, or exclusions, nor does it reference sibling tools that might be related (e.g., 'waroom_get_postmortems' for actual postmortems vs. templates). This leaves the agent without explicit usage instructions.

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