component library unit test generator
Single tool 'generate-test-prompt' has critical definition gaps. Tool name lacks action verb clarity (should be 'generate_unit_test_prompt'). Description is minimal (27 chars, below 50-char baseline for LLM clarity). Input schema declares only 'componentName' as string with basic description, but the capabilities block shows 'componentPath' parameter that is NOT in the Zod schema, schema mismatch. No output schema documented. No error handling guidance. No parameter constraints or format specifications. Tool definition is partially inferred from capabilities block rather than fully explicit in registration.
generate prompt for unit test
Tool name lacks action verb. 'generate-test-prompt' is vague; should be 'generate_unit_test_prompt' or 'create_unit_test_prompt' to signal intent clearly to LLMs.
Description is 27 characters ('generate prompt for unit test'), below 50-char minimum for LLM clarity. Does not explain WHEN to use, WHAT it returns, or prerequisites. Baseline: 194 chars average for A+ tools.
Schema mismatch: capabilities block declares 'componentPath' parameter, but Zod schema only includes 'componentName'. LLM will see conflicting parameter lists.
No output schema documented. LLM cannot predict return structure (text content, fields, pagination). Baseline: 100% of A+ tools document return types.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 31 | 2026-07-28+ | v2 |
No error handling guidance. Tool catches errors and returns text, but does not categorize as retryable/user-fixable/fatal or suggest recovery steps. LLM cannot act on failures.