Skip to main content
Glama

dokploy_audit_log

Read and filter Dokploy audit logs to list events by user, resource, action, or time range for security reviews and troubleshooting.

Instructions

Read the Dokploy audit log with filters. Only action is 'list'. Filters (all optional): userId, userEmail, resourceName, auditAction (create|update|delete|deploy|cancel|redeploy|login|logout|download), resourceType (project|service|environment|deployment|user|customRole|domain|certificate|registry|server|sshKey|gitProvider|notification|settings|session), from/to (ISO timestamps), limit (default 50, max 500), offset. Note: the wire-level query parameter is called action; the MCP arg is auditAction to avoid clashing with the tool's action discriminator.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "dokploy_audit_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoISO-8601 end timestamp
fromNoISO-8601 start timestamp
limitNo
actionYes
offsetNo
userIdNo
userEmailNo
auditActionNoFilter by audit action verb
resourceNameNo
resourceTypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.11.2
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / auditAction / enum
      Previous value: -[
      -  "create",
      -  "update",
      -  "delete",
      -  "deploy",
      -  "cancel",
      -  "redeploy",
      -  "login",
      -  "logout"
      -]New value: +[
      +  "create",
      +  "update",
      +  "delete",
      +  "deploy",
      +  "cancel",
      +  "redeploy",
      +  "login",
      +  "logout",
      +  "download"
      +]
  2. Addedv1.8.3

TDQS

A3.6/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does reasonably well: it establishes a read-only listing operation, discloses the default page size (50) and the hard cap (500), and exposes pagination via offset — details absent from the schema. It omits sort order (newest-first?), whether a total count is returned, and any auth/permission requirements for reading audit data, which are the remaining meaningful gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded and compact in spirit, and the critical naming note is placed where it will be read. But a sizable share of the text is spent restating enum values that already appear in the schema, which is repetition rather than added meaning; trimming those lists would tighten the definition without losing 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?

For a 10-parameter, low-schema-coverage, annotation-free read tool with no output schema, the definition covers nearly all the decision-relevant ground: every filter, format hints, pagination limits, and the action/auditAction naming trap. What remains thin is the return contract — result shape, ordering, and whether filters combine with AND — which an agent would need to page through results confidently.

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 only 30%, so the description must compensate, and it does add real value: the limit default of 50, the ISO format for from/to, and especially the warning that the wire-level query parameter is `action` while the MCP arg is `auditAction` — a genuine disambiguation an agent would otherwise get wrong. Against that, the long parenthetical enumerations of auditAction and resourceType merely repeat the schema enums, and the matching semantics of userId vs userEmail (exact vs partial? which wins if both set?) and resourceName are still unexplained.

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 first sentence names a specific verb and resource ('Read the Dokploy audit log') plus scope ('with filters'), and immediately constrains the tool to a single action ('Only action is list'). It is clearly distinguishable from the domain CRUD siblings such as dokploy_project or dokploy_deployment, though it never explicitly differentiates itself by name.

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?

Usage is implied rather than stated: the agent can infer this is the place to inspect historical activity because it is the only audit-oriented tool, and the 'only action is list' line rules out mutations. However, there is no explicit when-to-use framing, no guidance on combining filters, and no note about when another tool (e.g. a deployment or settings tool) would be a better source for the same information.

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