Skip to main content
Glama

Ansvar: EU Compliance & Legal Intelligence

Search By Product

search_by_product
Read-only

Find CVEs affecting a specific product and version. Useful for vulnerability assessment of software components. Also returns package_advisories (GHSA reviewed, Go, PyPA, RustSec) for the exact package name, optionally within an OSV ecosystem or from a purl; with a version, each row carries version_evaluation affected, not_affected or not_evaluated (only PyPI, Go, npm and crates.io ranges are evaluated). Also returns redhat_products: Red Hat products matched by product name, CPE or exact component name, with their VEX statuses (scoped to that product) and RHSA advisories; Red Hat versions are not evaluated and a non-Red Hat vendor filter omits the block. NVD-rejected records are excluded unless include_rejected=true; every row carries vuln_status and rejected.

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": {
      "product_name": "<product_name>"
    },
    "name": "search_by_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
purlNoPackage URL (e.g. 'pkg:pypi/urllib3@1.26.0'); sets the package name, ecosystem and version when version is not given
limitNoMax results
vendorNoVendor name filter (e.g., 'apache', 'microsoft')
versionNoSpecific version to check (e.g., '2.4.49')
ecosystemNoOSV ecosystem for the package advisories (e.g. 'PyPI', 'npm', 'Go', 'crates.io', 'Maven', 'NuGet', 'RubyGems')
product_nameYesProduct name to search (e.g., 'apache', 'nginx')
include_rejectedNoAlso return records NVD has rejected (flagged rejected: true)
version_operatorNoVersion comparison operator

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / ecosystem
      Added value: +{
      +  "description": "OSV ecosystem for the package advisories (e.g. 'PyPI', 'npm', 'Go', 'crates.io', 'Maven', 'NuGet', 'RubyGems')",
      +  "pattern": "^[A-Za-z][A-Za-z0-9 ._+-]{0,63}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / purl
      Added value: +{
      +  "description": "Package URL (e.g. 'pkg:pypi/urllib3@1.26.0'); sets the package name, ecosystem and version when version is not given",
      +  "pattern": "^pkg:[a-z][a-z0-9.+-]*/[^\\s?#]+(?:\\?[^\\s#]+)?(?:#[^\\s]+)?$",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / include_rejected
      Added value: +{
      +  "default": false,
      +  "description": "Also return records NVD has rejected (flagged rejected: true)",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld/destructive annotations by disclosing real behavioral quirks: NVD-rejected records are excluded unless include_rejected=true, version_evaluation only covers PyPI/Go/npm/crates.io ranges, Red Hat versions are never evaluated, and a non-Red Hat vendor filter silently omits the redhat_products block. Those caveats are exactly what an agent needs to interpret results correctly and avoid misreading an empty block as 'no vulnerabilities'.

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

Conciseness3/5

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

Front-loaded with the core purpose, but the body is a single dense semicolon-chained paragraph mixing three distinct data sources. Bullets or separate sentences per result block would make it far easier to parse; nothing is outright wasted, but the packing hurts readability.

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?

With 8 parameters and no output schema, the description correctly compensates by describing the shape of each returned block and the per-row fields (vuln_status, rejected, version_evaluation). It stops short of covering the version_operator/version pairing rules and pagination behavior for limit, which are the remaining gaps.

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 already 100%, so the baseline is 3, but the description adds cross-parameter meaning: purl supplies name, ecosystem and version when version is absent ('sets the package name, ecosystem and version when version is not given'), and vendor filters interact with the redhat_products block. It does not explain version_operator or limit semantics beyond the schema.

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?

Opens with a specific verb and resource: 'Find CVEs affecting a specific product and version', then enumerates the extra result blocks (package_advisories, redhat_products). An agent can grasp what it returns, though it never contrasts itself with siblings like search_cve or batch_search, leaving overlap resolution to inference.

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 only usage cue is 'Useful for vulnerability assessment of software components', which implies the scenario but gives no when-not conditions, no alternatives, and no prerequisites. An agent must guess whether to pick this over search_cve for a product-name query.

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.