MCP server for controlling ESP32 hardware devices via serial communication, including LED control, buzzer/speaker control, car movement, and music playback
This server has serious definition quality gaps across all 4 tools. While schemas are present and properly typed using Zod, parameter descriptions are vague or missing context. Tool names do not follow verb_noun conventions (ledBrink, playScale, carControl, playSongFromTitle are all non-standard). Descriptions are terse and fail to explain WHEN to use each tool or what the actual output will be. No output schemas are documented, callers cannot see what the response structure looks like. Error handling is entirely absent; tools will silently fail without guidance. The 'reason' parameter on all tools is optional but its purpose is unclear. The 'ledBrink' name is particularly problematic, 'blink' is misspelled and the description says '点灯' (light up), not blink. Serial protocol details are exposed in descriptions ('HIGH/LOW', 'freq,dur;freq,dur;...') rather than abstracting them behind a cleaner API. Parameter validation is minimal, 'command' in ledBrink accepts any string, 'title' in playSongFromTitle has no constraints, 'duration' in carControl has range limits but the description does not explain what happens at those bounds.
ESP32 にシリアルで「コマンド,時間」を送信すると、車をその通りに動かします。{command} は動作の種類、{duration} は動作時間(ミリ秒)です。
ESP32 にシリアルで「HIGH/LOW」を送信すると、LEDを点灯させます。
SP32 にシリアルで「周波数,鳴らす長さ」を送信すると、圧電ブザーでその通りに音を鳴らします。連続した音符を演奏するには、'freq1,dur1;freq2,dur2;...' の形式で入力します。
曲のタイトル名を受け取り、その楽譜を生成してブザーで演奏します。
Tool names do not follow verb_noun convention. 'ledBrink' (misspelled 'blink'), 'playScale', 'carControl', 'playSongFromTitle' are all non-standard. LLMs cannot infer intent from these names. Should be 'turn_led_on', 'turn_led_off', 'play_buzzer_scale', 'control_car_movement', 'play_song'.
No output schemas documented. Tools return {content: [{type: 'text', text: string}]} but callers cannot see this structure in the tool definition. LLMs cannot plan what to do with the response.
Descriptions are too terse and lack actionable context. 'ESP32 にシリアルで「HIGH/LOW」を送信すると、LEDを点灯させます。' (22 chars in English: ~95 chars as-is) tells WHAT but not WHEN to use, what happens on failure, or what the command actually does. No mention of side effects, dependencies, or expected response.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 42 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 32 | - | v1 |
'ledBrink' name is misspelled (should be 'blink' or 'turn_led_on/off'). Description says '点灯' (light on) but name suggests blinking, ambiguous intent.
Serial protocol details leak into descriptions: 'HIGH/LOW', 'freq,dur;freq,dur;...', 'FORWARD,duration'. LLMs should not need to understand the wire protocol. Descriptions should say 'turn LED on' not 'send HIGH to serial port'.
'reason' parameter on all 4 tools is optional but its purpose is unclear. Is it for logging? Does it affect behavior? Description says 'LEDを点灯させる理由' (reason to turn on LED) but that is metadata, not functional input. Should either be removed or its semantics clarified.
'command' parameter in ledBrink accepts any string (z.string()) with no enum constraint. Should be z.enum(['HIGH', 'LOW']) to prevent hallucinated values like 'ON', 'OFF', '1', '0'.
'title' parameter in playSongFromTitle accepts any string with no constraints. What song titles are valid? What happens if the title is not recognized? No validation or error guidance.
'noteData' parameters in playScale and playSongFromTitle expect specific formats ('freq,dur;...' or '262,500;262,500;...') but no regex pattern or format constraint is enforced. LLMs will guess wrong.
No error handling or recovery guidance. If serial write fails (port closed, invalid data, timeout), tools return nothing and agent is left hanging. No actionable error messages telling LLM what to do next.