Skip to main content
Glama

List Audit Logs

list_audit_logs
Read-only

Retrieve recent admin-only audit log entries, filtered by action or resource type, to monitor system activity and investigate changes.

Instructions

List recent audit log entries. Admin only. Supports filtering by action and resource type.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of entries to return (default 50, max 200)
actionNoFilter by action (e.g. content.create, login.success)
resourceNoFilter by resource type (e.g. content, template, user)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv7.3.4

TDQS

A3.8/5.0
Behavior4/5

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

readOnlyHint=true already tells the agent this is a safe read, so the bar is lower. The description adds genuinely non-annotated behavior: the tool is restricted to admins. It stops short of disclosing ordering, retention window, or pagination beyond what the limit parameter implies.

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?

Three tight sentences, appropriately sized for a simple list tool, with the core purpose front-loaded and no filler.

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?

For a low-complexity read-only list tool with full schema coverage and no output schema, the description plus annotations cover access, scope, and filterability. Missing only minor details like default ordering or how 'recent' is bounded.

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

Parameters3/5

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

Schema description coverage is 100%, so all three parameters are already self-documenting. The description's mention of action and resource-type filtering merely restates the schema and says nothing about limit or result volume. Baseline 3 is appropriate.

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 states a specific verb and resource: 'List recent audit log entries.' An agent immediately knows the domain, even though it doesn't explicitly contrast with sibling listers like list_comments or list_webhooks, which are clearly different resources anyway.

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?

'Admin only' is a useful access prerequisite, but there is no explicit statement of when to reach for this tool versus other list/search tools (e.g. scoped_search_replace or search_content), nor any exclusion guidance. Usage context is implied rather than stated.

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

Deploy Server

Other Tools