Skip to main content
Glama

getDomainAuditTrail

Read-onlyIdempotent

getDomainAuditTrail: Get the audit trail (history of all changes) for a specific domain. Requires authentication.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesFully qualified domain name to fetch the audit trail for (e.g. 'example.com').
sessionKeyNoSession key (osk_...) returned by checkDeviceLoginStatus. Pass it on every call when logged in via the in-chat device flow; omit when connected via OAuth.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / domain / description
      Added value: +"Fully qualified domain name to fetch the audit trail for (e.g. 'example.com')."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already provide the key safety profile (readOnlyHint=true, destructiveHint=false, idempotentHint=true), and the description adds the authentication requirement and clarifies the response covers 'history of all changes.' This is useful but does not disclose details like authorization scope, pagination, or ordering.

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 two short sentences with no filler. It front-loads the core action and resource, then adds the authentication prerequisite. Every word contributes to understanding the tool.

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 simple read-only parameterized tool with full schema coverage and robust annotations, the description is sufficient. It identifies the resource, the object returned, and the auth requirement. It does not describe output format, but no output schema exists and the return concept is clearly stated as 'audit trail (history of all changes).'

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 schema already explains both parameters. The description does not add semantics beyond identifying the target as 'a specific domain,' which is already captured in the domain parameter description.

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?

The description states a specific verb and resource: 'Get the audit trail ... for a specific domain.' This clearly identifies the tool's function and implicitly differentiates it from broader account-level tools like getMyAuditLogs and getRecentActivity, though it does not explicitly name those siblings.

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 phrase 'for a specific domain' implies when to use this tool, and 'Requires authentication' is a useful prerequisite. However, it does not explicitly say when to prefer this over related audit/log tools or when not to use it, leaving the usage context mostly implicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.