Skip to main content
Glama

Get audit log

get_audit_log
Read-only

Review every API change newest first, filtered by key, tool, or timestamp, with actor, request status, and cursor pagination for audit tracking.

Instructions

Every change made through the API, newest first: who (actor key, session or oauth; key_id; oauth_client_id), which MCP tool, method, path, status, dry_run, idempotent_replay and args_hash (sha256 of the request body; the body itself is never stored). Filter by key_id, tool (e.g. "create_webinar") or since (ISO 8601, e.g. 2026-12-01T00:00:00Z). limit 1-200 (default 50); pass next_cursor back as cursor for the next page.

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

Input Schema

NameRequiredDescriptionDefault
toolNoMCP tool name, e.g. "create_webinar"
limitNoEntries per page, 1-200, default 50
sinceNoISO 8601 datetime with offset, e.g. 2026-12-01T00:00:00Z
cursorNonext_cursor from the previous page
key_idNoAPI key id (UUID) from list_keys or create_key

Output Schema

NameRequiredDescriptionDefault
dataNo
resultYes
statusNo
changesNo
dry_runNo
messageNo
error_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

readOnlyHint=true already covers the safety profile, and the description goes further by disclosing ordering (newest first), the fact that request bodies are never stored while args_hash is, and the pagination contract. The remaining gap is that it restates the returned field list, which the output schema already carries, and says nothing about retention windows or rate limits.

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?

The identity and ordering of the resource are front-loaded, followed by the field inventory, filters, and paging in a logical sequence. The parenthetical field enumeration is dense but each item carries information; the sha256/'body never stored' note earns its clause.

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 read-only, zero-required-parameter list tool with a full output schema, the definition covers filtering, paging, ordering, and a privacy-relevant storage note. Only secondary details such as retention range or error behavior for an expired cursor are absent.

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 every parameter is already documented with examples matching the description verbatim (ISO 8601 since, 1-200 limit default 50, next_cursor as cursor). The description adds no meaning beyond the schema, so the baseline 3 applies.

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?

Opening clause 'Every change made through the API, newest first' states the resource and its ordering scope, then enumerates the recorded fields (actor key, tool, method, path, status, dry_run, idempotent_replay, args_hash). An agent can immediately tell this apart from sibling list tools like get_call_list or list_keys, which cover domain objects rather than API mutations.

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 description explains which filters exist (key_id, tool, since) and how paging works, which implies the investigative/audit use case, but it never states when to reach for this tool versus a domain-specific getter, nor any exclusions. Usage is inferable rather than prescribed.

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