Skip to main content
Glama

get_audit_log_artifacts

Read-onlyIdempotent

Retrieve tamper-evident audit-log artifacts with pagination and exact-match filters to verify compliance and trace specific actions.

Instructions

Query the organization's immutable Parquet audit-log artifacts with pagination (defaults page 1, limit 25) and exact-match filters, including content_hash for pinpointing one artifact. Artifacts are the tamper-evident copy of the audit trail; use get_audit_logs for the live audit-event table. Requires an admin API key; a workspace-scoped key sees only its own workspace's artifacts. Read-only. Returns entries plus total, page, limit, and pages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo1-based page number; defaults to 1.
limitNoEntries per page, up to 100; defaults to 25.
actionNoKeep only artifacts with this action.
resultNoKeep only artifacts with this result value.
actor_emailNoKeep only artifacts by this actor email.
content_hashNoKeep only the artifact with this content hash.
request_hashNoKeep only artifacts tied to this request hash.
resource_typeNoKeep only artifacts against this resource type.
manifest_versionNoKeep only artifacts tied to this runtime manifest version.
policy_snapshot_idNoKeep only artifacts tied to this execution-policy snapshot.
schema_snapshot_idNoKeep only artifacts tied to this schema snapshot.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv0.1.3
    • addedInput schema / properties / action / description
      Added value: +"Keep only artifacts with this action."
    • addedInput schema / properties / actor_email / description
      Added value: +"Keep only artifacts by this actor email."
    • addedInput schema / properties / content_hash / description
      Added value: +"Keep only the artifact with this content hash."
    • addedInput schema / properties / limit / description
      Added value: +"Entries per page, up to 100; defaults to 25."
    • addedInput schema / properties / manifest_version / description
      Added value: +"Keep only artifacts tied to this runtime manifest version."
    • addedInput schema / properties / page / description
      Added value: +"1-based page number; defaults to 1."
    • addedInput schema / properties / policy_snapshot_id / description
      Added value: +"Keep only artifacts tied to this execution-policy snapshot."
    • addedInput schema / properties / request_hash / description
      Added value: +"Keep only artifacts tied to this request hash."
    • addedInput schema / properties / resource_type / description
      Added value: +"Keep only artifacts against this resource type."
    • addedInput schema / properties / result / description
      Added value: +"Keep only artifacts with this result value."
    • addedInput schema / properties / schema_snapshot_id / description
      Added value: +"Keep only artifacts tied to this schema snapshot."
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover readOnly, idempotent, and non-destructive traits, and the description reinforces those while adding beyond them: artifacts are immutable and tamper-evident, admin API keys are required, workspace-scoped keys see only their own artifacts, and the response shape includes entries, total, page, limit, and pages. This is useful behavioral context that annotations alone do not provide.

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?

The description is immediately informative: the first sentence states the resource, pagination, and filter nature, and the remaining sentences cover the key behavioral distinctions and auth requirements. Every sentence carries purposeful information, with no repetition or filler beyond reinforcing the read-only trait already in annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter read-only query tool with no output schema, the description provides the essential operating context: pagination defaults, filter semantics, artifact immutability, auth requirements, scoping behavior, and return fields. The parameter-level details are already fully documented in the input schema, so nothing critical is missing for correct invocation.

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 coverage is 100%, so the baseline is 3. The description adds value by stating the filters are exact-match and by highlighting content_hash as a way to pinpoint one artifact, which is not explicit in the schema. It also summarizes pagination defaults already in the schema, so the added semantic load is moderate but meaningful.

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?

The description names a specific verb ('Query'), a concrete resource ('the organization's immutable Parquet audit-log artifacts'), and states its core function clearly. It also explicitly differentiates from the sibling 'get_audit_logs' by calling out the live audit-event table, so an agent can distinguish the two tools without inspecting schemas.

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?

It explicitly says to use 'get_audit_logs' for the live audit-event table, framing the current tool as the tamper-evident artifact counterpart. It also states the admin-key requirement and workspace-scoped visibility, giving clear guidance on when this tool is appropriate and what privileges are needed.

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