Skip to main content
Glama
topotal

Waroom MCP

by topotal

waroom_update_service_label

Update service labels in Waroom MCP by specifying service name, label UUID, new name, and color code to modify labeling for incident tracking.

Instructions

特定のサービスのラベルを更新します。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
service_nameYesサービス名
label_uuidYes更新するラベルのUUID
nameYes新しいラベル名
colorYes新しいラベルの色(6桁の16進数カラーコード、例: ff0000)

Implementation Reference

  • Registers the MCP tool 'waroom_update_service_label' including description, input schema with Zod validation, and the handler function that invokes WaroomClient.updateServiceLabel and formats the response.
    server.tool(
      'waroom_update_service_label',
      '特定のサービスのラベルを更新します。',
      {
        service_name: z.string().min(1).max(100).describe('サービス名'),
        label_uuid: z.string().uuid().describe('更新するラベルのUUID'),
        name: z.string().min(1).max(100).describe('新しいラベル名'),
        color: z.string().regex(/^[0-9a-fA-F]{6}$/).describe('新しいラベルの色(6桁の16進数カラーコード、例: ff0000)'),
      },
      async (params) => {
        try {
          const response = await waroomClient.updateServiceLabel(
            params.service_name,
            params.label_uuid,
            params.name,
            params.color
          );
          return {
            content: [{
              type: 'text',
              text: JSON.stringify(response, null, 2)
            }]
          };
        } catch (error) {
          return {
            content: [{
              type: 'text',
              text: `サービスラベルの更新に失敗しました: ${error}`
            }]
          };
        }
      }
    );
  • The WaroomClient helper method that performs the HTTP PATCH request to the Waroom API to update a service label by UUID.
    async updateServiceLabel(serviceName: string, labelUuid: string, name: string, color: string) {
      try {
        const response = await this.axiosInstance.patch(`${this.baseUrl}/services/${serviceName}/labels/${labelUuid}`, {
          label: {
            name,
            color
          }
        });
        return response.data;
      } catch (error) {
        throw new Error(`Failed to update service label: ${error}`);
      }
  • src/main.ts:29-29 (registration)
    Top-level call to createLabelsTools which registers the labels tools including 'waroom_update_service_label' on the MCP server.
    createLabelsTools(server, waroomClient);
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. While '更新します' (updates) implies a mutation operation, it doesn't specify whether this requires special permissions, what happens to existing label data, whether changes are reversible, or any rate limits. For a mutation tool with zero annotation coverage, this is insufficient behavioral context.

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

Conciseness4/5

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

The description is a single, efficient sentence that states the core purpose without unnecessary words. It's appropriately sized for a tool with clear parameters documented elsewhere, though it could benefit from slightly more context about the update operation.

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?

For a mutation tool with no annotations and no output schema, the description is inadequate. It doesn't explain what the tool returns, what happens on success/failure, or provide any context about the update operation beyond the basic purpose. Given the complexity of updating labels and the lack of structured metadata, more descriptive content is needed.

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 has 100% description coverage with clear parameter documentation in Japanese. The description adds no additional parameter information beyond what's already in the schema. According to guidelines, when schema_description_coverage is high (>80%), the baseline is 3 even with no param info in 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 clearly states the action ('更新します' - updates) and resource ('特定のサービスのラベル' - specific service's label), making the purpose immediately understandable. It doesn't explicitly distinguish from siblings like waroom_create_service_label or waroom_delete_service_label, but the verb 'update' implies a different operation from create/delete.

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 like waroom_create_service_label or waroom_delete_service_label. It doesn't mention prerequisites, constraints, or appropriate contexts for label updates versus other label operations.

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