Skip to main content
Glama
rad-security

RAD Security

Official
by rad-security

get_latest_30_cves

Retrieve the 30 most recent CVEs with CAPEC, CWE, and CPE expansions from cve-search.org for security monitoring and vulnerability assessment.

Instructions

Get the latest/newest 30 CVEs including CAPEC, CWE and CPE expansions. Source: cve-search.org

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core handler function that fetches the latest 30 CVEs from the CVE Search API (https://cve.circl.lu/api/last). This is the exact implementation of the tool logic.
    export async function getLatest30Cves(): Promise<any> {
      const response = await fetch(`${BASE_URL}/last`);
      if (!response.ok) {
        throw new Error(`Failed to get last CVEs: ${response.statusText}`);
      }
      return response.json();
    }
  • src/index.ts:471-475 (registration)
    Registration of the 'get_latest_30_cves' tool in the ListToolsRequest handler, defining its name, description, and parameterless input schema.
    {
      name: "get_latest_30_cves",
      description:
        "Get the latest/newest 30 CVEs including CAPEC, CWE and CPE expansions. Source: cve-search.org",
      inputSchema: zodToJsonSchema(z.object({})),
  • Execution handler in the CallToolRequest switch statement that calls the getLatest30Cves function from cves module and returns the JSON-formatted response.
    case "get_latest_30_cves": {
      const response = await cves.getLatest30Cves();
      return {
        content: [
          { type: "text", text: JSON.stringify(response, null, 2) },
        ],
      };
    }
  • Input schema definition for the tool: empty object since the tool takes no parameters.
    "Get the latest/newest 30 CVEs including CAPEC, CWE and CPE expansions. Source: cve-search.org",
  • Base URL constant used by all CVE-related functions, including getLatest30Cves.
    const BASE_URL = "https://cve.circl.lu/api";
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the source ('cve-search.org'), which adds useful context about data origin, but does not cover other behavioral aspects such as rate limits, authentication needs, error handling, or response format. The description is informative but lacks comprehensive behavioral details.

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 a single, efficient sentence that front-loads the core functionality ('Get the latest/newest 30 CVEs') and adds valuable details ('including CAPEC, CWE and CPE expansions. Source: cve-search.org') without any waste. Every part of the sentence contributes meaningfully to understanding the tool.

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 complexity (retrieving CVEs with expansions), lack of annotations, and no output schema, the description provides a good overview but is incomplete. It specifies what data is included and the source, but does not describe the return structure, potential errors, or operational constraints, which could hinder an agent's ability to use it effectively.

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?

The input schema has 0 parameters with 100% coverage, so no parameter documentation is needed. The description appropriately does not discuss parameters, focusing instead on the tool's output scope. This meets the baseline for tools with no parameters, as it avoids unnecessary repetition.

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 clearly states the action ('Get'), the resource ('latest/newest 30 CVEs'), and specific details about what's included ('CAPEC, CWE and CPE expansions'). It distinguishes from sibling 'get_cve' and 'search_cves' by specifying a fixed count of 30 and the 'latest/newest' qualifier, making the purpose specific and differentiated.

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?

The description implies usage context by specifying 'latest/newest 30 CVEs', suggesting this tool is for retrieving recent vulnerabilities. However, it does not explicitly state when to use this versus alternatives like 'get_cve' or 'search_cves', or provide any exclusions or prerequisites, leaving some ambiguity 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