clear_audit_log
Delete all recorded entries from the audit log to reset monitoring data and start fresh after reviewing security events.
Instructions
Clear the audit log
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Delete all recorded entries from the audit log to reset monitoring data and start fresh after reviewing security events.
Clear the audit log
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
v0.1.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. 'Clear' implies a destructive action, but it does not state that the operation is irreversible, that it affects all audit log entries, or whether special permissions are required. This is a significant gap for a potentially destructive tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is very concise and front-loaded, but it is arguably under-specified rather than well-structured. It conveys the core action in a single sentence, yet omits critical context that would make it appropriately sized for an agent.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a destructive tool with no annotations, no output schema, and no parameters, the description must provide sufficient context for safe invocation. It fails to mention that the log is permanently cleared, that all entries are removed, or any operational implications. This is incomplete for a tool of this nature.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so the baseline is 4. The description does not need to explain parameters, and the schema already confirms no inputs are required. The description adds no parameter-specific information, but none is needed.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a clear verb (clear) and resource (audit log), which is specific enough to distinguish it from siblings like get_audit_log or get_audit_stats. However, it does not elaborate on the scope (e.g., all entries, entire log) or the consequence of clearing.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this tool, when not to, or any prerequisites. The description does not differentiate from alternatives or mention any cautionary context, leaving the agent to infer usage entirely.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.