Skip to main content
Glama

create_guardrail

Create content moderation and security guardrails with configurable checks and actions to filter and control API requests.

Instructions

Create a new guardrail with specified checks and actions for content moderation and security

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName of the guardrail
checksYesArray of checks to apply (at least one required)
actionsYesActions to take when guardrail checks pass or fail
workspace_idNoWorkspace ID to create the guardrail in
organisation_idNoOrganisation ID (required if workspace_id not provided)

Other 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/s-b-e-n-s-o-n/portkey-admin-mcp'

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