Skip to main content
Glama
fredyee

HallucC — Hallucination Fact-Check & AI Safety Guard

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNo服务监听端口,默认 87878787
AuthorizationNoBearer <你的 HallucC API key>。客户端需在 HTTP 头中提供个人 HallucC API key 用于鉴权,key 会被原样透传到后端校验与扣减额度。API key 在 https://aihcc.cloud 注册后于 /keys 页创建,免费套餐每日有额度。
HALLUCC_BASE_URLNo配置后端地址,默认指向本机 8001http://127.0.0.1:8001

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
verify_textB

逐声明幻觉核验。输入文本 → 提取声明 → 逐声明验证(supported/refuted/unverified)+ 来源引用。返回红/黄/绿汇总、每条声明的状态/置信度/理由/来源、citations、quota。耗 detect 额度(与 Web 端同源)。

verify_agentA

Agent 输出与轨迹自检。对最终回答跑逐声明幻觉核验,并对执行轨迹做六维结构化评估(事实性/来源/指令合规/工具声明一致/任务完成/反思)。返回 main.claims、steps[].checks、quota。耗 detect 额度。

check_cua_actionsA

Computer-Use Agent 动作风险分级。提交动作轨迹 → 逐步返回 L0(放行)/L1(放行+记录)/L2(需确认)/L3(阻断)/takeover(凭据场景挂起等用户亲手输入) 裁决、matched_rules、outcome,及 L0-L3 汇总计数;响应含 ruleset_version(规则库版本)与 disclaimer(本结果仅为分级参考,未执行实际拦截)。覆盖:敏感路径/破坏性命令/不可逆元素语义、域名分级(未知域导航 L2、黑名单域与敏感粘贴到未知域 L3、支付金额超阈值 L3)、凭据词表与支付/登录域 takeover、task_scope 任务意图偏离(越界升一级,只能收窄)、多智能体委托链字段(每条动作可选 chain_id/agent_id/parent_agent_id/delegation_depth,给了则服务端追加链级跨跳污点分析:跨 agent 传播时聚合级别抬到 L3 并置 risk_diluted,返回在 chain_trace 字段;未给则零影响)。纯规则判定,不调 LLM、不耗额度。用于在 agent 执行前/后做安全自检。

check_cua_code_auditB

CUA 代码审计:静态分析 Agent 源码,检测危险导入(subprocess/os.system 等)、权限边界(eval/exec)、注入面(字符串拼接 shell)、危险默认值、沙箱缺失。纯规则扫描,不调 LLM、不耗额度。支持单文件或多文件扫描。

check_safetyA

AI 安全网关检测。对 prompt + output 跑 OWASP LLM Top 10 三层检测:40+ 特征规则引擎(注入/越狱/有害内容/敏感信息泄露/欺诈)+ 可选 LLM 深度分析 + 可选幻觉检测。返回 passed、risk_score、risk_level、threats[](category/severity/match_context/recommendation)、quota。fast=true 走纯规则 <10ms 模式。耗 detect 额度(fast 亦计入)。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 5 tools

Disambiguation3/5

The CUA-specific tools (check_cua_actions, check_cua_code_audit) and check_safety are clearly distinct, but verify_agent, verify_text, and check_safety overlap substantially — check_safety includes hallucination detection, verify_agent runs claim verification plus trajectory evaluation, and verify_text does claim verification on plain text. An agent must read carefully to decide whether to call verify_text vs verify_agent vs check_safety for a given output.

Naming Consistency4/5

All names are snake_case verb_noun with consistent structure and a sensible cua namespace prefix for the computer-use tools. The only blemish is mixing the verbs check_ and verify_ across functionally similar tools, which makes the prefix grouping slightly less predictable than a single-verb scheme would be.

Tool Count5/5

Five tools is well-scoped for a guard/verification server, with each tool earning its place across two sub-domains (CUA safety and general content verification). Nothing feels padded or redundant enough to be a separate trivial endpoint.

Completeness4/5

The surface covers the core lifecycle: pre-execution action grading, source code auditing, prompt/output safety gating, and post-hoc output/claim verification. Minor gaps exist, such as no tool to inspect ruleset metadata, quota/history, or batch verification, but these are workarounds rather than blockers.

Maintenance

ActivityMaintained
ResponsivenessNo issues