An MCP server that provides tools for querying package information, dependencies, and version compatibility across multiple package managers (pip, npm, cargo, composer, etc.)
Three tools with basic schemas and descriptions, but significant gaps in parameter documentation and error guidance. All tools have input schemas visible in code (PackageQuery, DependencyQuery, VersionQuery models), but descriptions are generic and lack actionable context. Parameters like 'package_manager' lack enum constraints despite accepting only specific values (pip, npm, cargo, composer). No output schema documentation visible. Error handling returns generic error fields without recovery guidance. Tool names follow verb_noun pattern (get_*) which is correct, but descriptions don't explain WHEN to use each tool or how they differ.
Finds compatible versions of a package based on version constraints (>=, >, <=, <, ==, ~=)
Retrieves the dependencies of a specified package from package registries with optional depth control
Fetches package information from package registries including available versions, latest version, and package description
package_manager parameter lacks enum constraint. Accepts 'pip, npm, cargo, composer' but defined as free-form string. LLMs will hallucinate invalid values like 'python', 'node', 'rust'.
Tool descriptions are generic and lack context. 'Fetches package information' doesn't explain WHEN to call this vs get_dependencies or get_compatible_versions. No guidance on prerequisites or expected return structure.
Error responses return generic error field without recovery guidance. 'Package not found' doesn't suggest calling search or trying alternate package managers. Violates recovery-guide pattern.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 43 | 2026-07-28+ | v2 |
Output schemas not documented. Code shows PackageResult, DependencyResult, VersionResult models but no schema documentation visible in tool definitions. LLMs cannot plan downstream calls without knowing response structure.
depth parameter in get_dependencies lacks bounds. Unbounded integer lets LLMs pass absurd values (depth=999999) causing timeouts or excessive API calls. Should specify min/max (e.g., 1-5).