Skip to main content
Glama
threat-zone

Threat.Zone MCP Server

by threat-zone

interpret_threat_level

Convert numeric threat level values (0-3) into clear, human-readable descriptions for malware analysis results.

Instructions

Interpret a numeric threat level value from analysis results.

Args: level_value: Numeric threat level (0-3)

Returns: Human-readable threat level description

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
level_valueYes

Implementation Reference

  • The main tool handler: async function that interprets numeric threat level (0-3) to descriptive strings using a dictionary lookup.
    @app.tool async def interpret_threat_level(level_value: int) -> str: """ Interpret a numeric threat level value from analysis results. Args: level_value: Numeric threat level (0-3) Returns: Human-readable threat level description """ level_map = { 0: "Unknown", 1: "Informative", 2: "Suspicious", 3: "Malicious" } return level_map.get(level_value, f"Unknown level: {level_value}")
  • The @app.tool decorator registers the interpret_threat_level function as an MCP tool.
    @app.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/threat-zone/threatzonemcp'

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