Skip to main content
Glama

mark_inbox_item_as_false_positive

Mark security alerts as false positives in RAD Security's inbox to reduce noise and focus on genuine threats by providing a reason for the classification.

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
valueNoWhether to mark the item as false positive (true) or not (false)
reasonYesReason for marking the item as false positive

Implementation Reference

  • Core handler function that executes the logic: constructs payload and makes PUT request to mark inbox item as false positive via the client.
    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 input schema defining parameters: inbox_item_id, value (default true), reason.
    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:483-488 (registration)
    Tool registration in listTools handler: defines 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 ),
  • MCP CallToolRequest handler case: parses arguments with schema, calls core handler, returns JSON response.
    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