Skip to main content
Glama

get_account_audit_logs_v2

Get account audit logs (Version 2) for a Cloudflare account. Supports since/before time filters and a limit. Records who changed what and when.

Instructions

Get account audit logs (Version 2) for a Cloudflare account. Supports since/before time filters and a limit. Records who changed what and when.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of entries to return
sinceNoStart time in RFC3339 format
beforeNoEnd time in RFC3339 format
account_idYesrequired,The ID of the Cloudflare account

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose the semantic content of the return (who changed what and when) and implies a safe read via 'Get', but says nothing about permissions required, retention window, pagination/cursor behavior, or ordering, which matters for an audit-log endpoint.

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 tight sentences with zero filler, leading with the resource and scope before the filter support. The closing clause about who/what/when earns its place by conveying what the records actually contain.

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 list tool with four fully documented parameters and no output schema, the description covers resource, scope, and record semantics. It is slightly short on return shape and pagination expectations, but nothing critical to a correct invocation is missing.

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 limit, since, before and account_id are already documented with types and RFC3339 format. The description only restates that time filters and a limit exist, adding no format, boundary, default, or max-value detail beyond the schema.

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+resource (get account audit logs) scoped to a Cloudflare account, notes the V2 version, and adds the useful gloss that records capture who changed what and when. It does not distinguish itself from close siblings such as get_account_audit_log_history or get_account_insights_audit_log, and never explains what V2 changes versus a V1, so an agent must guess among several audit-log readers.

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?

No when-to-use guidance, no prerequisites, and no alternatives named. The only context is that time filters and a limit are supported, which is a capability statement rather than routing advice, leaving the agent unable to tell why it would pick this over the other audit-log tools in the sibling list.

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