Skip to main content
Glama

Enkrypt AI MCP Server

Official
by enkryptai

get_guardrails_policy

Retrieve all guardrails policies to enforce AI safety, analyze prompts, and detect jailbreak attempts in real-time through the Enkrypt AI MCP Server.

Instructions

Get all guardrails policies.

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "title": "get_guardrails_policyArguments", "type": "object" }

Implementation Reference

  • The core handler function for the 'get_guardrails_policy' MCP tool. It is registered via the @mcp.tool() decorator and fetches the list of all guardrails policies from the guardrails_client, returning the result as a dictionary.
    def get_guardrails_policy() -> Dict[str, Any]: """ Get all guardrails policies. """ response = guardrails_client.get_policy_list() return response.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