Skip to main content
Glama

audit_event_emit

Record governance events such as manual overrides or incident reports to an audit stream. Provide event kind and source; server assigns event ID and hash.

Instructions

POST one governance event to a running audit-stream-py instance (env var AUDIT_STREAM_URL). The server assigns event_id/timestamp/prev_hash/hash; the caller provides kind + source + payload. Use when Claude needs to record a governance moment from inside a chat (e.g. a manual override, a human-approved exception, an out-of-band incident). Returns the persisted event as audit-stream-py wrote it. Requires AUDIT_STREAM_URL in the MCP server's environment; returns a structured error otherwise.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYesEvent kind. Conventionally snake_case; matches the event kinds emitted by Kinetic Gain producers (decision_card_drafted, request_denied, breaker_opened, slo_burn_started, attestation_failed, watch_drifted, ...). Use 'other' for ad-hoc kinds not yet in the producer catalogue.
sourceYesWho's emitting. Use a stable producer identifier (e.g. 'mcp-kinetic-gain', 'manual', or one of the suite producer names).
payloadNoFree-form structured payload to record alongside kind+source.
Behavior5/5

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

No annotations exist, so description carries full burden. Discloses that the server assigns event_id/timestamp/prev_hash/hash, requires AUDIT_STREAM_URL environment variable, returns persisted event, and returns structured error if env var missing. Comprehensive for a POST operation.

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?

Two sentences plus examples. Front-loaded with core action, then provides context and use cases. No redundant information. Efficient and well-structured.

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

Completeness5/5

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

Given no output schema, description explains server-side field assignment and return value. Also mentions error condition. Complete for a simple post tool with well-documented parameters.

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?

Schema covers all parameters (100% coverage), so baseline is 3. Description adds value: explains convention for 'kind' (snake_case, matching producer kinds, 'other' for ad-hoc) and 'source' as stable producer identifier. Goes beyond schema descriptions.

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 clearly states the verb (POST), resource (one governance event to audit-stream-py), and scope. It distinguishes from sibling tools like audit_event_compose and audit_events_query by focusing on emitting a single event via the audit-stream-py instance.

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

Usage Guidelines4/5

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

Explicitly states when to use ('record a governance moment from inside a chat') and provides examples (e.g., manual override, human-approved exception). Does not explicitly exclude other scenarios, but context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mizcausevic-dev/mcp-kinetic-gain'

If you have feedback or need assistance with the MCP directory API, please join our Discord server