Skip to main content
Glama

get_dashboard_template

Retrieve detailed information about a specific security dashboard template to monitor Kubernetes and cloud environments through the RAD Security MCP server.

Instructions

Get detailed information about a specific dashboard template

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dashboard_template_idYesID of the dashboard template

Implementation Reference

  • The handler function that executes the core logic of the 'get_dashboard_template' tool by making an API request to retrieve the specific dashboard template.
    export async function getDashboardTemplate( client: RadSecurityClient, dashboard_template_id: string ): Promise<any> { return client.makeRequest( `/accounts/${client.getAccountId()}/dashboards/templates/${dashboard_template_id}` ); }
  • Zod schema defining the input validation for the tool, requiring 'dashboard_template_id'.
    export const GetDashboardTemplateSchema = z.object({ dashboard_template_id: z.string().describe("ID of the dashboard template"), });
  • src/index.ts:676-682 (registration)
    Registration of the tool in the ListTools handler, specifying name, description, and input schema.
    { name: "get_dashboard_template", description: "Get detailed information about a specific dashboard template", inputSchema: zodToJsonSchema( dashboards.GetDashboardTemplateSchema ),
  • src/index.ts:1644-1656 (registration)
    Handler for CallToolRequest in the switch statement, which parses input, calls the tool handler, and formats the response.
    case "get_dashboard_template": { const args = dashboards.GetDashboardTemplateSchema.parse( request.params.arguments ); const response = await dashboards.getDashboardTemplate( client, args.dashboard_template_id ); 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