MCP server for querying MITRE EMB3D framework data including categories, properties, threats, and mitigations for embedded device security threat modeling
The server defines 8 tools with clear, read-only semantics. Most tools have basic descriptions and properly typed input schemas with enums and regex patterns. However, descriptions are generic (10-50 chars), parameter descriptions are minimal or absent, output schemas are not documented, and error handling is completely absent. The naming convention is consistent (get_*) and verb-based, which is good. Tools are appropriately scoped to single concerns (composition is good). The main gaps are: (1) descriptions are too terse to guide LLM selection, (2) output schemas are not formally documented anywhere in the code, (3) no error handling or recovery guidance, (4) no pagination guidance despite tools potentially returning large result sets.
Get a list of all categories
Get a mitigation by its ID, along with the threats it mitigates.
Get a list of mitigations for a given threat ID.
Get a list of properties for a given category and level.
Get a list of properties for a given threat and level.
Get a threat by its ID, along with its mitigations.
Get a list of threats for a given category.
Tool descriptions are too terse (all <50 chars). Baseline from 549 production tools shows average 194 chars. Descriptions like 'Get a list of all categories' and 'Get a list of properties for a given category and level.' lack context for LLM selection, WHEN to use them instead of similar tools, and any prerequisites.
Output schemas are not documented. Tools return typed Pydantic models (ThreatWithMitigations, MitigationWithThreats, etc.) but the server code does not expose these schemas in the tool registration. LLMs cannot see what fields they will receive, making downstream chaining and data extraction error-prone.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 56 | <=2025-11-25 | v2 |
| 2026-03-09 | D | 54 | - | v1 |
Get a list of threats for a given Property.
Parameter descriptions are missing or minimal. 'threat_id' is described only as 'Threat ID', 'property_id' as 'Property ID', 'category' as 'The EMB3D category'. These do not explain WHEN to use this parameter, what valid formats are (beyond the regex), or how to obtain a valid value. Baseline: 100% of A+ tools have descriptions for every parameter.
No error handling or recovery guidance. Tools do not declare what errors can occur (e.g., threat_id not found, invalid category), what the LLM should do next (retry? call search?), or how to distinguish retryable errors from user-fixable errors. An LLM receiving a 404 has no actionable path forward.
No pagination or result limit guidance. Tools like 'get_threats_for_category' could return large lists (potentially hundreds of threats per category), but there is no mention of pagination, result limits, or how many items the LLM should expect. This risks context window exhaustion and degrades LLM reasoning.
Missing tool annotations. Tools lack readOnlyHint, destructiveHint, or idempotentHint annotations. While all tools here are read-only and safe, declaring readOnlyHint=true in the tool metadata would improve clarity for clients and enable optimization.