Skip to main content
Glama

Search the audit log

search_audit_log
Read-only

Use this when the user asks who changed something in the account and when: who paused a site, who invited someone, what an AI agent did. Returns entries newest first with the time, the member, the action, what it changed and, for changes made through an AI agent, which one (via). Owners and admins only. Not for monitoring history or incidents: use get_monitor_history or list_incidents.

Input Schema

NameRequiredDescriptionDefault
toNoOnly entries on or before this date, YYYY-MM-DD.
fromNoOnly entries on or after this date, YYYY-MM-DD.
pageNoPage of results, 25 a page. Default 1.
textNoWords to find in the entry: a site or member name, an email address, an action such as "paused".
actionNoOnly this action, as entries name it (for example monitor.pause or invitation.create).
memberNoOnly changes made by this member, by email address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false). The description adds substantive non-annotation context: an authorization constraint ('Owners and admins only'), result ordering ('newest first'), and the shape of returned fields including the AI-agent 'via' attribution. It stops short of stating default time scope or result-set limits, so it is strong but not complete.

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?

Three compact sentences: trigger, returned data, exclusions. The routing condition is front-loaded and the sibling exclusions close it out, with no redundant restatement of the title or name.

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?

There is no output schema, so the description carries the burden of describing returns, and it does: ordering, time, member, action, changed object, and 'via' for AI-agent changes. Combined with the permission note and sibling routing, an agent has everything needed to call and interpret this tool.

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 every one of the six parameters is already documented with format hints (YYYY-MM-DD dates, 25-per-page paging, action naming like monitor.pause). The description adds no parameter-level syntax or constraints beyond what the schema provides, which is the baseline-3 case.

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?

States a specific verb+resource (search the audit log) and frames it with the exact user intent it serves: 'who changed something in the account and when,' backed by concrete examples (who paused a site, who invited someone, what an AI agent did). Sibling tools are named by contrast, so an agent can route without opening a schema.

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?

Explicit when-to-use is front-loaded, and exclusions are precisely named with alternatives: 'Not for monitoring history or incidents: use get_monitor_history or list_incidents.' Both the positive trigger and the negative routing condition are present, leaving little to inference.

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.

Resources