Skip to main content
Glama

codex_record_audit_event

Log governance audit events like final verdicts, test evidence, and obligation settlements to maintain a verifiable research trail.

Instructions

Trusted ChatGPT/bridge governance only. final_verdict content: JSON {verdict: ACCEPTED|REJECTED|NEEDS_REVISION, reason?: string}. completion_obligation_settled: JSON {obligation_id: string, evidence_ref: string}. task_closed atomically requires ACCEPTED, settled obligations, drained execution and research gates. bridge.test_evidence machine payload: JSON {version:1, run_id:string, generation:integer, evidence_key:string, status:PASS|FAIL, exit_code:integer}, using current codex_status execution_binding. Both PASS and exit_code=0 are required for command verification. Legacy prose is audit-only. Executors cannot certify evidence or acceptance. Duplicate closure is idempotent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYes
task_idYes
event_typeYes
related_pathsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior5/5

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

The description discloses governance restrictions, atomic task_closed requirements, idempotency of duplicate closure, the requirement that both PASS and exit_code=0 must hold, and the audit-only status of legacy prose. These are meaningful behavioral facts beyond the annotations, which only provide basic read/write/destructive hints.

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

Conciseness3/5

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

Every sentence carries useful contract information, but the description is a dense, unstructured block mixing governance rules, payload schemas, and validation conditions. It lacks a brief purpose statement up front and would benefit from more explicit structure.

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?

The description covers the most important governance and payload contract details needed to call the tool correctly, including atomicity, idempotency, and evidence verification rules. It leaves gaps around return values, task_id semantics, and related_paths usage, but the core event payload contracts are well specified.

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

Parameters4/5

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

With 0% schema description coverage, the description carries the burden, and it provides detailed JSON shapes for major event types and the task_closed preconditions. It still does not clarify task_id or related_paths semantics, and leaves some event_type values (chatgpt.review, chatgpt.semantic_review) without explicit content contracts, so it is strong but incomplete.

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

Purpose4/5

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

The name and input schema clearly identify this as an audit-event recording tool, and the description adds precise event_type-specific payload contracts for final_verdict, completion_obligation_settled, and bridge.test_evidence. However, there is no explicit verb+resource sentence in the description itself, and it does not directly differentiate itself from siblings like codex_audit or codex_events.

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

Usage Guidelines3/5

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

The description gives a strong access boundary ('Trusted ChatGPT/bridge governance only') and states that executors cannot certify evidence or acceptance, which implies when it may be used. It does not explicitly name alternatives or define triggering conditions, leaving usage guidance mostly implicit.

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