Skip to main content
Glama

query_package

Read-onlyIdempotent

CVEs affecting one open-source package, by purl (pkg:npm/lodash) or ecosystem + name (Maven names are group:artifact). Returns the CVE list KEV-first with each OSV version range VERBATIM: events plus one render-safe projection: fixed (the upgrade targets) or affected_through (the last VULNERABLE version, so upgrade past it). This tool does not evaluate version membership; compare versions on your side with your ecosystem’s own semantics. Covers CVE-linked, GitHub-reviewed OSS advisories via OSV.dev; absence is not evidence of safety.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoPackage name, verbatim (for example @babel/core or org.jenkins-ci.main:jenkins-core)
purlNoPackage URL, such as pkg:npm/lodash or pkg:maven/org.apache.logging.log4j/log4j-core
ecosystemNoOSV ecosystem (npm, PyPI, Maven, Go, crates.io, Packagist, RubyGems, NuGet, …) or purl type (pypi, cargo, composer, gem, golang, …)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changed
    • changedInput schema / properties / name / description
      Previous value: -"Package name, verbatim (e.g. @babel/core, org.jenkins-ci.main:jenkins-core)"New value: +"Package name, verbatim (for example @babel/core or org.jenkins-ci.main:jenkins-core)"
    • changedInput schema / properties / purl / description
      Previous value: -"Package URL, e.g. pkg:npm/lodash or pkg:maven/org.apache.logging.log4j/log4j-core"New value: +"Package URL, such as pkg:npm/lodash or pkg:maven/org.apache.logging.log4j/log4j-core"
  2. Added

TDQS

A4.7/5.0
Behavior5/5

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

Even though annotations already indicate read-only and idempotent behavior, the description adds substantial behavioral context: KEV-first ordering, verbatim OSV range output, the events/fixed/affected_through projection, the explicit refusal to evaluate version membership, and the coverage caveat that absence is not evidence of safety. This goes well beyond what annotations provide.

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 dense but every sentence earns its place: purpose, input modes, output format, version-range semantics, and an important coverage caveat. The main action is front-loaded and there is no filler or repetition of the schema.

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?

There is no output schema, so the description correctly takes on the burden of explaining return values. It covers what is returned (CVE list, KEV-first), how version ranges are represented (fixed vs affected_through), and what the tool does not do. For a read-only package advisory lookup, nothing critical is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds meaningful semantics beyond the schema by clarifying purl vs ecosystem+name usage, flagging Maven group:artifact format, and giving concrete examples like pkg:npm/lodash, which helps an agent construct correct parameter combinations.

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: 'CVEs affecting one open-source package' and immediately distinguishes the query modes (purl vs ecosystem + name). It clearly separates this from siblings like search_cves and get_cve by emphasizing a single package's advisory list.

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 gives clear context for when to use the tool: when you need CVEs for one package, identified by purl or ecosystem + name. It does not explicitly name alternatives or exclusions, but the package-scoped scenario is unmistakable and no misleading guidance is present.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool targets a distinct retrieval task: single CVE lookup, EPSS movers, scoreboard report, update stream, package query, and catalog search. There is minimal overlap, and the descriptions reinforce the clear boundaries between tools.

Naming Consistency5/5

Tool names follow a consistent verb_noun pattern: get_ for direct retrievals, query_package for package-specific lookup, and search_cves for catalog search. All names are snake_case and use clear, predictable verbs.

Tool Count5/5

Six tools is a well-scoped surface for a CVE intelligence server, covering all major entry points without redundancy. Each tool earns its place and there is no bloat or thinness.

Completeness5/5

The domain is read-only vulnerability intelligence, and the set covers individual CVE records, searchable catalog discovery, package-specific CVE lookup, trend analysis, update streams, and periodic reporting. There are no obvious dead ends for the stated purpose.

Resources