Skip to main content
Glama
rad-security

RAD Security

Official
by rad-security

list_cve_products

Retrieve products associated with a vendor from the CVE database to identify potential vulnerabilities in your security environment.

Instructions

Get a list of all products associated with a vendor in the CVE database. Source: cve-search.org

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vendorYesVendor name to list products for

Implementation Reference

  • The core handler function that executes the logic for listing CVE products for a given vendor by querying the public CVE search API.
    export async function listCveProducts(vendor: string): Promise<any> {
      const response = await fetch(`${BASE_URL}/browse/${encodeURIComponent(vendor)}`);
      if (!response.ok) {
        throw new Error(`Failed to list products for vendor ${vendor}: ${response.statusText}`);
      }
      return response.json();
    }
  • src/index.ts:1299-1310 (registration)
    Tool dispatch handler in the MCP server that validates input with Zod schema, calls the listCveProducts function, and formats the response.
    case "list_cve_products": {
      const args = z
        .object({
          vendor: z.string(),
        })
        .parse(request.params.arguments);
      const response = await cves.listCveProducts(args.vendor);
      return {
        content: [
          { type: "text", text: JSON.stringify(response, null, 2) },
        ],
      };
  • src/index.ts:447-458 (registration)
    Tool registration in the listTools response, including name, description, and input schema definition.
    {
      name: "list_cve_products",
      description:
        "Get a list of all products associated with a vendor in the CVE database. Source: cve-search.org",
      inputSchema: zodToJsonSchema(
        z.object({
          vendor: z
            .string()
            .describe("Vendor name to list products for"),
        })
      ),
    },
  • Inline Zod schema defining the input parameters for the list_cve_products tool (vendor string).
    z.object({
      vendor: z
        .string()
        .describe("Vendor name to list products for"),
    })
  • Base URL constant used by CVE-related functions including listCveProducts.
    const BASE_URL = "https://cve.circl.lu/api";
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states it 'Get a list' but doesn't describe key behaviors: whether it's a read-only operation, how results are formatted (e.g., pagination, sorting), potential rate limits, or error handling. The source mention hints at external data but lacks operational details, leaving significant gaps for an agent to understand how to invoke it effectively.

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 description is concise with two sentences: the first states the purpose, and the second provides the source. There's no wasted language, and it's front-loaded with the core functionality. However, the source attribution, while useful, could be integrated more seamlessly, and it lacks structural elements like bullet points for clarity.

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

Completeness3/5

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

Given the tool's low complexity (single parameter, no output schema, no annotations), the description is minimally complete. It covers the basic purpose but misses behavioral details (e.g., response format, limitations) and usage context. Without annotations or output schema, the agent must infer behavior, making this adequate but with clear gaps for reliable invocation.

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?

The input schema has 100% description coverage, with the 'vendor' parameter clearly documented as 'Vendor name to list products for'. The description adds no additional parameter semantics beyond this, such as format examples or constraints. Since the schema does the heavy lifting, the baseline score of 3 is appropriate, as the description doesn't compensate but also doesn't detract.

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 clearly states the action ('Get a list') and resource ('products associated with a vendor in the CVE database'), making the purpose understandable. It distinguishes itself from sibling tools like 'list_cve_vendors' by focusing on products rather than vendors. However, it doesn't explicitly differentiate from 'get_cve' or 'search_cves', which could be related, so it's not a perfect 5.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'list_cve_vendors' (for listing vendors) or 'search_cves' (which might allow product filtering), nor does it specify prerequisites or exclusions. The source attribution ('Source: cve-search.org') adds minimal context but doesn't aid in tool selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rad-security/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server