Skip to main content
Glama
topotal

Waroom MCP

by topotal

waroom_update_service_label

Update service labels on the Waroom MCP server by specifying the service name, label UUID, new label name, and color code. Maintain accurate and consistent labeling for services.

Instructions

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

Input Schema

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

Implementation Reference

  • Full registration of the 'waroom_update_service_label' MCP tool, including description, input schema, and handler function.
    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}` }] }; } } );
  • Zod input schema defining parameters: service_name, label_uuid, name, color.
    { 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)'), },
  • Handler function that calls WaroomClient.updateServiceLabel with provided params, returns JSON response or error message in MCP format.
    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}` }] }; } }
  • src/main.ts:29-29 (registration)
    High-level registration call that includes the waroom_update_service_label tool among labels tools.
    createLabelsTools(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