happ_auditor_profile_set
Создаёт или обновляет профиль аудитора. Это PATCH: переданы только нужные поля, остальные сохраняют текущие значения. ВАЖНО про порядок включения: сначала mode='shadow' — аудитор считает вердикты и пишет их в аудит чата, но НИЧЕГО не блокирует и не перегенерирует. Через сутки посмотрите happ_audi...
This record as markdown: /tools/happ-ai-platform-mcp/happ-auditor-profile-set.md
What happ_auditor_profile_set does on Platform
AI agents use happ_auditor_profile_set to create or update resources in Platform, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Platform environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
mode | string | — | shadow — считает и записывает, ничего не трогает; enforce — переписывает и блокирует по вердикту |
gating | string | — | always — судья на каждый ход; risky_only — только на рискованные (ответ опирается на базу знаний или результат инструмента), это 20–40% ходов |
criteria | array | — | Критерии судьи с порогами. Не передавать — оставить текущие |
isActive | boolean | — | Включён ли аудитор вообще |
maxRegen | integer | — | Сколько раз агент может переписать ответ по замечанию судьи, прежде чем сработает блокировка |
timeoutMs | integer | — | Таймаут ожидания ответа судьи |
judgeModel | string | — | Модель-судья; берите дешёвую и быструю, она зовётся на каждый проверяемый ход |
assistantId | string | Yes | ID ассистента |
blockAction | string | — | Действие при вердикте BLOCK: отправить запасной текст, передать человеку или проглотить ответ |
fallbackText | string | — | Текст клиенту при blockAction=fallback_message |
onJudgeError | string | — | Что делать, если судья упал или не успел: fail_open — пропустить ответ, fail_closed — заблокировать |
toolPolicies | array | — | Какие инструменты считаются мутирующими — от этого зависит поведение при блокировке уже выполненного хода |
Parameters from the server's own tool schema.
Why happ_auditor_profile_set is rated Medium
An AI agent can call happ_auditor_profile_set faster than any human can review: one bad instruction and it creates or modifies resources in Platform by the hundred, each call as confident as the last.
Risk signalsHigh parameter count (21 properties)
Attacks that exploit this kind of access
The rule that runs happ_auditor_profile_set safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Platform, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For happ_auditor_profile_set, this is the rule to start with:
happ_auditor_profile_set stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Platform, apply this rule, and every happ_auditor_profile_set call is checked against it from then on.
Questions about happ_auditor_profile_set
Создаёт или обновляет профиль аудитора. Это PATCH: переданы только нужные поля, остальные сохраняют текущие значения. ВАЖНО про порядок включения: сначала mode='shadow' — аудитор считает вердикты и пишет их в аудит чата, но НИЧЕГО не блокирует и не перегенерирует. Через сутки посмотрите happ_auditor_chat_audits: сколько ходов он бы завернул и сколько из них были здоровыми. Только потом mode='enforce'. Включать enforce сразу на живом трафике — значит блокировать ответы клиентам без единой цифры о ложных срабатываниях. (PATCH /assistants/:assistantId/auditor-profile). It is categorised as a Write tool in the Platform MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
happ_auditor_profile_set accepts 12 parameters: mode, gating, criteria, isActive, maxRegen, timeoutMs, judgeModel, assistantId, blockAction, fallbackText, onJudgeError, toolPolicies. Required: assistantId. The full parameter table on this page comes from the server's own tool schema.
Register the Platform MCP server in PolicyLayer and add a rule for happ_auditor_profile_set: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Platform. Nothing to install.
happ_auditor_profile_set is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the happ_auditor_profile_set rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for happ_auditor_profile_set. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
happ_auditor_profile_set is provided by the Platform MCP server (@happ-ai/platform-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Platform, and thousands of servers like it.
This server
Across the catalogue