Skip to main content
Glama

List User Audit Logs

lyzr_list_user_audit_logs
Read-onlyIdempotent

Retrieve audit logs for a specific user by ID. Use filters like action, result, time range, and resource type to analyze user activity and events.

Instructions

Get audit logs for a specific user by ID, with optional filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of results (default 100)
actionNoFilter by action type
offsetNoNumber of results to skip (default 0)
resultNoFilter by result
user_idYesThe user ID whose audit logs to fetch
end_timeNoEnd time for time range filter (ISO 8601 date-time)
start_timeNoStart time for time range filter (ISO 8601 date-time)
resource_typeNoFilter by resource type
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and idempotentHint=true, which covers the safety profile. The description adds the user-scoping constraint but does not disclose additional behavioral details such as pagination behavior, rate limits, or permission requirements. Given the annotations, this is an acceptable baseline but not enriched.

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 a single, concise sentence that front-loads the action and resource. Every word earns its place with no redundant information or filler.

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?

Given the simple read-only list operation, the description is largely complete. It identifies the key scope (user by ID) and notes optional filters, while the schema covers all parameters and annotations cover safety. However, it does not differentiate from the many sibling audit log tools, which is a minor completeness gap.

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 all 8 parameters are well-documented in the schema itself. The tool description only says 'with optional filters' and does not add any extra meaning beyond what the schema provides. This aligns with the baseline for full schema coverage.

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 clearly states the tool's purpose: 'Get audit logs for a specific user by ID, with optional filters.' It uses a specific verb ('Get') and resource ('audit logs for a specific user'), which distinguishes it from sibling tools like list_org_audit_logs or list_my_audit_logs by explicitly targeting a user ID.

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 usage but does not explicitly state when to use this tool over alternatives. It mentions 'optional filters' but provides no guidance on when to choose this tool compared to other audit log listers (e.g., list_org_audit_logs, list_resource_audit_logs). The context is clear from the name and description, but no exclusions or alternatives are named.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nandanNM/lyzr-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server