Skip to main content
Glama

get_audit_log

Read-onlyIdempotent

Retrieve organization audit log entries for mutating operations and auth-lifecycle events, filtered by time range, action, or actor key. Returns newest results first, clamped to plan retention.

Instructions

List audit-log entries for the calling org — mutating operations and auth-lifecycle events, newest first. Results are clamped to the plan's retention window. Requires an org-level API key (chr_sk_*); agent-scoped keys cannot read the org-wide audit log.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoEnd of the window (ISO 8601)
fromNoStart of the window (ISO 8601). Silently clamped to the plan retention window if older.
limitNoMax results to return (default 50)
actionNoFilter by action name (e.g. event.created)
cursorNoOpaque pagination cursor from a previous response
actor_key_prefixNoFilter by the API key prefix that performed the action
Behavior5/5

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

Adds significant behavioral details beyond annotations: specifies exact event types (mutating operations and auth-lifecycle), ordering (newest first), retention clamping, and auth requirements. No contradiction with annotations.

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 sentences, front-loaded with the core purpose. Every sentence is informative without redundancy.

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?

Covers key requirements and behavior (retention, key type) but does not mention pagination or return format. With no output schema, a brief note on pagination would improve completeness.

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 the baseline is 3. The description does not add extra meaning to parameters beyond what the schema already provides, though it mentions overall retention clamping.

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?

Clearly states the tool lists audit-log entries for mutating operations and auth-lifecycle events, newest first, for the calling org. No sibling tool does this, making it distinct and unambiguous.

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

Usage Guidelines4/5

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

Explicitly states the tool requires an org-level API key and that agent-scoped keys cannot read the audit log, providing clear context for when to use. While no alternatives are given, none exist among siblings.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Chronary/chronary-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server