Skip to main content
Glama
topotal

Waroom MCP

by topotal

waroom_get_service_architecture_context

Retrieve the architecture context of a specific service using Waroom MCP. Input the service name to access detailed architectural insights in compliance with Model Context Protocol standards.

Instructions

特定のサービスのアーキテクチャコンテキストを取得します。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
service_nameYesサービス名

Implementation Reference

  • Full MCP tool definition including registration, input schema, and handler logic. The handler fetches the service architecture context using WaroomClient and formats it as JSON response.
    server.tool( 'waroom_get_service_architecture_context', '特定のサービスのアーキテクチャコンテキストを取得します。', { service_name: z.string().min(1).max(100).describe('サービス名'), }, async (params) => { try { const response = await waroomClient.getServiceArchitectureContext(params.service_name); return { content: [{ type: 'text', text: JSON.stringify(response, null, 2) }] }; } catch (error) { return { content: [{ type: 'text', text: `サービスアーキテクチャコンテキストの取得に失敗しました: ${error}` }] }; } } );
  • Core implementation in WaroomClient that makes the API call to retrieve the service architecture context.
    async getServiceArchitectureContext(serviceName: string) { try { const response = await this.axiosInstance.get(`${this.baseUrl}/services/${serviceName}/service_architecture_context`); return response.data; } catch (error) { throw new Error(`Failed to get service architecture context: ${error}`); } }
  • src/main.ts:26-29 (registration)
    Registration of tool sets by calling createServicesTools(server, waroomClient), which includes the waroom_get_service_architecture_context tool.
    createIncidentsTools(server, waroomClient); createPostmortemsTools(server, waroomClient); createServicesTools(server, waroomClient); createLabelsTools(server, waroomClient);
  • Input schema validation using Zod for the service_name parameter.
    { service_name: z.string().min(1).max(100).describe('サービス名'), },

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