HallucC — Hallucination & Safety Guardian

Fact-check LLM outputs with cited sources. API key: aihcc.cloud/keys.

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
100%
Vollständigkeit des Schemas
99%
Qualität der Benennung
97%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~5,960Tokens (Tool-Definitionen)
~8.1 KBTypische Antwortgröße
Erhebliche Auswirkung auf die Aufmerksamkeit (4.66% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "hallucc": {
      "url": "https://aihcc.cloud/mcp"
    }
  }
}

Remote-Endpunkte

https://aihcc.cloud/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (7)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢verify_text(text, strict, domain, speed, model)

Claim-by-claim hallucination verification. Input text is split into claims, and each claim is verified (supported / refuted / unverified) with source citations. Returns a red/yellow/green summary plus each claim's status, confidence, reason and sources, along with citations and quota. Consumes detect quota (shared with the web dashboard).

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 50000,
      "description": "Text to verify"
    },
    "strict": {
      "description": "Strict mode (self-consistency). Omit to use the global default.",
      "type": "boolean"
    },
    "domain": {
      "description": "Domain mode: general|medical|legal|finance|education|government",
      "type": "string",
      "enum": [
        "general",
        "medical",
        "legal",
        "finance",
        "education",
        "government"
      ]
    },
    "speed": {
      "description": "Speed mode: fast|standard|deep (default: standard)",
      "type": "string",
      "enum": [
        "fast",
        "standard",
        "deep"
      ]
    },
    "model": {
      "description": "Model name under test (optional; shown on the share card)",
      "type": "string",
      "maxLength": 50
    }
  },
  "required": [
    "text"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "detection_id": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    },
    "input": {
      "type": [
        "string",
        "null"
      ]
    },
    "summary": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "total": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            },
            "red": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            },
            "yellow": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            },
            "green": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            },
            "hallucination_risk": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "claims": {
      "anyOf": [
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "citations": {
      "anyOf": [
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "math_issues": {
      "anyOf": [
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "strict": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "domain": {
      "type": [
        "string",
        "null"
      ]
    },
    "speed": {
      "type": [
        "string",
        "null"
      ]
    },
    "elapsed_ms": {
      "type": [
        "number",
        "null"
      ]
    },
    "quota": {
      "anyOf": [
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢verify_agent(agent_output, steps, task, tool_schemas, domain, ...)

Agent output and trajectory self-check. Runs claim-by-claim hallucination verification on the final answer and a six-dimension structured evaluation of the execution trajectory (factuality, sourcing, instruction compliance, tool-claim consistency, task completion, reflection). Returns main.claims, steps[].checks and quota. Consumes detect quota.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "agent_output": {
      "type": "string",
      "minLength": 1,
      "maxLength": 50000,
      "description": "The agent's final output text (1-50,000 characters)"
    },
    "steps": {
      "description": "Agent execution trajectory, graded step by step across six dimensions",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "step": {
            "description": "Step number (default: 1)",
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "tool": {
            "description": "Tool called in this step",
            "type": "string"
          },
          "tool_input": {
            "description": "Tool input",
            "type": "string"
          },
          "tool_output": {
            "description": "Tool output",
            "type": "string"
          },
          "agent_claim": {
            "description": "The agent's claim for this step",
            "type": "string"
          }
        },
        "description": "A single agent trajectory step"
      }
    },
    "task": {
      "description": "Original task instruction (used by the task_completion judge)",
      "type": "string"
    },
    "tool_schemas": {
      "description": "Tool schemas (aligned with the trajectory endpoint)",
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "domain": {
      "description": "Domain mode: general|medical|legal|finance|education|government",
      "type": "string",
      "enum": [
        "general",
        "medical",
        "legal",
        "finance",
        "education",
        "government"
      ]
    },
    "speed": {
      "description": "Speed mode: fast|standard|deep (default: standard)",
      "type": "string",
      "enum": [
        "fast",
        "standard",
        "deep"
      ]
    }
  },
  "required": [
    "agent_output"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "detection_id": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    },
    "main": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "input": {
              "type": [
                "string",
                "null"
              ]
            },
            "summary": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "total": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "red": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "yellow": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "green": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "hallucination_risk": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": {}
                },
                {
                  "type": "null"
                }
              ]
            },
            "claims": {
              "anyOf": [
                {
                  "type": "array",
                  "items": {}
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "steps": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "type": "object",
                "propertyNames": {
                  "type": "string"
                },
                "additionalProperties": {}
              },
              {
                "type": "null"
              }
            ]
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "agent_eval": {
      "anyOf": [
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "quota": {
      "anyOf": [
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢check_cua_actions(actions, session_id, task_scope)

Computer-Use Agent action risk grading. Submit an action trajectory and receive a step-by-step verdict of L0 (allow) / L1 (allow + log) / L2 (require confirmation) / L3 (block) / takeover (suspend in credential scenarios and wait for the user to type manually), together with matched_rules, outcome and L0-L3 tallies. The response includes ruleset_version and a disclaimer (results are grading guidance only; no enforcement is performed). Coverage: sensitive paths, destructive commands, irreversible element semantics; domain grading (unknown-domain navigation -> L2, blocklisted domains and sensitive pastes into unknown domains -> L3, payment amounts above threshold -> L3); credential vocabularies and takeover on payment/login domains; task_scope intent deviation (out of scope escalates one level and can only narrow); multi-agent delegation chain fields (each action may carry chain_id/agent_id/parent_agent_id/delegation_depth; when provided the server adds chain-level cross-hop taint analysis, raising the aggregate level to L3 and setting risk_diluted on cross-agent propagation, returned in the chain_trace field; omitted means no effect). Pure rule-based: no LLM calls, no quota consumed. Use it for safety self-checks before and after agent execution.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "actions": {
      "minItems": 1,
      "maxItems": 500,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "action": {
            "description": "Action name (click/press/hotkey/write/move...); inferred from coordinates when omitted",
            "type": "string"
          },
          "x": {
            "description": "X coordinate of the click",
            "type": "number"
          },
          "y": {
            "description": "Y coordinate of the click",
            "type": "number"
          },
          "coordinate": {
            "description": "[x, y] pair (alternative to x/y)",
            "type": "array",
            "items": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              }
            ],
            "additionalItems": false,
            "minItems": 2,
            "maxItems": 2
          },
          "action_input": {
            "description": "ReAct-style input alias -> text",
            "type": "string"
          },
          "text": {
            "description": "Content for type/key/paste",
            "type": "string"
          },
          "target_app": {
            "description": "Target application",
            "type": "string"
          },
          "app": {
            "description": "Alias for target_app",
            "type": "string"
          },
          "target_element": {
            "description": "Target element label",
            "type": "string"
          },
          "element": {
            "description": "Alias for target_element",
            "type": "string"
          },
          "target_path": {
            "description": "File operation path / terminal command path",
            "type": "string"
          },
          "path": {
            "description": "Alias for target_path",
            "type": "string"
          },
          "target_url": {
            "description": "Target URL of browser actions (used by domain grading, unknown-domain navigation and paste-into-unknown-domain rules)",
            "type": "string"
          },
          "url": {
            "description": "Alias for target_url",
            "type": "string"
          },
          "thought": {
            "description": "Agent reasoning text (audit trail)",
            "type": "string"
          },
          "task_scope": {
            "description": "P1-5 Declared allowed task scope (read per action by the server; out of scope escalates one level and can only narrow)",
            "type": "object",
            "properties": {
              "task": {
                "type": "string",
                "minLength": 1,
                "description": "Declared task intent (for example, \"summarize this week's meeting notes\")"
              },
              "allowed_apps": {
                "description": "Allowed foreground applications",
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "allowed_domains": {
                "description": "Allowed domains (suffix match, including subdomains)",
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "forbidden_elements": {
                "description": "Forbidden element labels (highest priority)",
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "task"
            ]
          },
          "chain_id": {
            "description": "P1-9 Multi-agent delegation chain id (uuid hex); when provided, audit records aggregate across sessions by chain_id and a chain view is available at /cua/audit",
            "type": "string"
          },
          "agent_id": {
            "description": "P1-9 Name of the agent this action belongs to (e.g. research); used with registered_agents for registration validation",
            "type": "string"
          },
          "parent_agent_id": {
            "description": "P1-9 Name of the delegating agent; cross-agent propagation chains are paired with this",
            "type": "string"
          },
          "delegation_depth": {
            "description": "P1-9 Delegation depth (root agent = 0); exceeding delegation_max_depth escalates to L2",
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          }
        },
        "description": "A single CUA action"
      },
      "description": "Action sequence to grade (1-500 actions)"
    },
    "session_id": {
      "description": "When provided, grading results are written to the audit table and can be replayed at /cua/audit",
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "task_scope": {
      "description": "Task intent alignment (narrowing): actions outside the scope are handled one level higher (L0->L1, L1->L2, L2 stays but gains a reason, L3 unchanged). Escalation only, never a downgrade; omitted means no effect.",
      "type": "object",
      "properties": {
        "task": {
          "type": "string",
          "minLength": 1,
          "description": "Declared task intent (for example, \"summarize this week's meeting notes\")"
        },
        "allowed_apps": {
          "description": "Allowed foreground applications",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "allowed_domains": {
          "description": "Allowed domains (suffix match, including subdomains)",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "forbidden_elements": {
          "description": "Forbidden element labels (highest priority)",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "task"
      ]
    }
  },
  "required": [
    "actions"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "results": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "step": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "action": {
                "anyOf": [
                  {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "level": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "L0",
                      "L1",
                      "L2",
                      "L3"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "verdict": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "outcome": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reasons": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "matched_rules": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "additionalProperties": {}
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "summary": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "total": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            },
            "L0": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            },
            "L1": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            },
            "L2": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            },
            "L3": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            },
            "blocked": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            },
            "confirm": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            },
            "takeover": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "chains": {
      "anyOf": [
        {
          "type": "array",
          "items": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "has_propagation": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "injection_steps": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    },
    "chain_trace": {
      "anyOf": [
        {},
        {
          "type": "null"
        }
      ]
    },
    "session_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "ruleset_version": {
      "type": [
        "string",
        "null"
      ]
    },
    "disclaimer": {
      "type": [
        "string",
        "null"
      ]
    },
    "warning": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢check_cua_code_audit(code, filename, language, files)

CUA code audit: static analysis of agent source code that detects dangerous imports (subprocess, os.system, and similar), privilege boundaries (eval/exec), injection surface (string-concatenated shell commands), dangerous defaults, and missing sandboxing. Pure rule-based scanning: no LLM calls, no quota consumed. Supports single-file and multi-file scans.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "code": {
      "description": "Single-file mode: source code text to scan (up to 50,000 characters); mutually exclusive with files",
      "type": "string",
      "maxLength": 50000
    },
    "filename": {
      "description": "Single-file mode: filename used to identify the file in the report (default: input.py)",
      "type": "string"
    },
    "language": {
      "description": "Language hint; with auto it is inferred from the filename extension (default: auto)",
      "type": "string",
      "enum": [
        "auto",
        "python",
        "javascript",
        "typescript"
      ]
    },
    "files": {
      "description": "Multi-file mode: array of [{path, content, language?}]; mutually exclusive with code",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1
          },
          "content": {
            "type": "string",
            "maxLength": 50000
          },
          "language": {
            "type": "string",
            "enum": [
              "auto",
              "python",
              "javascript",
              "typescript"
            ]
          }
        },
        "required": [
          "path",
          "content"
        ]
      }
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "findings": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "file": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "line": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "severity": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "high",
                      "medium",
                      "low"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "category": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "detail": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "raw": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": {}
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "summary": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "total": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            },
            "by_severity": {
              "anyOf": [
                {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                },
                {
                  "type": "null"
                }
              ]
            },
            "by_category": {
              "anyOf": [
                {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                },
                {
                  "type": "null"
                }
              ]
            },
            "capability_level": {
              "type": [
                "string",
                "null"
              ]
            },
            "tool_count": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            },
            "dangerous_import_count": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            },
            "injection_surface_count": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "disclaimer": {
      "type": [
        "string",
        "null"
      ]
    },
    "privacy_note": {
      "type": [
        "string",
        "null"
      ]
    },
    "ruleset_version": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢check_safety(prompt, output, check_hallucination, fast)

AI safety gateway detection. Runs three-layer OWASP LLM Top 10 detection on prompt + output: a 40+ signature rule engine (injection, jailbreak, harmful content, sensitive data leakage, fraud) plus optional LLM deep analysis and optional hallucination detection. Returns passed, risk_score, risk_level, threats[] (category/severity/match_context/recommendation) and quota. fast=true uses the rule-only sub-10ms mode. Consumes detect quota (fast calls count too).

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "prompt": {
      "description": "Raw user input (default: empty; up to 50,000 characters)",
      "type": "string",
      "maxLength": 50000
    },
    "output": {
      "type": "string",
      "minLength": 1,
      "maxLength": 50000,
      "description": "AI response (1-50,000 characters)"
    },
    "check_hallucination": {
      "description": "Also run hallucination detection (default: false)",
      "type": "boolean"
    },
    "fast": {
      "description": "true uses the rule-only fast mode (sub-10ms, no LLM) -> /guard/check-fast; the default false uses the full /guard/check",
      "type": "boolean"
    }
  },
  "required": [
    "output"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "detection_id": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    },
    "passed": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "risk_score": {
      "type": [
        "number",
        "null"
      ]
    },
    "risk_level": {
      "type": [
        "string",
        "null"
      ]
    },
    "summary": {
      "type": [
        "string",
        "null"
      ]
    },
    "injection_detected": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "jailbreak_detected": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "harmful_detected": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "threats": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "category": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "category_name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "severity": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "match_context": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "recommendation": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": {}
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "hallucination": {
      "anyOf": [
        {},
        {
          "type": "null"
        }
      ]
    },
    "llm_analysis": {
      "anyOf": [
        {},
        {
          "type": "null"
        }
      ]
    },
    "quota": {
      "anyOf": [
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
🟢check_agent_ice_wall(session_id, step, prior_steps, task, tool_schemas)

Agent ice wall (child lock / fuse). Call it once before every agent step for per-step hallucination guardrails plus session-level cumulative risk fusing. The response's action field is the only one you need to read: allow/warn = proceed, block = this step is intercepted, frozen = halt the entire run immediately (the risk score passed the threshold, or a zero-tolerance condition such as a fabricated tool was hit; no action should be executed while frozen). Fuse conditions: block = 3 points, warn = 1 point, accumulated >= 10; three consecutive blocks; or a single fabricated-tool / parameter-schema violation. It auto-unfreezes after a 5-minute cooldown, or the user can reset it manually. session_id is caller-defined and must be reused for the whole agent task (state lives in your cloud account, zero local install and zero local storage). Pass tool_schemas as a tool registry to enable fabricated-tool and parameter validation (strongly recommended). Consumes quota. Orthogonal to check_cua_actions (CUA desktop action grading): this tool governs an LLM agent's own loss of control.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "session_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "description": "Session ID (caller-defined and reused across one agent session): the risk score accumulates per session, and exceeding the threshold freezes the entire run. Always reuse one ID for a single agent task; never reuse it across tasks."
    },
    "step": {
      "type": "object",
      "properties": {
        "step": {
          "description": "Step number",
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "thought": {
          "description": "The step's reasoning",
          "type": "string"
        },
        "action": {
          "description": "Tool/action name called in this step",
          "type": "string"
        },
        "action_input": {
          "description": "Tool/action input",
          "type": "string"
        },
        "observation": {
          "description": "Observation returned by the tool/action",
          "type": "string"
        },
        "final_answer": {
          "description": "Final answer (last step)",
          "type": "string"
        },
        "agent_claim": {
          "description": "The agent's claim for this step (compatible with the /detect-agent schema)",
          "type": "string"
        },
        "tool": {
          "description": "Tool name (compatible with the /detect-agent schema)",
          "type": "string"
        },
        "tool_input": {
          "description": "Tool input (compatible with the /detect-agent schema)",
          "type": "string"
        },
        "tool_output": {
          "description": "Tool output (compatible with the /detect-agent schema)",
          "type": "string"
        }
      },
      "additionalProperties": {},
      "description": "Current step (both schemas accepted; the server normalizes automatically)"
    },
    "prior_steps": {
      "description": "Prior steps (same schema), used for cross-step detection such as loops and retry storms",
      "type": "array",
      "items": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    "task": {
      "description": "Original task instruction (used to validate parameter provenance)",
      "type": "string",
      "maxLength": 5000
    },
    "tool_schemas": {
      "description": "Tool registry {toolName: {required, properties}}; provide it to enable fabricated-tool and parameter-schema validation (both are zero-tolerance fuse conditions)",
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "required": [
    "session_id",
    "step"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "step": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "action": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "allow",
                    "warn",
                    "block",
                    "frozen"
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "summary": {
              "type": [
                "string",
                "null"
              ]
            },
            "failure_modes": {
              "anyOf": [
                {
                  "type": "array",
                  "items": {}
                },
                {
                  "type": "null"
                }
              ]
            },
            "checks": {
              "anyOf": [
                {
                  "type": "array",
                  "items": {}
                },
                {
                  "type": "null"
                }
              ]
            },
            "latency_ms": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "session": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "state": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "normal",
                    "frozen",
                    "degraded"
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "score": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            },
            "block_streak": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            },
            "frozen_until": {
              "type": [
                "number",
                "null"
              ]
            },
            "tripped_by": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "action": {
      "description": "The only field the client must read: frozen = halt the entire run immediately",
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "allow",
            "warn",
            "block",
            "frozen"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "quota": {
      "anyOf": [
        {},
        {
          "type": "null"
        }
      ]
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}
⚪reset_agent_ice_wall(session_id)

Manually unfreeze an agent session frozen by the ice wall (call after the user confirms it is safe). was_frozen=false means the session was not frozen in the first place (idempotent). The risk score resets to zero after unfreezing.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "session_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "description": "Session ID to unfreeze"
    }
  },
  "required": [
    "session_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "session_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "was_frozen": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "session": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "state": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "normal",
                    "frozen",
                    "degraded"
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "score": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            },
            "block_streak": {
              "anyOf": [
                {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            },
            "frozen_until": {
              "type": [
                "number",
                "null"
              ]
            },
            "tripped_by": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": {}
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet7 Tools
verifiziertVersion nicht aufgezeichnet5 Tools
verifiziertVersion nicht aufgezeichnet5 Tools
verifiziertVersion nicht aufgezeichnet5 Tools
Authentifizierung erforderlichVersion nicht aufgezeichnet—
Authentifizierung erforderlichVersion nicht aufgezeichnet—
Authentifizierung erforderlichVersion nicht aufgezeichnet—
Authentifizierung erforderlichVersion nicht aufgezeichnet—