Skip to main content
Glama

get_threat

Retrieve detailed information about a specific security threat by providing its unique ID, enabling targeted analysis and response planning.

Instructions

Get a specific threat by ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
threat_idYes

Implementation Reference

  • MCP tool handler for the 'get_threat' tool. It creates an API client, calls get_threat on it with the provided threat_id, and returns the result as a string.
    @mcp.tool() async def get_threat(threat_id: str) -> str: """Get a specific threat by ID""" async with create_client_from_env() as client: result = await client.get_threat(threat_id) return str(result)
  • API client helper method that implements the core logic for fetching a threat by ID via HTTP GET request to the Devici API endpoint /threats/{threat_id}.
    async def get_threat(self, threat_id: str) -> Dict[str, Any]: """Get specific threat by ID.""" return await self._make_request("GET", f"/threats/{threat_id}")

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/geoffwhittington/devici-mcp'

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