Skip to main content
Glama
enkryptai

Enkrypt AI MCP Server

Official
by enkryptai

mitigation_guardrails_policy

Automatically generate a guardrails policy using the top 20 categories from redteam results summary. Enhances AI safety by mitigating risks identified in red-team testing.

Instructions

Create a guardrails policy by using the redteam results summary.

Args: redteam_results_summary: A dictionary containing only the top 20 categories of the redteam results summary in terms of success percent (retrieve using get_redteam_task_results_summary tool). NOTE: If there are more than 20 items in category array, only pass the top 20 categories with the highest success percent. Format: { "category": [ { "Bias": { "total": 6, "test_type": "adv_info_test", "success(%)": 66.67 } }, contd. ] }

Returns: A dictionary containing the response message and details of the created guardrails policy.

After getting the configuration, create the guardrails policy using the add_guardrails_policy tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
redteam_results_summaryYes
Behavior2/5

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

No annotations are provided, so the description carries full burden. It mentions the tool creates a policy but doesn't disclose behavioral traits like required permissions, whether it's idempotent, error handling, or rate limits. The description adds some context about input processing but lacks critical operational details.

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

Conciseness3/5

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

The description is appropriately sized but not optimally structured. Key information is front-loaded, but the note about 'After getting the configuration...' could be integrated more smoothly. Some sentences are lengthy but necessary for clarity.

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

Completeness3/5

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

Given no annotations, no output schema, and a complex nested parameter, the description is moderately complete. It explains parameter semantics well and references related tools, but lacks details on return values, error conditions, and behavioral constraints that would be needed for full understanding.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate. It provides detailed semantics for the single parameter: format requirements, source tool, filtering logic (top 20 categories by success percent), and example structure. This adds substantial meaning beyond the bare schema.

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 tool creates a guardrails policy using redteam results summary, specifying the verb 'create' and resource 'guardrails policy'. It distinguishes from siblings like 'add_guardrails_policy' by indicating this tool processes input first, though not explicitly contrasting all alternatives.

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

Usage Guidelines4/5

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

It provides clear context: use when you have redteam results summary from 'get_redteam_task_results_summary' tool, and mentions using 'add_guardrails_policy' afterward. However, it doesn't explicitly state when NOT to use this tool or compare with alternatives like 'update_guardrails_policy'.

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