Skip to main content
Glama

list_dashboards

Retrieve and display dashboards from RAD Security to monitor security insights in Kubernetes and cloud environments.

Instructions

List dashboards for the account

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of results to return (default: 10, min: 1)
offsetNoPagination offset (default: 0, min: 0)

Implementation Reference

  • The handler function that executes the list_dashboards tool by calling the RAD Security API to list dashboards with pagination parameters.
    export async function listDashboards( client: RadSecurityClient, limit: number = 50, offset: number = 0 ): Promise<any> { const params: Record<string, any> = { limit, offset }; return client.makeRequest( `/accounts/${client.getAccountId()}/dashboards`, params ); }
  • Zod input schema for the list_dashboards tool, defining optional limit and offset parameters.
    export const ListDashboardsSchema = z.object({ limit: z.number().optional().default(10).describe("Maximum number of results to return (default: 10, min: 1)"), offset: z.number().optional().default(0).describe("Pagination offset (default: 0, min: 0)"), });
  • src/index.ts:685-688 (registration)
    Registration of the list_dashboards tool in the MCP listTools handler, specifying name, description, and input schema.
    name: "list_dashboards", description: "List dashboards for the account", inputSchema: zodToJsonSchema(dashboards.ListDashboardsSchema), },
  • src/index.ts:1658-1672 (registration)
    Dispatch handler in the MCP callTool request that parses arguments, calls the listDashboards function, and returns the JSON response.
    case "list_dashboards": { const args = dashboards.ListDashboardsSchema.parse( request.params.arguments ); const response = await dashboards.listDashboards( client, args.limit, args.offset ); 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