Skip to main content
Glama
enkryptai

Enkrypt AI MCP Server

Official
by enkryptai

get_redteam_task_details

Retrieve detailed information about a red teaming task, including the system prompt of the target model, for AI safety analysis and prompt auditing.

Instructions

Retrieve details of a redteam task.

Args: test_name: The name of the redteam test.

Returns: A dictionary containing the details of the redteam task including the system prompt of the target model used.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
test_nameYes

Implementation Reference

  • The handler function for the 'get_redteam_task_details' MCP tool. Decorated with @mcp.tool() for automatic registration. Retrieves redteam task details via redteam_client.get_task(test_name) and returns the result as a dictionary.
    @mcp.tool()
    def get_redteam_task_details(test_name: str) -> Dict[str, Any]:
        """
        Retrieve details of a redteam task.
    
        Args:
            test_name: The name of the redteam test.
    
        Returns:
            A dictionary containing the details of the redteam task including the system prompt of the target model used.
        """
        # Retrieve redteam task details
        redteam_task = redteam_client.get_task(test_name=test_name)
    
        # Print as a dictionary
        return redteam_task.to_dict()
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool retrieves details but doesn't specify permissions needed, rate limits, error handling, or what happens if the test_name doesn't exist. For a read operation with zero annotation coverage, this leaves significant behavioral gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized and front-loaded, with the core purpose stated first followed by brief sections for args and returns. Every sentence earns its place, though the structure is simple and could be more polished.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of retrieving task details, no annotations, no output schema, and low schema coverage, the description is incomplete. It mentions the return includes 'the system prompt of the target model used', but doesn't fully describe the dictionary structure or other possible fields, leaving gaps for effective tool use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds minimal semantics beyond the input schema. It documents the single parameter 'test_name' and its purpose, but with 0% schema description coverage, it doesn't fully compensate by explaining format constraints or examples. The baseline is 3 since it provides some value, but more detail would be helpful given the low schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'retrieve' and the resource 'details of a redteam task', making the purpose specific. However, it doesn't explicitly differentiate from sibling tools like 'get_redteam_task_results_summary' or 'get_redteam_task_status', which could retrieve related but different information about redteam tasks.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. With siblings like 'get_redteam_task_results_summary' and 'get_redteam_task_status' that might retrieve overlapping or complementary data, the description lacks context for choosing between them, offering no explicit when/when-not instructions or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Related Tools

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