Open-source MCP server that flags day-zero supply-chain anomalies in npm + PyPI packages before install.
Single tool 'check_package' has a clear, action-oriented name and reasonable description (79 chars). Input schema is present with 4 parameters, all typed and described. However, output schema is not documented in the source code, the tool returns a verdict object with 'level', 'signals', and 'sources_failed' fields, but this structure is inferred from the audit record contract and service return type, not explicitly declared in the tool registration. Parameter descriptions are adequate but lack detail on valid enum values for 'ecosystem' and constraints on version format. No error handling guidance visible. Naming follows verb_noun pattern (check_package) and is unambiguous. Composition is sound, single responsibility. Overall: solid foundation with gaps in output documentation and error guidance.
Flags day-zero supply-chain anomalies in npm + PyPI packages before install.
Output schema not documented. Tool returns verdict with 'level', 'signals', 'sources_failed' fields, but this structure is inferred from code, not declared in tool definition. LLMs cannot plan downstream actions without knowing return type.
Parameter 'ecosystem' lacks enum constraint. Description says 'npm' or 'pypi' but no formal enum in schema, LLM may hallucinate invalid values like 'npm-registry' or 'python'.
No error handling guidance. Tool description does not explain what happens on failure (e.g., 'If package not found, returns level=critical with signal_ids=[not_found]'). LLM cannot distinguish transient vs permanent failures.
Parameter 'version' lacks format constraints. No guidance on valid semver format, pre-release handling, or what happens if version is invalid or not found.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 49 | <=2025-11-25 | v2 |
Tool description does not explain when to use 'include_transitive' or what transitive dependencies reveal. LLM cannot reason about whether to enable this flag.