Skip to main content
Glama

List audit logs

portkey_list_audit_logs
Read-only

List audit log entries (admin actions across the organization). Portkey: GET /audit-logs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_sizeNoNumber of records per page. Default 50.
current_pageNoPage number (0-based) for pagination. Default 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

The annotation readOnlyHint=true already communicates that this is a read operation, and the description's 'GET /audit-logs' reinforces that with no contradiction. It does not add much beyond the annotation, such as auth requirements, rate limits, or response-shape notes, so it provides only modest extra behavioral context.

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 compact sentences lead with the action and resource, then give the scope and endpoint. There is no filler, and the most decision-relevant information is front-loaded.

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 a simple paginated list tool, the description plus schema covers what the tool returns, its organizational scope, its read-only nature, and pagination inputs. No critical information an agent needs to select and invoke it is missing.

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?

Both parameters (page_size, current_page) have descriptive schema entries, so the schema carries the load for parameter meaning. The description adds no additional parameter semantics, matching the baseline for high 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 uses a specific verb ('List') plus a specific resource ('audit log entries') and clarifies the scope ('admin actions across the organization'), making it easy to distinguish from sibling list tools such as portkey_list_users or portkey_list_api_keys. It also identifies the underlying endpoint, removing ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'admin actions across the organization' gives a clear context for when this tool is relevant, but it does not explicitly state when to prefer it over a sibling or mention any exclusions. There are no alternatives named, so the guidance is clear but not fully explicit.

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.