Skip to main content
Glama
topotal

Waroom MCP

by topotal

waroom_get_services

Retrieve a paginated list of services from the Waroom API to access incident information and postmortem details through standardized queries.

Instructions

サービスの一覧を取得します。

Input Schema

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

Implementation Reference

  • The asynchronous handler function for the waroom_get_services tool. It retrieves services using waroomClient.getServices with pagination parameters and returns a JSON string response or error message.
      async (params) => {
        try {
          const response = await waroomClient.getServices(
            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 page and per_page parameters for pagination.
    {
      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'),
    },
  • src/main.ts:28-28 (registration)
    Invocation of createServicesTools which registers the waroom_get_services tool (among others) with the MCP server.
    createServicesTools(server, waroomClient);
  • The getServices method in WaroomClient class that fetches the list of services from the Waroom API using axios with pagination support.
    async getServices(page = 1, perPage = 50) {
      try {
        const response = await this.axiosInstance.get(`${this.baseUrl}/services`, {
          params: { page, per_page: perPage }
        });
        return response.data;
      } catch (error) {
        throw new Error(`Failed to get services: ${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. While '取得します' (get) implies a read-only operation, the description doesn't specify whether this requires authentication, rate limits, pagination behavior beyond the schema, or what the return format looks like. For a 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 that directly states the tool's purpose without any fluff or redundant information. It is appropriately sized and front-loaded, making it easy for an agent to parse quickly.

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 lack of annotations and output schema, the description is incomplete for effective tool use. It doesn't explain return values, error conditions, or behavioral nuances like pagination handling beyond the input parameters. For a read operation with no structured output documentation, the description should provide more context to compensate.

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 description adds no parameter semantics beyond what the input schema provides. However, schema description coverage is 100%, with clear documentation for both 'page' and 'per_page' parameters including defaults and constraints. This meets the baseline score of 3, as the schema adequately covers parameter details without needing additional explanation in the description.

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

Purpose4/5

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

The description 'サービスの一覧を取得します' (Get a list of services) clearly states the verb ('取得します' - get) and resource ('サービスの一覧' - list of services), making the purpose immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'waroom_get_service_labels' or 'waroom_get_service_architecture_context', which also retrieve service-related data but with different scopes.

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 any prerequisites, context for usage, or comparisons to sibling tools such as 'waroom_get_incidents' or 'waroom_get_postmortems', leaving the agent to infer usage based on tool names alone.

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