Skip to main content
Glama

Update a Hive AI policy

update_ai_policy
Idempotent

Change one Hive AI policy. Enabling one is refused unless the person is an owner or admin.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
toneNo
statusNoNative lifecycle status. The legacy disabled value is accepted as paused.
policyIdYesThe policy to change.
goalEventNoOptional goal event, or null to clear it.
languagesNo
policyTypeNo
instructionNo
outputSchemaNoThe policy output schema stored by Hive.
piiRedactionNoRedact personal information before evaluation.
allowedTopicsNo
blockedTopicsNo
retentionDaysNoStored result retention, from 0 to 3650 days.
fallbackActionNo
idempotencyKeyYesA caller-generated unique key (8-200 characters). Reuse it only when retrying this exact write.
injectionDefenseNoEnable the native injection checks.
requireCitationsNo
knowledgeSourceIdsNoExact knowledge source ids to use; an empty list restores the native default.
confidenceThresholdNo
providerConnectionIdNoSaved provider connection id, or null for the workspace default.
requireHumanApprovalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • addedInput schema / properties / goalEvent
      Added value: +{
      +  "description": "Optional goal event, or null to clear it.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / injectionDefense
      Added value: +{
      +  "description": "Enable the native injection checks.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / knowledgeSourceIds
      Added value: +{
      +  "description": "Exact knowledge source ids to use; an empty list restores the native default.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / outputSchema
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "The policy output schema stored by Hive.",
      +  "type": "object"
      +}
    • addedInput schema / properties / piiRedaction
      Added value: +{
      +  "description": "Redact personal information before evaluation.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / policyType
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / providerConnectionId
      Added value: +{
      +  "description": "Saved provider connection id, or null for the workspace default.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedInput schema / properties / retentionDays
      Added value: +{
      +  "description": "Stored result retention, from 0 to 3650 days.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / status / description
      Added value: +"Native lifecycle status. The legacy disabled value is accepted as paused."
    • changedInput schema / properties / status / enum
      Previous value: -[
      -  "draft",
      -  "enabled",
      -  "disabled"
      -]New value: +[
      +  "draft",
      +  "enabled",
      +  "paused",
      +  "archived",
      +  "disabled"
      +]
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources