Skip to main content
Glama

check_package

Read-onlyIdempotent

Check whether a specific dependency version has known vulnerabilities. Supports PyPI, npm, Maven, and Gradle packages.

Instructions

Check an exact dependency version for known vulnerabilities.

Use this tool when the user asks whether a Python, npm, Maven,
or Gradle dependency version is vulnerable.

For Gradle JVM dependencies, use the Maven ecosystem and provide
the package as groupId:artifactId.

Args:
    package_name: Package name, or groupId:artifactId for Maven. Example: django, org.apache.logging.log4j:log4j-core
    version: Exact installed dependency version. Example: 2.2.0, 2.14.1
    ecosystem: One of PyPI, npm, or Maven.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionYes
ecosystemNoPyPI
is_reachableNo
package_nameYes
dependency_scopeNounknown

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionYes
ecosystemYes
vulnerableYes
package_nameYes
vulnerabilitiesNo
enrichment_warningsNo
vulnerability_countYes
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, destructiveHint. The description adds scope (exact version, ecosystems) but no additional behavioral traits beyond annotations. With rich annotations, a 3 is appropriate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Every sentence serves a purpose: clear function, usage timing, special case for Gradle, and concise parameter explanations. No wasted words, front-loaded with core intent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers core functionality and key parameters, but omits explanation for optional parameters (is_reachable, dependency_scope). Output schema exists, so return values are not required, but the gap on optional params reduces completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but the description explains package_name (as name or groupId:artifactId), version (exact version), and ecosystem (one of three). However, it omits is_reachable and dependency_scope, leaving part of the schema undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool checks an exact dependency version for known vulnerabilities, specifying ecosystems (Python, npm, Maven, Gradle) and providing an example for Maven. This distinguishes it from siblings like analyze_reachability and generate_report.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says 'Use this tool when the user asks whether a ... dependency version is vulnerable.' It gives clear context for invocation but does not exclude alternatives or mention when not to use it, though the purpose is well-defined.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/arojit/vulnpilot-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server