Skip to main content
Glama

Check a dependency for known vulnerabilities

check_dependency
Read-onlyIdempotent

Look up known vulnerabilities for one package version from OSV. Returns advisory id, summary, CVE aliases, severity string, and fixed versions when the advisory lists them. Ecosystems: packagist, npm, pypi, go, crates.io, maven, rubygems, nuget. Omit ecosystem and a vendor/package name uses Packagist, otherwise npm. An empty list means OSV returned none, and that successful lookup is charged. This is not a full audit. The first 5 successful calls each UTC day from one network address are free and need no key. not_found and fetch_failed are not charged and do not use a free call. After the 5, send X-API-Key. A key call costs 0.04 credit on success. Key: https://firm.bestsmartgoods.com/signup

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name, for example guzzlehttp/guzzle or lodash.
versionYesThe exact version to check, for example 6.5.0.
ecosystemNoOSV ecosystem. Omit it and a vendor/package name uses Packagist, otherwise npm.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds genuinely useful behavior: the exact returned fields, the free-call quota (5 per UTC day per IP), the X-API-Key requirement after that, per-call credit cost, and that not_found and fetch_failed are neither charged nor consume a free call. That is above the annotation bar, but it omits response shape details and whether results are cached or versioned.

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

Conciseness4/5

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

Front-loads purpose and return fields before billing mechanics, which is the right order. It repeats the full ecosystem list already present in the enum, and the signup URL sentence is promotional rather than functional, but overall it is tight.

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

Completeness5/5

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

With no output schema, the description carries the return-value explanation and does so precisely (advisory id, summary, CVE aliases, severity, fixed versions). Error-state and billing semantics are also covered, leaving nothing an agent needs in order to call this correctly.

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 100%, and the description largely restates what the schema already documents, including the ecosystem enum and the vendor/package default heuristic. It adds no format or syntax guidance beyond the schema, so the baseline of 3 applies.

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

Purpose4/5

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

States a specific verb and resource: "Look up known vulnerabilities for one package version from OSV." It also scopes itself with "This is not a full audit." It does not name the sibling check_package or explain how this differs from it, so an agent must infer the boundary.

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?

Gives clear operating context: single package version, empty list means OSV returned nothing, and successful empty lookups are still charged. The lack of explicit comparison against check_package keeps it from a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.