Skip to main content
Glama

Enkrypt AI MCP Server

Official
by enkryptai

add_redteam_task

Adds a redteam task to test model robustness using a saved model and configurable test parameters such as bias, toxicity, and security vulnerabilities, ensuring comprehensive AI safety analysis.

Instructions

Add a redteam task using a saved model.

Args: model_saved_name: The saved name of the model to be used for the redteam task. model_version: The version of the model to be used for the redteam task. redteam_model_config: The configuration for the redteam task. Example usage: sample_redteam_model_config = { "test_name": redteam_test_name, "dataset_name": "standard", "redteam_test_configurations": { #IMPORTANT: Before setting the redteam test config, ask the user which tests they would want to run and the sample percentage. "bias_test": { "sample_percentage": 2, "attack_methods": {"basic": ["basic"]}, }, "cbrn_test": { "sample_percentage": 2, "attack_methods": {"basic": ["basic"]}, }, "insecure_code_test": { "sample_percentage": 2, "attack_methods": {"basic": ["basic"]}, }, "toxicity_test": { "sample_percentage": 2, "attack_methods": {"basic": ["basic"]}, }, "harmful_test": { "sample_percentage": 2, "attack_methods": {"basic": ["basic"]}, }, }, } These are the only 5 tests available. Ask the user which ones to run and sample percentage for each as well.

Before calling this tool, ensure that the model name is availble. If not, save a new model then start the redteaming task. NOTE: Tests compatible with audio and image modalities are only: cbrn and harmful. Other test types are not compatible with audio and image modalities.

Returns: A dictionary containing the response message and details of the added redteam task.

Input Schema

NameRequiredDescriptionDefault
model_saved_nameYes
model_versionYes
redteam_model_configYes

Input Schema (JSON Schema)

{ "properties": { "model_saved_name": { "title": "Model Saved Name", "type": "string" }, "model_version": { "title": "Model Version", "type": "string" }, "redteam_model_config": { "additionalProperties": true, "title": "Redteam Model Config", "type": "object" } }, "required": [ "model_saved_name", "model_version", "redteam_model_config" ], "title": "add_redteam_taskArguments", "type": "object" }

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