Skip to main content
Glama

audit_audit_log

Record structured audit events with event type, actor, resource, metadata, severity, and outcome. Returns a record including id, type, actor, resource, and timestamp for compliance and monitoring.

Instructions

[audit] Record a structured audit event. Returns {id, type, actor, resource, timestamp}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
event_typeYes
actorNo
resourceNo
metadataNo
severityNo
outcomeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

Without annotations, the description must disclose behaviors. It only states that it records an event and returns a structured object, but omits critical details such as whether the operation is idempotent, requires authentication, or has side effects on other audit tools.

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 extremely brief—only one sentence plus the return shape. Every word adds value, though the brevity sacrifices completeness.

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

Completeness2/5

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

With six parameters, no schema descriptions, and no annotations, the description is insufficient. The agent lacks information to correctly construct the input, especially for optional parameters like 'metadata' and 'severity'.

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

Parameters1/5

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

The input schema has 0% description coverage, and the description adds no meaning beyond the parameter names. For example, it does not clarify acceptable values for 'event_type', the expected format for 'actor' and 'resource', or how 'metadata' or 'severity' affect the audit entry.

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 description clearly states the action ('Record a structured audit event') and the return format, distinguishing it from sibling tools like audit_audit_get and audit_audit_search, which are read/query operations. However, it does not explicitly contrast with siblings.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives, or when not to use it. For example, it does not mention when to use audit_audit_statistics or audit_audit_export instead.

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/0-co/agent-friend'

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