Skip to main content
Glama

get_top_vulnerable_images

Identify and retrieve the most vulnerable container images from your RAD Security account to prioritize security remediation in Kubernetes and cloud environments.

Instructions

Get the most vulnerable images from your account

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The core handler function implementing the tool logic by calling the RAD Security API endpoint for 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:298-301 (registration)
    Tool registration in the listTools handler, defining name, description, and empty input schema.
    name: "get_top_vulnerable_images", description: "Get the most vulnerable images from your account", inputSchema: zodToJsonSchema(z.object({})), },
  • MCP callToolRequest dispatch handler that invokes the getTopVulnerableImages operation and formats the response.
    case "get_top_vulnerable_images": { const response = await images.getTopVulnerableImages(client); return { content: [ { type: "text", text: JSON.stringify(response, null, 2) }, ], }; }
  • Inline Zod schema for empty input parameters.
    inputSchema: zodToJsonSchema(z.object({})),

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