Skip to main content
Glama

List audit logs

upcloud_list_audit_logs
Read-only

Security audit trail of the account (up to 180 days): who did what to which resource, when, from which IP and via API or Hub. Filter by action, origin, resource type, time window or a keyword (UUID, username or IP). Returns total_count for paging. UpCloud: GET /1.3/audit-logs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoKeyword: a resource UUID, account username or IP address.
limitNoMax entries to return, 0-200 (API default 50).
actionNoOnly this action.
offsetNoOffset into the results (API default 0).
originNoOnly this origin.
created_afterNoISO timestamp, e.g. 2026-09-01T00:00:00Z (inclusive). Default 180 days ago.
resource_typeNoOnly this resource type (uks = Kubernetes).
created_beforeNoISO timestamp (inclusive). Default now.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true. The description adds genuinely new behavior: the 180-day retention ceiling, the exact facets of each record (actor, resource, timestamp, IP, origin), and that the response carries total_count for paging. It stops short of describing pagination mechanics or auth requirements, so a 4 rather than a 5.

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 dense sentences: purpose and scope first, filter capability second, return/paging note plus the raw endpoint last. No filler and every clause carries information.

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?

With no output schema, the description should shoulder the return-value burden; it does name total_count and the record facets, but the actual field names/shape of a log entry are not spelled out. Combined with full schema coverage and a read-only annotation, the definition is nearly complete for an 8-param read 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 the schema already documents all 8 parameters including enums and defaults. The description only restates the filter names and loosely glosses 'q' as UUID/username/IP, adding no syntax or format detail beyond what the schema provides. Baseline 3 applies.

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 resource ('Security audit trail of the account') and scope ('up to 180 days') with the exact dimensions captured ('who did what to which resource, when, from which IP and via API or Hub'). It is immediately distinguishable from every sibling, none of which touch audit logs.

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?

It enumerates the filter axes (action, origin, resource type, time window, keyword) which implies how to narrow results, but never states when this tool should be reached for versus other account tools or what prerequisites exist. There is no explicit when/when-not guidance, only implied usage.

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.