Skip to main content
Glama

List audit logs

list_audit_logs
Read-onlyIdempotent

List audit log entries for the current tenant.

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": "list_audit_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows (default 20, max 200)
offsetNoPagination offset (default 0)
actor_typeNoFilter by actor_type
action_typeNoFilter by action_type
entity_typeNoFilter by entity_type

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is fully covered without the description. The description adds only the tenant-scoping behavior, and says nothing about ordering, default time window, or whether results include all history or a bounded period.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with no filler and no burying of key information. It is efficient, though its brevity borders on under-specification rather than optimal density.

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 simple read-only paginated list tool with full schema coverage and complete annotations, the description is minimally adequate. Missing are the default sort/ordering and any indication of what an entry contains or how far back logs extend, which matters since there is no output schema.

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% and every filter parameter (actor_type, action_type, entity_type) plus limit/offset is documented in the schema, so the schema carries the burden. The description adds no filter semantics, valid value conventions, or default behavior beyond what the schema states.

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?

States a specific verb and resource ("List audit log entries") plus the scoping constraint "for the current tenant", which tells an agent the result set is tenant-bounded. It does not differentiate itself from potentially overlapping siblings such as list_history or list_events, so it falls short of a 5.

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?

There is no statement of when to reach for this tool, when not to, or which sibling to use for related activity/history data. The only guidance-like content is the implicit tenant scope, which an agent would have to infer is applied automatically.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources