Skip to main content
Glama

List Audit Log

list_audit_log
Read-onlyIdempotent

List the audit trail of write operations performed through the API, newest first, with before/after state in metadata. Use to show the user what changed or to reconstruct state for an undo. Use when: The user asks what was changed, added, or removed. The agent needs prior state to offer an undo. Do not use when: The user wants current subscription state (use list_subscriptions). Do not claim you can configure Bark URL/device key, send a test push, change timeZone/locale, or manage the category catalog. Those stay in the web app. If the user asks to paste a Bark URL or run a test push, refuse and point them to Settings → Notifications in the web app, and to the reminders guide at /docs/en/user-guide/reminders (Chinese: /docs/zh-CN/user-guide/reminders). After Bark is configured on the web, you may toggle enabled/daysBefore and per-subscription notificationEnabled.

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_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of audit entries to return.
offsetNoNumber of entries to skip from the start.
subscriptionIdNoOnly return audit entries for this subscription.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior, and the description adds real value on top: result ordering, the presence of before/after metadata, and a hard boundary on out-of-scope capabilities (Bark URL/device key, test push, timeZone/locale, category catalog). It does not disclose retention window or whether the trail is complete versus truncated, which is the remaining gap.

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

Conciseness3/5

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

The purpose statement is front-loaded and efficient, but the latter half drifts into unrelated notification/Bark configuration refusals, documentation links in two languages, and toggling enabled/daysBefore — guidance that belongs to the notification-settings tools, not a read-only log lister. That tail dilutes an otherwise tight definition.

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?

With no output schema, the description compensates by stating the return ordering and that entries carry before/after state in metadata, and the schema covers all three filtering/paging parameters. Missing only retention/coverage details about how far back the trail goes.

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 coverage is 100%, so limit, offset, and subscriptionId are fully documented in the schema. The description adds only the newest-first ordering, which implies pagination semantics but gives no guidance on how limit/offset interact with it. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource (list the audit trail of write operations), plus defining traits: newest-first ordering and before/after state in metadata. This is clearly distinguishable from the sibling list_subscriptions, which the description explicitly routes away from.

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

Usage Guidelines5/5

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

Provides explicit 'Use when' triggers (user asks what changed, agent needs prior state for undo) and an explicit 'Do not use when' with the named alternative (list_subscriptions for current state). Nothing about tool selection is left to inference.

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