HallucC — Hallucination & Safety Guardian is an MCP server published by io.github.fredyee, hosted at aihcc.cloud. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 7 tools, including verify_text, verify_agent, check_cua_actions, check_cua_code_audit, check_safety.
Fact-check LLM outputs with cited sources. API key: aihcc.cloud/keys.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
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).
| Parameter | Type | Description |
|---|---|---|
| text * | string | Text to verify |
| model | string | Model name under test (optional; shown on the share card) |
| speed | string | Speed mode: fast|standard|deep (default: standard) |
| domain | string | Domain mode: general|medical|legal|finance|education|government |
| strict | boolean | Strict mode (self-consistency). Omit to use the global default. |
{
"name": "verify_text",
"title": "Verify Text",
"description": "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).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 50000,
"minLength": 1,
"description": "Text to verify"
},
"model": {
"type": "string",
"maxLength": 50,
"description": "Model name under test (optional; shown on the share card)"
},
"speed": {
"enum": [
"fast",
"standard",
"deep"
],
"type": "string",
"description": "Speed mode: fast|standard|deep (default: standard)"
},
"domain": {
"enum": [
"general",
"medical",
"legal",
"finance",
"education",
"government"
],
"type": "string",
"description": "Domain mode: general|medical|legal|finance|education|government"
},
"strict": {
"type": "boolean",
"description": "Strict mode (self-consistency). Omit to use the global default."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"input": {
"type": [
"string",
"null"
]
},
"quota": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"speed": {
"type": [
"string",
"null"
]
},
"claims": {
"anyOf": [
{
"type": "array",
"items": {}
},
{
"type": "null"
}
]
},
"domain": {
"type": [
"string",
"null"
]
},
"strict": {
"type": [
"boolean",
"null"
]
},
"summary": {
"anyOf": [
{
"type": "object",
"properties": {
"red": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"green": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"total": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"yellow": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"hallucination_risk": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"citations": {
"anyOf": [
{
"type": "array",
"items": {}
},
{
"type": "null"
}
]
},
"elapsed_ms": {
"type": [
"number",
"null"
]
},
"math_issues": {
"anyOf": [
{
"type": "array",
"items": {}
},
{
"type": "null"
}
]
},
"detection_id": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| task | string | Original task instruction (used by the task_completion judge) |
| speed | string | Speed mode: fast|standard|deep (default: standard) |
| steps | array | Agent execution trajectory, graded step by step across six dimensions |
| domain | string | Domain mode: general|medical|legal|finance|education|government |
| agent_output * | string | The agent's final output text (1-50,000 characters) |
| tool_schemas | object | Tool schemas (aligned with the trajectory endpoint) |
{
"name": "verify_agent",
"title": "Verify Agent",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"agent_output"
],
"properties": {
"task": {
"type": "string",
"description": "Original task instruction (used by the task_completion judge)"
},
"speed": {
"enum": [
"fast",
"standard",
"deep"
],
"type": "string",
"description": "Speed mode: fast|standard|deep (default: standard)"
},
"steps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"step": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Step number (default: 1)"
},
"tool": {
"type": "string",
"description": "Tool called in this step"
},
"tool_input": {
"type": "string",
"description": "Tool input"
},
"agent_claim": {
"type": "string",
"description": "The agent's claim for this step"
},
"tool_output": {
"type": "string",
"description": "Tool output"
}
},
"description": "A single agent trajectory step"
},
"description": "Agent execution trajectory, graded step by step across six dimensions"
},
"domain": {
"enum": [
"general",
"medical",
"legal",
"finance",
"education",
"government"
],
"type": "string",
"description": "Domain mode: general|medical|legal|finance|education|government"
},
"agent_output": {
"type": "string",
"maxLength": 50000,
"minLength": 1,
"description": "The agent's final output text (1-50,000 characters)"
},
"tool_schemas": {
"type": "object",
"description": "Tool schemas (aligned with the trajectory endpoint)",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"main": {
"anyOf": [
{
"type": "object",
"properties": {
"input": {
"type": [
"string",
"null"
]
},
"claims": {
"anyOf": [
{
"type": "array",
"items": {}
},
{
"type": "null"
}
]
},
"summary": {
"anyOf": [
{
"type": "object",
"properties": {
"red": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"green": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"total": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"yellow": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"hallucination_risk": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": {}
},
{
"type": "null"
}
]
}
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"quota": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"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"
}
]
},
"detection_id": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| actions * | array | Action sequence to grade (1-500 actions) |
| session_id | string | When provided, grading results are written to the audit table and can be replayed at /cua/audit |
| task_scope | object | 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. |
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.
| Parameter | Type | Description |
|---|---|---|
| code | string | Single-file mode: source code text to scan (up to 50,000 characters); mutually exclusive with files |
| files | array | Multi-file mode: array of [{path, content, language?}]; mutually exclusive with code |
| filename | string | Single-file mode: filename used to identify the file in the report (default: input.py) |
| language | string | Language hint; with auto it is inferred from the filename extension (default: auto) |
{
"name": "check_cua_code_audit",
"title": "Audit CUA Code",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"code": {
"type": "string",
"maxLength": 50000,
"description": "Single-file mode: source code text to scan (up to 50,000 characters); mutually exclusive with files"
},
"files": {
"type": "array",
"items": {
"type": "object",
"required": [
"path",
"content"
],
"properties": {
"path": {
"type": "string",
"minLength": 1
},
"content": {
"type": "string",
"maxLength": 50000
},
"language": {
"enum": [
"auto",
"python",
"javascript",
"typescript"
],
"type": "string"
}
}
},
"description": "Multi-file mode: array of [{path, content, language?}]; mutually exclusive with code"
},
"filename": {
"type": "string",
"description": "Single-file mode: filename used to identify the file in the report (default: input.py)"
},
"language": {
"enum": [
"auto",
"python",
"javascript",
"typescript"
],
"type": "string",
"description": "Language hint; with auto it is inferred from the filename extension (default: auto)"
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"summary": {
"anyOf": [
{
"type": "object",
"properties": {
"total": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"tool_count": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"by_category": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"by_severity": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"capability_level": {
"type": [
"string",
"null"
]
},
"dangerous_import_count": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"injection_surface_count": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
}
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"findings": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"properties": {
"raw": {
"type": [
"string",
"null"
]
},
"file": {
"type": [
"string",
"null"
]
},
"line": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"detail": {
"type": [
"string",
"null"
]
},
"category": {
"type": [
"string",
"null"
]
},
"severity": {
"anyOf": [
{
"enum": [
"high",
"medium",
"low"
],
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": {}
}
},
{
"type": "null"
}
]
},
"disclaimer": {
"type": [
"string",
"null"
]
},
"privacy_note": {
"type": [
"string",
"null"
]
},
"ruleset_version": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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).
| Parameter | Type | Description |
|---|---|---|
| fast | boolean | true uses the rule-only fast mode (sub-10ms, no LLM) -> /guard/check-fast; the default false uses the full /guard/check |
| output * | string | AI response (1-50,000 characters) |
| prompt | string | Raw user input (default: empty; up to 50,000 characters) |
| check_hallucination | boolean | Also run hallucination detection (default: false) |
{
"name": "check_safety",
"title": "Check Safety",
"description": "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).",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"output"
],
"properties": {
"fast": {
"type": "boolean",
"description": "true uses the rule-only fast mode (sub-10ms, no LLM) -> /guard/check-fast; the default false uses the full /guard/check"
},
"output": {
"type": "string",
"maxLength": 50000,
"minLength": 1,
"description": "AI response (1-50,000 characters)"
},
"prompt": {
"type": "string",
"maxLength": 50000,
"description": "Raw user input (default: empty; up to 50,000 characters)"
},
"check_hallucination": {
"type": "boolean",
"description": "Also run hallucination detection (default: false)"
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"quota": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"passed": {
"type": [
"boolean",
"null"
]
},
"summary": {
"type": [
"string",
"null"
]
},
"threats": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"properties": {
"category": {
"type": [
"string",
"null"
]
},
"severity": {
"type": [
"string",
"null"
]
},
"category_name": {
"type": [
"string",
"null"
]
},
"match_context": {
"type": [
"string",
"null"
]
},
"recommendation": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": {}
}
},
{
"type": "null"
}
]
},
"risk_level": {
"type": [
"string",
"null"
]
},
"risk_score": {
"type": [
"number",
"null"
]
},
"detection_id": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"llm_analysis": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"hallucination": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"harmful_detected": {
"type": [
"boolean",
"null"
]
},
"injection_detected": {
"type": [
"boolean",
"null"
]
},
"jailbreak_detected": {
"type": [
"boolean",
"null"
]
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| step * | object | Current step (both schemas accepted; the server normalizes automatically) |
| task | string | Original task instruction (used to validate parameter provenance) |
| session_id * | string | 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. |
| prior_steps | array | Prior steps (same schema), used for cross-step detection such as loops and retry storms |
| tool_schemas | object | Tool registry {toolName: {required, properties}}; provide it to enable fabricated-tool and parameter-schema validation (both are zero-tolerance fuse conditions) |
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.
| Parameter | Type | Description |
|---|---|---|
| session_id * | string | Session ID to unfreeze |
{
"name": "reset_agent_ice_wall",
"title": "Reset Agent Ice Wall",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"session_id"
],
"properties": {
"session_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Session ID to unfreeze"
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"session": {
"anyOf": [
{
"type": "object",
"properties": {
"score": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"state": {
"anyOf": [
{
"enum": [
"normal",
"frozen",
"degraded"
],
"type": "string"
},
{
"type": "null"
}
]
},
"tripped_by": {
"type": [
"string",
"null"
]
},
"block_streak": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"frozen_until": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"session_id": {
"type": [
"string",
"null"
]
},
"was_frozen": {
"type": [
"boolean",
"null"
]
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
{
"name": "check_cua_actions",
"title": "Classify CUA Actions",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"actions"
],
"properties": {
"actions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"x": {
"type": "number",
"description": "X coordinate of the click"
},
"y": {
"type": "number",
"description": "Y coordinate of the click"
},
"app": {
"type": "string",
"description": "Alias for target_app"
},
"url": {
"type": "string",
"description": "Alias for target_url"
},
"path": {
"type": "string",
"description": "Alias for target_path"
},
"text": {
"type": "string",
"description": "Content for type/key/paste"
},
"action": {
"type": "string",
"description": "Action name (click/press/hotkey/write/move...); inferred from coordinates when omitted"
},
"element": {
"type": "string",
"description": "Alias for target_element"
},
"thought": {
"type": "string",
"description": "Agent reasoning text (audit trail)"
},
"agent_id": {
"type": "string",
"description": "P1-9 Name of the agent this action belongs to (e.g. research); used with registered_agents for registration validation"
},
"chain_id": {
"type": "string",
"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"
},
"coordinate": {
"type": "array",
"items": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
],
"maxItems": 2,
"minItems": 2,
"description": "[x, y] pair (alternative to x/y)",
"additionalItems": false
},
"target_app": {
"type": "string",
"description": "Target application"
},
"target_url": {
"type": "string",
"description": "Target URL of browser actions (used by domain grading, unknown-domain navigation and paste-into-unknown-domain rules)"
},
"task_scope": {
"type": "object",
"required": [
"task"
],
"properties": {
"task": {
"type": "string",
"minLength": 1,
"description": "Declared task intent (for example, \"summarize this week's meeting notes\")"
},
"allowed_apps": {
"type": "array",
"items": {
"type": "string"
},
"description": "Allowed foreground applications"
},
"allowed_domains": {
"type": "array",
"items": {
"type": "string"
},
"description": "Allowed domains (suffix match, including subdomains)"
},
"forbidden_elements": {
"type": "array",
"items": {
"type": "string"
},
"description": "Forbidden element labels (highest priority)"
}
},
"description": "P1-5 Declared allowed task scope (read per action by the server; out of scope escalates one level and can only narrow)"
},
"target_path": {
"type": "string",
"description": "File operation path / terminal command path"
},
"action_input": {
"type": "string",
"description": "ReAct-style input alias -> text"
},
"target_element": {
"type": "string",
"description": "Target element label"
},
"parent_agent_id": {
"type": "string",
"description": "P1-9 Name of the delegating agent; cross-agent propagation chains are paired with this"
},
"delegation_depth": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "P1-9 Delegation depth (root agent = 0); exceeding delegation_max_depth escalates to L2"
}
},
"description": "A single CUA action"
},
"maxItems": 500,
"minItems": 1,
"description": "Action sequence to grade (1-500 actions)"
},
"session_id": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "When provided, grading results are written to the audit table and can be replayed at /cua/audit"
},
"task_scope": {
"type": "object",
"required": [
"task"
],
"properties": {
"task": {
"type": "string",
"minLength": 1,
"description": "Declared task intent (for example, \"summarize this week's meeting notes\")"
},
"allowed_apps": {
"type": "array",
"items": {
"type": "string"
},
"description": "Allowed foreground applications"
},
"allowed_domains": {
"type": "array",
"items": {
"type": "string"
},
"description": "Allowed domains (suffix match, including subdomains)"
},
"forbidden_elements": {
"type": "array",
"items": {
"type": "string"
},
"description": "Forbidden element labels (highest priority)"
}
},
"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."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"chains": {
"anyOf": [
{
"type": "array",
"items": {}
},
{
"type": "null"
}
]
},
"results": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"properties": {
"step": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"level": {
"anyOf": [
{
"enum": [
"L0",
"L1",
"L2",
"L3"
],
"type": "string"
},
{
"type": "null"
}
]
},
"action": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"outcome": {
"type": [
"string",
"null"
]
},
"reasons": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"verdict": {
"type": [
"string",
"null"
]
},
"matched_rules": {
"anyOf": [
{
"type": "array",
"items": {}
},
{
"type": "null"
}
]
}
},
"additionalProperties": {}
}
},
{
"type": "null"
}
]
},
"summary": {
"anyOf": [
{
"type": "object",
"properties": {
"L0": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"L1": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"L2": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"L3": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"total": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"blocked": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"confirm": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"takeover": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
}
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"warning": {
"type": [
"string",
"null"
]
},
"disclaimer": {
"type": [
"string",
"null"
]
},
"session_id": {
"type": [
"string",
"null"
]
},
"chain_trace": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"has_propagation": {
"type": [
"boolean",
"null"
]
},
"injection_steps": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"ruleset_version": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "check_agent_ice_wall",
"title": "Agent Ice Wall (Session Fuse)",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"session_id",
"step"
],
"properties": {
"step": {
"type": "object",
"properties": {
"step": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Step number"
},
"tool": {
"type": "string",
"description": "Tool name (compatible with the /detect-agent schema)"
},
"action": {
"type": "string",
"description": "Tool/action name called in this step"
},
"thought": {
"type": "string",
"description": "The step's reasoning"
},
"tool_input": {
"type": "string",
"description": "Tool input (compatible with the /detect-agent schema)"
},
"agent_claim": {
"type": "string",
"description": "The agent's claim for this step (compatible with the /detect-agent schema)"
},
"observation": {
"type": "string",
"description": "Observation returned by the tool/action"
},
"tool_output": {
"type": "string",
"description": "Tool output (compatible with the /detect-agent schema)"
},
"action_input": {
"type": "string",
"description": "Tool/action input"
},
"final_answer": {
"type": "string",
"description": "Final answer (last step)"
}
},
"description": "Current step (both schemas accepted; the server normalizes automatically)",
"additionalProperties": {}
},
"task": {
"type": "string",
"maxLength": 5000,
"description": "Original task instruction (used to validate parameter provenance)"
},
"session_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"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."
},
"prior_steps": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"description": "Prior steps (same schema), used for cross-step detection such as loops and retry storms"
},
"tool_schemas": {
"type": "object",
"description": "Tool registry {toolName: {required, properties}}; provide it to enable fabricated-tool and parameter-schema validation (both are zero-tolerance fuse conditions)",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"step": {
"anyOf": [
{
"type": "object",
"properties": {
"action": {
"anyOf": [
{
"enum": [
"allow",
"warn",
"block",
"frozen"
],
"type": "string"
},
{
"type": "null"
}
]
},
"checks": {
"anyOf": [
{
"type": "array",
"items": {}
},
{
"type": "null"
}
]
},
"summary": {
"type": [
"string",
"null"
]
},
"latency_ms": {
"type": [
"number",
"null"
]
},
"failure_modes": {
"anyOf": [
{
"type": "array",
"items": {}
},
{
"type": "null"
}
]
}
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"quota": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"action": {
"anyOf": [
{
"enum": [
"allow",
"warn",
"block",
"frozen"
],
"type": "string"
},
{
"type": "null"
}
],
"description": "The only field the client must read: frozen = halt the entire run immediately"
},
"session": {
"anyOf": [
{
"type": "object",
"properties": {
"score": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"state": {
"anyOf": [
{
"enum": [
"normal",
"frozen",
"degraded"
],
"type": "string"
},
{
"type": "null"
}
]
},
"tripped_by": {
"type": [
"string",
"null"
]
},
"block_streak": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
{
"type": "null"
}
]
},
"frozen_until": {
"type": [
"number",
"null"
]
}
},
"additionalProperties": {}
},
{
"type": "null"
}
]
}
},
"additionalProperties": {}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}