Skip to main content
Glama

sa__ListPlaybookAuditLogs

Retrieve paginated playbook audit logs by project and workspace, filter by status, action, time range, or log level to track execution and troubleshoot issues.

Instructions

[SA] List audit logs.

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": {
      "limit": "<limit>",
      "offset": "<offset>",
      "project_id": "<project_id>",
      "workspace_id": "<workspace_id>"
    },
    "name": "sa__ListPlaybookAuditLogs"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputNoinput.
limitYeslimit
offsetYesoffset
outputNooutput.
statusNostatus.
end_timeNoend_time.
sort_dirNosort_dir. asc, desc
sort_keyNosort_key
action_idNoAction id.
error_msgNoerror_msg.
log_levelNolog level.
project_idYesID of project
start_timeNostart_time.
action_nameNoaction name.
instance_idNoInstance id.
trigger_typeNotrigger type.
workspace_idYesID of workspace
instance_typeNoinstance type.
parent_instance_idNoparent instance id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior1/5

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

With no annotations supplied, the description carries the full behavioral burden and delivers none of it: nothing about pagination behavior despite required limit/offset with a maximum of 50, no permission or project/workspace scoping requirements, no disclosure that this is a read-only listing, and no rate or retention notes.

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

Conciseness2/5

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

One short sentence with no wasted words, but the brevity is under-specification rather than economy: for a 19-parameter tool it should front-load scope, required identifiers, and filtering intent. There is no structure beyond a bare label.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has 19 parameters, 4 required path/query identifiers, no annotations, and no output schema, so the description must do substantial work. A single label sentence leaves the agent without scope, filtering semantics, return shape expectations, or selection guidance among numerous sibling log/audit tools.

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% (19 params, all documented in-schema, including enums for sort_dir and example values for status, trigger_type, instance_type). The description adds zero meaning beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"[SA] List audit logs" restates the tool name (ListPlaybookAuditLogs) with a service prefix and adds no specificity: it doesn't say these are playbook audit logs specifically, nor how they differ from siblings such as sa__ListPlaybookActions or hss__ListClusterAuditLogs. An agent must infer scope from the name alone.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no mention of alternatives (e.g., ListClusterAuditLogs for cluster-level logs, or ShowAuditLog-style siblings), and no stated preconditions. The description gives the agent nothing to decide between this and its many audit/log siblings.

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

Deploy Server

Other Tools