Skip to main content
Glama

botex_report_violation

Records verified agent or model rule violations in an isolated penal ledger for cross-review and handoff enforcement, keeping penalties separate from workspace memory.

Instructions

Records a swarm agent/model rule violation into the isolated BlackBox penal ledger (.botex/penal_vault.db), completely separated from the Memory Vault.

When to call: during cross-review or handoff verification when you observe a verified contract breach (SEC_01 secrets/workspace breach, SKILL_01 skipped tests or test theater, SCOPE_01 diff explosion, HAL_01 hallucinated tools/paths, LOOP_01 3+ identical failures). Never log violations or penalties into save_memory.

Args: offender: Target agent or model identifier (e.g. 'zcode-headless', 'botex:glm-5.3-flash'). violation_code: Canonical code ('SEC_01', 'SKILL_01', 'SCOPE_01', 'HAL_01', 'LOOP_01'). severity: Incident severity ('WARN', 'REJECT', 'CRITICAL'). Default 'REJECT'. skill_recipe: Optional skill/recipe active during the infraction. evidence_snippet: Concise log/diff excerpt (automatically secret-masked). workspace_dir: Target workspace path or 'edge://<device_id>/<workspace_id>' URI. enforcement_action: Action label ('PENALTY_LOGGED', 'HANDOFF_REJECTED', 'ESCALATED'). origin: Optional provenance identifier '@' of the reporting agent.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "offender": "<offender>",
      "violation_code": "<violation_code>"
    },
    "name": "botex_report_violation"
  }
}

Input Schema

NameRequiredDescriptionDefault
originNo
offenderYes
severityNoREJECT
skill_recipeNo
workspace_dirNo
violation_codeYes
evidence_snippetNo
enforcement_actionNoPENALTY_LOGGED

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.1.0

TDQS

A4.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the behavioral burden and discloses important traits: the write goes to an isolated penal_vault.db separate from the Memory Vault, and evidence is automatically secret-masked. It does not cover access control, idempotency, or whether records can be updated or deleted, so it falls short of full transparency for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with purpose, then when-to-call, then a structured Args block. It is appropriately sized for an 8-parameter tool, and each section contributes useful information without repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex mutation tool with no annotations, the definition covers purpose, usage conditions, all parameter meanings, storage isolation, and evidence masking. It leaves minor operational gaps such as authorization and record lifecycle behavior, though return values are covered by the output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does: every one of the 8 parameters is explained, with examples for offender and skill_recipe, canonical values for violation_code, severity levels and defaults, workspace URI/path formats, enforcement action labels, and origin provenance.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: records a swarm agent/model rule violation into an isolated BlackBox penal ledger. It distinguishes the target store explicitly from the Memory Vault and from save_memory, so an agent can identify the tool without ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit trigger context (during cross-review or handoff verification when a verified contract breach is observed) and maps canonical violation codes to concrete conditions. It also states a negative rule: never log violations or penalties into save_memory.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.