Skip to main content
Glama

mark_inbox_item_as_false_positive

Mark an inbox item as a false positive in RAD Security's MCP server by specifying the item ID and providing a reason, ensuring accurate security alerts in Kubernetes and cloud environments.

Instructions

Mark an inbox item as a false positive with a reason

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inbox_item_idYesID of the inbox item to mark as false positive
reasonYesReason for marking the item as false positive
valueNoWhether to mark the item as false positive (true) or not (false)

Implementation Reference

  • Core handler function that executes the tool logic by sending a PUT request to mark the inbox item as false positive.
    export async function markInboxItemAsFalsePositive( client: RadSecurityClient, inboxItemId: string, value: boolean = true, reason: string ): Promise<any> { const payload: Record<string, any> = { value, reason }; return client.makeRequest( `/accounts/${client.getAccountId()}/inbox_items/${inboxItemId}/mark_false_positive`, {}, { method: "PUT", body: payload } ); }
  • Zod schema defining the input parameters for the tool.
    export const MarkInboxItemAsFalsePositiveSchema = z.object({ inbox_item_id: z.string().describe("ID of the inbox item to mark as false positive"), value: z.boolean().default(true).describe("Whether to mark the item as false positive (true) or not (false)"), reason: z.string().describe("Reason for marking the item as false positive"), });
  • src/index.ts:326-330 (registration)
    Tool registration in the list of available tools, including name, description, and input schema.
    { name: "mark_inbox_item_as_false_positive", description: "Mark an inbox item as a false positive with a reason", inputSchema: zodToJsonSchema(inbox.MarkInboxItemAsFalsePositiveSchema), },
  • src/index.ts:737-748 (registration)
    MCP server request handler case that parses arguments and calls the core handler function.
    case "mark_inbox_item_as_false_positive": { const args = inbox.MarkInboxItemAsFalsePositiveSchema.parse(request.params.arguments); const response = await inbox.markInboxItemAsFalsePositive( client, args.inbox_item_id, args.value, args.reason ); 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