React hooks for exposing your app's functionality as WebMCP tools - transport-agnostic, SSR-safe, Strict Mode safe, W3C spec-aligned
8 tools with complete schemas and descriptions, but quality varies significantly. Tool names follow verb_noun convention (greet, get_game_status, guess_word, get_hint, slow_hint, start_game, echo, add). Descriptions range from adequate (greet: 21 chars) to comprehensive (get_game_status: 127 chars, start_game: 186 chars). All tools have input schemas with type definitions. However, parameter descriptions are sparse or missing context. No output schemas documented. Error handling and recovery guidance absent. No tool annotations visible except readOnlyHint on get_game_status. Missing idempotency guidance for write operations (guess_word, start_game).
Add two numbers and return the sum.
Echo the provided text back to the caller.
Get the current status of the Wordle game, including guesses made, remaining attempts, and known letter positions.
Get a hint for the current Wordle game. Choose between seeing unused letters or the known letter pattern.
Greet someone by name
Guess a 5-letter word in the current Wordle game.
Return a hint after a 3 second delay. Honors cancellation via the execution AbortSignal.
No output schemas documented. LLMs cannot predict response structure or plan downstream tool calls. Tools return {content: [{type, text}]} but this is not formally specified.
Write operations (guess_word, start_game) lack idempotency guidance and confirmation patterns. No dry-run or confirmation step to prevent accidental game state corruption.
Generic tool names 'echo' and 'add' lack domain context. 'echo' could be renamed 'echo_text' and 'add' to 'add_numbers' for clarity when many tools are available.
Parameter descriptions minimal or absent. 'word' in guess_word lacks format constraints (5-letter requirement stated in description but not in param schema). 'hint_type' enum values documented but no guidance on when to use each.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 64 | 2025-06-18+ | v2 |
Start a new Wordle game. Normal mode: guess any valid 5-letter word each turn. Hard mode: green letters must stay in the same position and yellow letters must be reused in every subsequent guess.
No error handling or recovery guidance. Tools do not document what happens on invalid input (e.g., non-5-letter word in guess_word, invalid difficulty in start_game). LLMs cannot self-correct.