Skip to main content
Glama
ZeroPathAI

ZeroPath MCP Server

Official
by ZeroPathAI

mark_true_positive

Confirm a security vulnerability as legitimate by marking it as a true positive, enabling accurate tracking and prioritization of security issues.

Instructions

Mark a security issue as a true positive (confirmed vulnerability). Args: issue_id: The ID of the issue to mark as true positive

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
issue_idYes

Implementation Reference

  • The handler function decorated with @mcp.tool(), which registers and implements the mark_true_positive tool. It validates input, makes an API request to mark the issue as true positive, and handles responses/errors.
    @mcp.tool() def mark_true_positive(issue_id: str) -> str: """ Mark a security issue as a true positive (confirmed vulnerability). Args: issue_id: The ID of the issue to mark as true positive """ if not issue_id: return "Error: Issue ID is required" response, error = make_api_request( "issues/mark-true-positive", {"issueId": issue_id} ) if error: return error if response.status_code == 200: return f"Issue {issue_id} marked as true positive successfully" elif response.status_code == 401: return "Error: Unauthorized - check API credentials" elif response.status_code == 400: return f"Error: Bad request - {response.text}" else: return f"Error: API returned status {response.status_code}: {response.text}"
  • The @mcp.tool() decorator registers the mark_true_positive function as an MCP tool.
    @mcp.tool()

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/ZeroPathAI/zeropath-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server