Skip to main content
Glama
severalnines

@severalnines/ccx-admin-mcp

Official
by severalnines

Get datastore audit log

ccx_admin_get_datastore_audit
Read-onlyIdempotent

Retrieve a datastore's audit log, newest first, to review jobs, resource creation/deletion, and info events. Filter by time range, entry type, or line limit to investigate operational changes.

Instructions

Query the audit log of a datastore (jobs, resource create/delete, info lines), newest first. Time bounds are RFC3339 timestamps, e.g. 2026-09-01T00:00:00Z.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoOnly entries before this RFC3339 time
fromNoOnly entries at or after this RFC3339 time
typeNoOnly entries of this type, e.g. job, info, delete_resource, create_resource. Filtering happens after fetching a wider window (up to 1000 lines); 'fetched' and 'window_exhausted' tell you whether older matches may exist.
limitNoMax lines to return (default 20)
datastore_idYesDatastore UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 and idempotentHint, so the safety profile is covered. The description adds useful behavioral context beyond annotations: results are ordered newest first, time bounds use RFC3339 format, and the log includes jobs and resource create/delete events. No contradictions 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 with no filler. The core action and ordering are front-loaded, followed by the essential time-format detail. Every word contributes to correct invocation.

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?

The schema richly documents all parameters, including the type-filtering caveat and limit constraints, and annotations cover safety. The description adds the key ordering and time-format context. Since there is no output schema, a bit more detail about the response shape could be helpful, but it is not necessary for invoking the tool correctly.

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 clarifying the time format with a concrete RFC3339 example and by enumerating the event types ('jobs, resource create/delete, info lines') that map to the 'type' parameter. This supplements the schema descriptions meaningfully.

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 states a specific verb ('Query'), a clear resource ('audit log of a datastore'), and the content scope ('jobs, resource create/delete, info lines'). This clearly distinguishes it from sibling tools like ccx_admin_get_datastore and ccx_admin_list_datastores, which serve different purposes.

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 implies when to use this tool: when you need a datastore's audit log. However, it does not explicitly mention alternatives or provide exclusion criteria, such as when to prefer ccx_admin_get_datastore or ccx_admin_list_datastores instead. The usage context is clear but not fully elaborated.

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