Read-only Home Assistant sensor tools that expose sensor state queries via MCP protocol
Single dynamically-generated tool with incomplete schema documentation. Tool name 'get_*' follows verb_noun pattern correctly. Description exists but is generic and lacks WHEN/WHY guidance. Input schema visible with proper type and enum constraints for entity parameter, but output schema is completely undocumented, LLMs cannot plan downstream calls. No parameter descriptions beyond entity. Error handling returns structured ToolCallResult but lacks recovery guidance. Tool is read-only (correctly annotated) but lacks context on what data is returned or how to use it.
Dynamically generated tools based on configured sensor types. Each tool queries a specific Home Assistant sensor entity and returns its current state with unit of measurement and friendly name.
Output schema completely undocumented. LLMs cannot see what fields FormatSensorReading() returns or plan downstream operations. Baseline: 100% of A+ tools document return types.
Tool description is generic and lacks WHEN/WHY context. 'Dynamically generated tools based on configured sensor types' does not explain when to call this vs other tools or what the user gains. Baseline: 194 chars average, descriptions should answer What/When/Why.
Entity parameter description is incomplete. States 'Available entities depend on configuration' but does not explain format, constraints, or examples. Baseline: 100% of A+ tool params have descriptions; this one is vague.
Error messages are returned as tool results (ToolError) but lack recovery guidance. 'Entity not found' does not suggest next steps. Baseline: errors must tell LLM what to do next.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 37 | 2026-07-28+ | v2 |
Tool name 'get_*' is a pattern placeholder, not a concrete name. Actual tool names are generated at runtime (e.g. 'get_temperature', 'get_humidity'). This makes static analysis of tool definitions impossible and prevents LLMs from discovering tools before runtime.