Skip to main content
Glama

Audit log

audit

Read or clear the local tool-call log; arguments are sanitized before storage so you can inspect activity or reset records.

Instructions

Read or clear the local audit log of tool calls. Arguments are sanitized before they are written.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
actionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.2

TDQS

B3.3/5.0
Behavior3/5

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

readOnlyHint=false is consistent with a tool that can clear the log, and the description adds a genuinely useful behavioral detail beyond the annotations: arguments are sanitized before being written, which tells the agent what the log actually contains. It omits the traits that matter most for the destructive path – that a clear is irreversible, whether clearing is scoped, and whether log data persists.

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 short sentences with no padding; the primary capability is stated first and the sanitization note follows as supporting context. Nothing could be removed without losing meaning.

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

Completeness3/5

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

For a two-parameter tool with no output schema, the description covers the core purpose and one data-handling behavior, but leaves the agent guessing about return shape (entry fields, ordering, pagination via limit) and the consequence of the clear action. Adequate but with clear gaps given the destructive capability.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full explanatory burden for both parameters. It conveys the meaning of the action modes but says nothing about limit (its 1–500 bound, default value, or whether it applies only to list), leaving half the inputs undocumented anywhere.

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 gives a concrete verb pair (read/clear) and a precise resource (the local audit log of tool calls), which no sibling tool touches, so an agent can immediately tell what domain this belongs to. It stops short of an explicit sibling contrast, but none is plausibly needed here.

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 phrasing 'Read or clear' implies the two modes map to the action enum, letting the agent infer that listing and wiping are the supported operations. However, there is no guidance on when an agent should clear versus list, no prerequisite or caution around the destructive mode, and no mention of the limit parameter's role.

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