Skip to main content
Glama
rad-security

RAD Security

Official
by rad-security

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) },
        ],
      };
Behavior2/5

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

No annotations are provided, so the description carries full burden. It states the tool retrieves 'detailed information', implying a read-only operation, but doesn't disclose behavioral traits such as authentication requirements, rate limits, error conditions (e.g., invalid ID handling), or response format. For a tool with no annotation coverage, this leaves significant gaps in understanding how it behaves.

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 with zero waste. It front-loads the core purpose ('Get detailed information') and specifies the resource clearly. Every word earns its place, making it easy to parse quickly.

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 low complexity (single required parameter, no nested objects) and high schema coverage, the description is minimally adequate. However, with no annotations and no output schema, it lacks details on behavioral aspects (e.g., what 'detailed information' includes) and response format, leaving room for improvement in guiding the agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with the single parameter 'dashboard_template_id' fully documented in the schema. The description adds no additional parameter semantics beyond implying specificity ('a specific dashboard template'), which is already clear from the schema. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Get') and resource ('dashboard template'), specifying it provides 'detailed information about a specific dashboard template'. It distinguishes from sibling tools like 'list_dashboard_templates' by focusing on a single template rather than listing multiple. However, it doesn't explicitly contrast with 'get_dashboard' or 'get_widget_template', which could cause confusion about scope boundaries.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing a template ID), differentiate from similar tools like 'get_dashboard' or 'get_widget_template', or specify use cases (e.g., for template customization or analysis). The agent must infer usage from the name and parameter alone.

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