Skip to main content
Glama

get_top_vulnerable_images

Identify and prioritize the most vulnerable container images in your Kubernetes or cloud environment using AI-powered security insights from RAD Security.

Instructions

Get the most vulnerable images from your account

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the tool logic by making an API request to retrieve the top vulnerable images.
    export async function getTopVulnerableImages( client: RadSecurityClient ): Promise<any> { return client.makeRequest( `/accounts/${client.getAccountId()}/reports/top_vulnerable_images`, {}, { headers: { "Accept": "application/json", }, } ); }
  • src/index.ts:195-199 (registration)
    Registers the tool in the MCP server's listTools response, defining its name, description, and input schema (empty object).
    { name: "get_top_vulnerable_images", description: "Get the most vulnerable images from your account", inputSchema: zodToJsonSchema(z.object({})), },
  • Defines the input schema for the tool as an empty object using Zod.
    inputSchema: zodToJsonSchema(z.object({})),
  • src/index.ts:544-549 (registration)
    Registers the tool handler in the MCP server's CallToolRequest switch statement, dispatching to the images.getTopVulnerableImages function.
    case "get_top_vulnerable_images": { const response = await images.getTopVulnerableImages(client); return { content: [{ type: "text", text: JSON.stringify(response, null, 2) }], }; }

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