Skip to main content
Glama

query_package_vulns

Looks up known vulnerabilities for an open-source package via OSV.dev, optionally filtered by exact version, using ecosystem and package name.

Instructions

List known vulnerabilities for an open-source package from OSV.dev.

Args: ecosystem: Package ecosystem, e.g. "PyPI", "npm", "Go", "Maven", "crates.io". package: Package name as published, e.g. "requests" or "org.apache.logging.log4j:log4j-core". version: Optional exact version. If given, only vulnerabilities affecting that version are returned; otherwise all known ones for the package.

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>",
      "package": "<package>"
    },
    "name": "query_package_vulns"
  }
}

Input Schema

NameRequiredDescriptionDefault
packageYes
versionNo
ecosystemYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the external OSV.dev source and the version-filtering behavior, but it does not mention rate limits, pagination, error behavior, or other operational constraints.

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?

The description is front-loaded with the core purpose and then uses a compact structured Args block. Every sentence contributes useful information without unnecessary wording.

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 simple three-parameter lookup tool with an output schema, the description covers purpose, parameters, source, and version filtering well. It omits explicit alternative-tool guidance and external service caveats, but those are the main remaining gaps.

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

Parameters5/5

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

Schema description coverage is 0%, but the description documents all three parameters with examples and explains the optional version semantics. It adds substantial meaning beyond the bare schema names, including ecosystem examples and the effect of supplying an exact version.

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?

The description gives a specific verb and resource: list known vulnerabilities for an open-source package from OSV.dev. It is clear what the tool does, but it does not explicitly differentiate itself from siblings such as lookup_cve or triage_cve.

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

Usage Guidelines3/5

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

The description implies when to use the tool by describing package and version filtering, and it explains the optional version behavior. However, it gives no explicit when-to-use versus alternatives guidance and no exclusions or prerequisites.

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