Skip to main content
Glama

Enkrypt AI MCP Server

Official
by enkryptai

get_redteam_task_status

Retrieve the status of a red team task using test name to monitor AI safety analysis and prompt auditing progress on the Enkrypt AI MCP Server.

Instructions

Get the status of a redteam task.

Args: test_name: The name of the redteam test.

Returns: A dictionary containing the status of the redteam task.

Input Schema

NameRequiredDescriptionDefault
test_nameYes

Input Schema (JSON Schema)

{ "properties": { "test_name": { "title": "Test Name", "type": "string" } }, "required": [ "test_name" ], "title": "get_redteam_task_statusArguments", "type": "object" }

Implementation Reference

  • The handler function for the 'get_redteam_task_status' MCP tool. It is decorated with @mcp.tool() which handles registration with the FastMCP server. The function takes a test_name parameter, calls redteam_client.status(test_name=test_name), and returns the result as a dictionary. Type hints and docstring provide the input/output schema.
    @mcp.tool() def get_redteam_task_status(test_name: str) -> Dict[str, Any]: """ Get the status of a redteam task. Args: test_name: The name of the redteam test. Returns: A dictionary containing the status of the redteam task. """ # Get redteam task status redteam_task_status = redteam_client.status(test_name=test_name) return redteam_task_status.to_dict()

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/enkryptai/enkryptai-mcp-server'

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