Skip to main content
Glama

scan_dependencies

Check a list of open-source dependencies for known vulnerabilities using OSV.dev. For each package version, returns matching advisories with CVE aliases, a computed CVSS base score, severity rating, CWE ids, and the versions that fix the issue — plus a rollup by severity. Use it to audit a lockfile, gate a release, or answer 'is this version safe to install'. Costs 5 credit(s) per call regardless of package count.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "packages": "<packages>"
    },
    "name": "scan_dependencies"
  }
}

Input Schema

NameRequiredDescriptionDefault
packagesYesThe dependencies to check, as exact installed versions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the behavioral burden and does so well: it enumerates the return payload (advisories, CVE aliases, CVSS score, severity, CWE ids, fixed versions, severity rollup) and discloses billing explicitly ('Costs 5 credit(s) per call regardless of package count'). It stops short of stating rate limits, failure behavior for unknown ecosystems, or that the call is read-only, which keeps it from a 5.

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?

The structure is front-loaded: purpose first, return payload second, use cases third, cost last. The advisory-field enumeration is a long list but earns its place because no output schema exists. Slight verbosity in the middle clause keeps it just under a 5.

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?

For a single-parameter read tool with no output schema, the description covers purpose, return shape, use cases, and cost — everything an agent needs to decide and invoke correctly. The 50-item cap and ecosystem list live in the schema, so their absence here is not a gap.

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 description coverage is 100%, so ecosystem, name, and version semantics are already fully documented in the schema, including supported ecosystems and the no-ranges rule. The description adds only the billing nuance that cost is independent of package count, which is a marginal but real addition beyond the schema.

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 opens with a specific verb and resource ('Check a list of open-source dependencies for known vulnerabilities') and names the backing data source (OSV.dev). No sibling tool does vulnerability scanning, so an agent can immediately route dependency-audit requests here rather than to cybersecurity_search or web_search.

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?

It supplies three concrete use cases: auditing a lockfile, gating a release, and answering 'is this version safe to install'. There are no exclusions or named alternatives, but no sibling overlaps this function, so the missing 'when-not' is a minor gap rather than a routing hazard.

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.

Resources