Skip to main content
Glama
Hirao-Y

Poker Task Management MCP

by Hirao-Y

poker_deleteBuildupFactor

Remove buildup factors from materials to maintain accurate task calculations and prevent resource allocation errors in project management workflows.

Instructions

ビルドアップ係数を削除します

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
materialYes削除する材料名

Implementation Reference

  • MCP tool handler for poker_deleteBuildupFactor. Validates material argument and delegates deletion to taskManager.
    async deleteBuildupFactor(args) { try { if (!args.material) throw new ValidationError('材料名は必須です', 'material', args.material); const result = await taskManager.deleteBuildupFactor(args.material); return { success: true, message: result }; } catch (error) { logger.error('deleteBuildupFactorハンドラーエラー', { args, error: error.message }); throw error; } },
  • Tool schema definition including name, description, and input validation schema requiring 'material' string.
    { name: 'poker_deleteBuildupFactor', description: 'ビルドアップ係数を削除します', inputSchema: { type: 'object', properties: { material: { type: 'string', description: '削除する材料名' } }, required: ['material'] } },
  • Core data manipulation logic executed during applyChanges(): finds and removes buildup_factor entry matching the material from YAML data.
    case 'deleteBuildupFactor': if (this.data.buildup_factor) { const buildupIndex = this.data.buildup_factor.findIndex(bf => bf.material === data.material); if (buildupIndex !== -1) { this.data.buildup_factor.splice(buildupIndex, 1); } } break;
  • Registration of buildup factor handlers (including deleteBuildupFactor) in the all handlers object via createAllHandlers.
    // ビルドアップ係数操作 ...createBuildupFactorHandlers(taskManager),
  • Inclusion of buildupFactorTools (containing poker_deleteBuildupFactor schema) in the allTools array.
    ...buildupFactorTools,

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/Hirao-Y/poker_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server