UseGrant MCP Server

Official

create_tenant_provider_policy

Create a new policy for a tenant provider

Input Schema

NameRequiredDescriptionDefault
audienceYesThe audience of the tenant provider policy
conditionsYesThe conditions of the tenant provider policy
descriptionYesThe description of the tenant provider policy
nameYesThe name of the tenant provider policy
providerIdYesThe ID of the tenant provider
tenantIdYesThe ID of the tenant

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "audience": { "description": "The audience of the tenant provider policy", "maxLength": 100, "minLength": 3, "type": "string" }, "conditions": { "description": "The conditions of the tenant provider policy", "items": { "additionalProperties": false, "properties": { "key": { "description": "The key of the condition", "maxLength": 10, "minLength": 1, "type": "string" }, "operator": { "description": "The operator of the condition", "enum": [ "stringEquals", "stringLike", "stringNotEquals", "stringNotLike" ], "type": "string" }, "value": { "description": "The value of the condition", "maxLength": 100, "minLength": 1, "type": "string" } }, "required": [ "key", "operator", "value" ], "type": "object" }, "maxItems": 5, "minItems": 1, "type": "array" }, "description": { "description": "The description of the tenant provider policy", "maxLength": 100, "minLength": 10, "type": "string" }, "name": { "description": "The name of the tenant provider policy", "minLength": 3, "type": "string" }, "providerId": { "description": "The ID of the tenant provider", "minLength": 1, "type": "string" }, "tenantId": { "description": "The ID of the tenant", "minLength": 1, "type": "string" } }, "required": [ "tenantId", "providerId", "name", "description", "audience", "conditions" ], "type": "object" }