Skip to main content
Glama
threat-zone

Threat.Zone MCP Server

by threat-zone

get_my_submissions

Retrieve your malware analysis submissions with pagination to manage and review threat investigation history on Threat.Zone MCP Server.

Instructions

Get user's submissions with pagination.

Args: page: Page number (default: 1) jump: Number of items per page (default: 10)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
jumpNo

Implementation Reference

  • The handler function for the 'get_my_submissions' MCP tool. It is registered via the @app.tool decorator and fetches the user's submissions with pagination parameters using the shared API client.
    @app.tool async def get_my_submissions(page: int = 1, jump: int = 10) -> Dict[str, Any]: """ Get user's submissions with pagination. Args: page: Page number (default: 1) jump: Number of items per page (default: 10) """ return await get_client().get(f"/public-api/get/my-submissions/{page}/{jump}")
  • The @app.tool decorator registers the get_my_submissions function as an MCP tool on the FastMCP server instance.
    @app.tool
  • The get_client() helper function used by get_my_submissions to obtain the API client instance for making the HTTP request.
    def get_client(): """Get or create the API client.""" global client if client is None: if not API_KEY: raise ThreatZoneError("THREATZONE_API_KEY environment variable is required") client = APIClient(API_KEY) return client

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