Skip to main content
Glama
rad-security

RAD Security

Official
by rad-security

update_security_finding_status

Update security finding status to open, closed, or ignored in RAD Security's Kubernetes and cloud environment monitoring.

Instructions

Update the status of a security finding

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesFinding ID to update
statusYesNew status for the finding

Implementation Reference

  • Core handler function that executes the tool logic by making a PUT request to update the status of a unified finding group.
    export async function updateFindingGroupStatus(
      client: RadSecurityClient,
      id: string,
      status: string
    ): Promise<void> {
      const data = { status };
      await client.makeRequest(
        `/accounts/${client.getAccountId()}/unified_findings/groups/${id}/status`,
        {},
        {
          method: "PUT",
          body: data,
        }
      );
    }
  • Zod input schema defining the tool parameters: finding ID and new status.
    export const updateFindingStatusSchema = z.object({
      id: z.string().describe("Finding ID to update"),
      status: z.enum(statuses).describe("New status for the finding"),
    });
  • src/index.ts:432-436 (registration)
    Tool registration in the ListToolsRequest handler, specifying name, description, and input schema.
        name: "update_security_finding_status",
        description: "Update the status of a security finding",
        inputSchema: zodToJsonSchema(findings.updateFindingStatusSchema),
      },
    ]
  • src/index.ts:1265-1288 (registration)
    Tool handler dispatch in the CallToolRequest switch statement, which validates input and invokes the core handler.
    case "update_security_finding_status": {
      const args = findings.updateFindingStatusSchema.parse(
        request.params.arguments
      );
      await findings.updateFindingGroupStatus(
        client,
        args.id,
        args.status
      );
      return {
        content: [
          {
            type: "text",
            text: JSON.stringify(
              {
                success: true,
                message: `Finding ${args.id} status updated to ${args.status}`,
              },
              null,
              2
            ),
          },
        ],
      };
  • Const array defining valid status values used in schema and API calls.
    export const statuses = ["open", "closed", "ignored"] as const;
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool updates a finding status but lacks critical details: whether this requires specific permissions, if the change is reversible, what side effects occur (e.g., notifications, audit trails), or rate limits. For a mutation tool, this is a significant gap in transparency.

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, direct sentence with zero wasted words, efficiently conveying the core action. It's appropriately front-loaded and avoids unnecessary elaboration, making it easy to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations and no output schema, the description is incomplete. It doesn't address behavioral aspects like permissions, side effects, or response format, nor does it guide usage relative to sibling tools. This leaves the agent with insufficient context for safe and effective invocation.

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?

The input schema has 100% description coverage, clearly documenting both parameters ('id' and 'status' with enum values). The description adds no additional semantic context beyond what the schema provides, such as format examples for 'id' or implications of status choices. This meets the baseline for high schema coverage.

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 action ('Update') and the resource ('security finding status'), making the purpose immediately understandable. However, it doesn't differentiate this tool from potential sibling tools that might also modify security findings, such as those that could update other attributes beyond status.

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. Given the sibling tools include 'list_security_findings' and 'mark_inbox_item_as_false_positive', there's no indication of prerequisites, sequencing, or contextual triggers for status updates, leaving usage ambiguous.

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