Skip to main content
Glama

Package Vulnerability Check

package_vulnerability_check
Read-onlyIdempotent

Look up a package (optionally pinned to a version) against OSV.dev's aggregated vulnerability database (GitHub Advisories, PyPA, RustSec, Go vuln DB, etc.) for known CVEs/advisories. Supports npm, PyPI, crates.io, RubyGems, Go, Maven, NuGet, and Packagist ecosystems. Useful before adding a dependency.

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": {
      "ecosystem": "<ecosystem>",
      "name": "<name>"
    },
    "name": "package_vulnerability_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesPackage name
versionNoOptional exact version to check; omit to check the package generally
ecosystemYesPackage ecosystem

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered. The description adds genuinely useful context by naming the upstream data source and aggregators (GitHub Advisories, PyPA, RustSec, etc.), but says nothing about result format, volume, or rate limits.

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?

Three short sentences, front-loaded with the action and data source, then scope, then usage. The enumerated ecosystem list is mild redundancy against the schema enum but is readable and earns its place as a quick capability signal.

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

Completeness4/5

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

For a 3-parameter lookup tool with full schema coverage and rich annotations, the description covers what it queries, where the data comes from, and when to reach for it. With no output schema, a brief note on what a hit/miss result looks like would close the last 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 the baseline is 3. The phrase 'optionally pinned to a version' reinforces but does not extend the schema's own wording ('omit to check the package generally'), and the ecosystem list merely restates the enum values.

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?

States a specific verb and resource ('Look up a package ... against OSV.dev's aggregated vulnerability database') and names the exact class of results (CVEs/advisories). The listed ecosystems and the pinned-version nuance make it unmistakable against the domain/URL-oriented siblings.

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?

'Useful before adding a dependency' gives a concrete trigger context for calling the tool. It stops short of exclusions or pointing to an alternative (e.g., when only an ecosystem is known or when a full domain audit is needed), so it falls just below the top band.

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.