Skip to main content
Glama
KasperskyLab

Kaspersky OpenTIP MCP Server

Official
by KasperskyLab

get_full_analysis_result

Retrieve comprehensive security analysis reports for submitted files using their hash values to assess potential threats and malware detection.

Instructions

Get full analysis results for a file that was submitted via the web portal.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_hashYes

Implementation Reference

  • Registers the 'get_full_analysis_result' tool with the FastMCP server using the @mcp.tool decorator, including description and annotations.
    @mcp.tool( description="Get full analysis results for a file that was submitted via the web portal.", annotations=ToolAnnotations( title="Get full analysis results for a file", readOnlyHint=True, openWorldHint=True, ), )
  • The main handler function for the tool, which makes a POST request to the OpenTIP API's getresult/file endpoint using the provided file_hash.
    async def get_full_analysis_result(file_hash: str) -> dict[str, Any] | None: """Get full analysis results for a file that was submitted via the web portal. Args: file_hash: The hash of the file that you want to get analysis results for. """ params = {"request": file_hash} return await opentip_request(Endpoints.get_analysis_results, "post", params)

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/KasperskyLab/threat-intelligence'

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