Skip to main content
Glama
KasperskyLab

Kaspersky OpenTIP MCP Server

Official
by KasperskyLab

get_full_analysis_result

Retrieve comprehensive security analysis results for a submitted file using its hash to assess potential threats and malware detection status.

Instructions

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

Input Schema

NameRequiredDescriptionDefault
file_hashYes

Input Schema (JSON Schema)

{ "properties": { "file_hash": { "title": "File Hash", "type": "string" } }, "required": [ "file_hash" ], "type": "object" }

Implementation Reference

  • The main handler function for the 'get_full_analysis_result' tool. It takes a file_hash parameter and makes a POST request to the OpenTIP API's 'getresult/file' endpoint to retrieve full analysis results.
    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)
  • The @mcp.tool decorator registers the 'get_full_analysis_result' function as an MCP tool with 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, ), )

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