Skip to main content
Glama
topotal

Waroom MCP

by topotal

waroom_get_postmortems

Retrieve and organize postmortem reports from the Waroom MCP server, enabling users to analyze incidents systematically. Specify page and per-page settings for precise data access.

Instructions

ポストモーテムの一覧を取得します。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo取得するページ番号(1以上の整数)。デフォルト: 1
per_pageNo1ページあたりの取得数(1-100)。デフォルト: 50

Implementation Reference

  • The handler function for the 'waroom_get_postmortems' MCP tool. It fetches postmortems from WaroomClient with optional pagination and returns the JSON response as MCP text content, or an error message on failure.
    async (params) => { try { const response = await waroomClient.getPostmortems( params.page || 1, params.per_page || 50 ); return { content: [{ type: 'text', text: JSON.stringify(response, null, 2) }] }; } catch (error) { return { content: [{ type: 'text', text: `ポストモーテム一覧の取得に失敗しました: ${error}` }] }; } } );
  • Zod input schema defining optional pagination parameters 'page' and 'per_page' for the waroom_get_postmortems tool.
    { page: z.number().int().min(1).optional().describe('取得するページ番号(1以上の整数)。デフォルト: 1'), per_page: z.number().int().min(1).max(100).optional().describe('1ページあたりの取得数(1-100)。デフォルト: 50'), },
  • Direct registration of the 'waroom_get_postmortems' tool on the MCP server within the createPostmortemsTools function, including name, description, schema, and inline handler.
    'waroom_get_postmortems', 'ポストモーテムの一覧を取得します。', { page: z.number().int().min(1).optional().describe('取得するページ番号(1以上の整数)。デフォルト: 1'), per_page: z.number().int().min(1).max(100).optional().describe('1ページあたりの取得数(1-100)。デフォルト: 50'), }, async (params) => { try { const response = await waroomClient.getPostmortems( params.page || 1, params.per_page || 50 ); return { content: [{ type: 'text', text: JSON.stringify(response, null, 2) }] }; } catch (error) { return { content: [{ type: 'text', text: `ポストモーテム一覧の取得に失敗しました: ${error}` }] }; } } );
  • src/main.ts:27-27 (registration)
    Top-level invocation of createPostmortemsTools in main.ts, which registers the waroom_get_postmortems tool (among others) on 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