Skip to main content
Glama
orchestra-hq

Orchestra MCP Server

Official
by orchestra-hq

List audit events

list_audit_events
Read-only

List the audit trail for the workspace the credential resolves to, newest first: who did what, to which resource, and what changed.

Instructions

List the audit trail for the workspace the credential resolves to, newest first: who did what, to which resource, and what changed.

occurred_after is required and sets how far back the trail is read; every other filter narrows within that window.

Input Schema

NameRequiredDescriptionDefault
pageNoPage number. Must be greater than or equal to 1.
actionNoFilter by action. Comma-separated values are supported. One of: ACCOUNT_CREATED, ACCOUNT_DELETED, ACCOUNT_SETTINGS_UPDATED, ACCOUNT_UPDATED, AGENT_CREATED, AGENT_DELETED, AGENT_SESSION_DELETED, AGENT_SESSION_UPDATED, AGENT_UPDATED, API_KEY_ROTATED, ASSET_CREATED, ASSET_DELETED, ASSET_DEPENDENCIES_CR...
actor_idNoOnly events performed by this actor, matched on the recorded actor id.
page_sizeNoNumber of items per page. Defaults to 25; maximum 100.
resource_idNoOnly events on this resource, by its id or YAML name.
resource_typeNoFilter by the type of resource acted on. Comma-separated values are supported. One of: ACCOUNT, AGENT, AGENT_SESSION, API_KEY, ASSET, ENVIRONMENT, GIT_CONNECTION, GROUP, INCIDENT, INTEGRATION_CONNECTION, INTEGRATION_STATE, INVITE, IP_RESTRICTIONS, MONITOR, ORGANISATION, PIPELINE, PIPELINE_RUN, PRODU...
occurred_afterYesOnly events at or after this time, as an ISO 8601 timestamp (e.g. 2026-09-01T00:00:00Z). Required.
occurred_beforeNoOnly events at or before this time, as an ISO 8601 timestamp.
X-Orchestra-Account-IdNoAct on this account rather than the one the credential resolves to. Omit it to use the credential's own account. An API key is issued to a single account, so it may only name that account; an OAuth token may name any account its grant covers.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2026.10.12-0
    • changedInput schema / properties / action / description
      Previous value: -"Filter by action. Comma-separated values are supported. One of: ACCOUNT_CREATED, ACCOUNT_DELETED, ACCOUNT_SETTINGS_UPDATED, ACCOUNT_UPDATED, AGENT_CREATED, AGENT_DELETED, AGENT_UPDATED, API_KEY_ROTATED, ASSET_CREATED, ASSET_DELETED, ASSET_DEPENDENCIES_CREATED, ASSET_UPDATED, ENVIRONMENT_CREATED, ENV..."New value: +"Filter by action. Comma-separated values are supported. One of: ACCOUNT_CREATED, ACCOUNT_DELETED, ACCOUNT_SETTINGS_UPDATED, ACCOUNT_UPDATED, AGENT_CREATED, AGENT_DELETED, AGENT_SESSION_DELETED, AGENT_SESSION_UPDATED, AGENT_UPDATED, API_KEY_ROTATED, ASSET_CREATED, ASSET_DELETED, ASSET_DEPENDENCIES_CR..."
    • changedInput schema / properties / resource_type / description
      Previous value: -"Filter by the type of resource acted on. Comma-separated values are supported. One of: ACCOUNT, AGENT, API_KEY, ASSET, ENVIRONMENT, GIT_CONNECTION, GROUP, INCIDENT, INTEGRATION_CONNECTION, INTEGRATION_STATE, INVITE, IP_RESTRICTIONS, MONITOR, ORGANISATION, PIPELINE, PIPELINE_RUN, PRODUCT, SKILL, TASK..."New value: +"Filter by the type of resource acted on. Comma-separated values are supported. One of: ACCOUNT, AGENT, AGENT_SESSION, API_KEY, ASSET, ENVIRONMENT, GIT_CONNECTION, GROUP, INCIDENT, INTEGRATION_CONNECTION, INTEGRATION_STATE, INVITE, IP_RESTRICTIONS, MONITOR, ORGANISATION, PIPELINE, PIPELINE_RUN, PRODU..."
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds real behavioral context on top: results are newest-first, the scope is the credential's workspace, and occurred_after bounds the entire read window. It stops short of describing pagination behavior or the cross-account header's effect, but those are covered elsewhere.

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, front-loaded with the resource and scope, then the single most important calling constraint. Every clause earns its place.

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, paginated list tool with 100% schema coverage, an output schema, and readOnlyHint annotations, this is nearly complete. The remaining gaps (pagination interaction with the window, cross-account scoping nuance) are documented in the schema rather than the description, which is acceptable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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, but the description adds relational meaning the schema cannot convey: occurred_after defines the read window rather than just another predicate, and every other filter is subordinate to it. That is meaningful semantics beyond the per-field text.

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?

Specific verb (List) plus resource (audit trail) plus scope (the workspace the credential resolves to), and it enumerates the semantic content of a record ('who did what, to which resource, and what changed'). This clearly separates it from adjacent read tools like list_incident_events or list_operations.

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?

It states the operational constraint that occurred_after is required and that all other filters narrow within that window, which is genuine usage guidance. However, it never says when to reach for this tool versus a sibling such as list_incident_events, nor does it describe limits or exclusions beyond the required window.

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