Skip to main content
Glama

List the durable authorization-filtered event log

events_list
Read-onlyIdempotent

List authorization-filtered event logs to review cluster, namespace, and audit activity; filter by namespace, actor, resource, operation, type, or cluster and paginate results.

Instructions

List the durable authorization-filtered event log

Cluster events require events:read or audit:read on '/'. Namespace lifecycle and mutation events require audit:read on ''; global audit entries require audit:read on '*'. Namespace, actor and resource filters compose; actor and resource use exact matches.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "events_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoExact stored event type, normally Normal, Warning or Audit. Lifecycle details such as OperationFailed are in reason, not type.
actorNoExact actor identity, including token name and ID when applicable.
limitNoMaximum results per page. Results are authorization-filtered before pagination.
orderNoPage order. `asc` (default) pages forward from the oldest event; `desc` pages backward from the newest. The cursor continues in the same order.asc
cursorNoOpaque cursor returned by the preceding page.
clusterNoExact cluster-name filter from clusters_list: 2–12 lowercase letters or digits, beginning with a letter; combine with namespace to disambiguate names.
resourceNoExact resource category. Explicit filters without the required audit/read or events/read permission return 403; unfiltered queries silently omit unauthorized events.
namespaceNoNamespace of the requested object; defaults to default for single-object routes and creation. On collection routes (/clusters, /operations, /events, /events/stream, /orphaned-volumes, /backup-storages and root /metrics), absence includes all authorized namespaces and a value filters to that namespace. A nonexistent explicit namespace returns 404 not_found with resource namespace and its name only when the authenticated caller has a permission in that namespace. Otherwise collections remain empty and object requests retain their normal 403 response without revealing existence. Public and unauthenticated authentication routes do not resolve the parameter.
operationIdNoExact operation identifier string from cluster_operations_list or operation_get; limits results to events associated with that operation.

Output Schema

NameRequiredDescriptionDefault
itemsYes
nextCursorNoOpaque continuation cursor; absent at the end.
operationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changed
    • removedInput schema / $defs / NamespaceName
      Removed value: -{
      -  "description": "Project namespace name, 2–32 lowercase letters, digits or hyphens; starts with a letter and ends with a letter or digit. The existing default namespace is reserved.",
      -  "maxLength": 32,
      -  "minLength": 2,
      -  "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
      -  "type": "string"
      -}
    • addedInput schema / $defs / NamespaceName_depth16
      Added value: +{
      +  "description": "Project namespace name, 2–32 lowercase letters, digits or hyphens; starts with a letter and ends with a letter or digit. The existing default namespace is reserved.",
      +  "maxLength": 32,
      +  "minLength": 2,
      +  "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
      +  "type": "string"
      +}
    • addedInput schema / properties / actor / description
      Added value: +"Exact actor identity, including token name and ID when applicable."
    • addedInput schema / properties / cluster / description
      Added value: +"Exact cluster-name filter from clusters_list: 2–12 lowercase letters or digits, beginning with a letter; combine with namespace to disambiguate names."
    • addedInput schema / properties / cursor / description
      Added value: +"Opaque cursor returned by the preceding page."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum results per page. Results are authorization-filtered before pagination."
    • changedInput schema / properties / namespace / $ref
      Previous value: -"#/$defs/NamespaceName"New value: +"#/$defs/NamespaceName_depth16"
    • addedInput schema / properties / namespace / description
      Added value: +"Namespace of the requested object; defaults to default for single-object routes and creation. On collection routes (/clusters, /operations, /events, /events/stream, /orphaned-volumes, /backup-storages and root /metrics), absence includes all authorized namespaces and a value filters to that namespace. A nonexistent explicit namespace returns 404 not_found with resource namespace and its name only when the authenticated caller has a permission in that namespace. Otherwise collections remain empty and object requests retain their normal 403 response without revealing existence. Public and unauthenticated authentication routes do not resolve the parameter."
    • addedInput schema / properties / operationId / description
      Added value: +"Exact operation identifier string from cluster_operations_list or operation_get; limits results to events associated with that operation."
    • addedInput schema / properties / order / description
      Added value: +"Page order. `asc` (default) pages forward from the oldest event; `desc` pages backward from the newest. The cursor continues in the same order."
    • addedInput schema / properties / resource / description
      Added value: +"Exact resource category. Explicit filters without the required audit/read or events/read permission return 403; unfiltered queries silently omit unauthorized events."
    • addedInput schema / properties / type / description
      Added value: +"Exact stored event type, normally Normal, Warning or Audit. Lifecycle details such as OperationFailed are in reason, not type."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "EventChange_depth13": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "after": {},
      +        "before": {},
      +        "path": {
      +          "type": "string"
      +        },
      +        "sensitive": {
      +          "type": "boolean"
      +        },
      +        "truncated": {
      +          "description": "Values were replaced with byte-count markers, omitted, or the path was shortened. Missing values do not imply unset for this change.",
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "path"
      +      ],
      +      "type": "object"
      +    },
      +    "EventDetails_depth14": {
      +      "additionalProperties": true,
      +      "description": "Structured audit context, returned only with audit:read on the event object. Spec changes use dotted JSON paths and array selectors by name or id. Missing before or after means unset unless truncated is true. Sensitive values are only (changed), (set), or (unset), never secret material or its length. Non-sensitive values exceeding 1 KiB of encoded JSON become byte-count markers. Spec details are bounded to 32 KiB; large change sets retain paths without values, and may omit trailing paths.",
      +      "properties": {
      +        "changes": {
      +          "items": {
      +            "$ref": "#/$defs/EventChange_depth13"
      +          },
      +          "type": "array"
      +        },
      +        "truncated": {
      +          "description": "Some values or changes were shortened or omitted to bound the structured audit record.",
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "Event_depth15": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "actor": {
      +          "description": "Human-readable account, issuer-scoped OIDC account, account plus API token name/ID, or system actor. Historical events may have no recorded actor.",
      +          "type": "string"
      +        },
      +        "cluster": {
      +          "maxLength": 12,
      +          "minLength": 2,
      +          "pattern": "^[a-z][a-z0-9]{1,11}$",
      +          "type": "string"
      +        },
      +        "createdAt": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "details": {
      +          "$ref": "#/$defs/EventDetails_depth14"
      +        },
      +        "id": {
      +          "format": "int64",
      +          "type": "integer"
      +        },
      +        "message": {
      +          "type": "string"
      +        },
      +        "namespace": {
      +          "allOf": [
      +            {
      +              "$ref": "#/$defs/NamespaceName_depth14"
      +            }
      +          ],
      +          "description": "Namespace of cluster and namespace-level entries; absent for global audit entries.",
      +          "readOnly": true
      +        },
      +        "operationId": {
      +          "type": "string"
      +        },
      +        "reason": {
      +          "type": "string"
      +        },
      +        "resource": {
      +          "description": "Resource category for filtering, such as clusters, accounts, auth, rbac or backup-storages.",
      +          "type": "string"
      +        },
      +        "target": {
      +          "description": "Non-secret resource identifier, such as a cluster name, account name or token ID.",
      +          "type": "string"
      +        },
      +        "type": {
      +          "description": "Stored event category, normally Normal, Warning or Audit. SSE event: uses this value verbatim. Lifecycle detail (for example OperationFailed, ClusterReady or LoginSucceeded) is in reason. Clients must tolerate additional stored types.",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "type",
      +        "message",
      +        "createdAt"
      +      ],
      +      "type": "object"
      +    },
      +    "NamespaceName_depth14": {
      +      "description": "Project namespace name, 2–32 lowercase letters, digits or hyphens; starts with a letter and ends with a letter or digit. The existing default namespace is reserved.",
      +      "maxLength": 32,
      +      "minLength": 2,
      +      "pattern": "^[a-z][a-z0-9-]{0,30}[a-z0-9]$",
      +      "type": "string"
      +    }
      +  },
      +  "additionalProperties": false,
      +  "properties": {
      +    "items": {
      +      "items": {
      +        "$ref": "#/$defs/Event_depth15"
      +      },
      +      "type": "array"
      +    },
      +    "nextCursor": {
      +      "description": "Opaque continuation cursor; absent at the end.",
      +      "type": "string"
      +    },
      +    "operationId": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "items"
      +  ],
      +  "type": "object"
      +}
  2. First observedv0.4.3

TDQS

A3.9/5.0
Behavior5/5

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

Substantially exceeds the annotations (which only cover read-only/idempotent safety). It discloses the exact permission required per event class, that explicit unauthorized filters return 403 while unfiltered queries silently omit unauthorized events, that filtering happens before pagination, and that the cursor continues in the same order — all behaviorally decisive for an agent.

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?

Only three sentences and no padding, but the first one merely echoes the tool title and earns nothing. The permission sentence is a long multi-clause run-on covering four distinct permission scopes, which is dense to parse even though every clause is load-bearing.

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 9-parameter, zero-required log query with a full output schema and rich annotations, the description covers the security model, filter composition and pagination ordering. Remaining details (page size limits, cursor opacity) are already documented in the schema, so nothing critical is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description goes beyond it by stating that namespace, actor and resource filters compose and that actor/resource matching is exact. The authorization consequences attached to resource filtering also clarify what those parameter values imply.

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?

States a specific verb and resource ("List ... event log") plus a distinguishing scope qualifier: durable and authorization-filtered. The one weakness is that the first sentence is essentially the title restated, so it adds no information beyond the header, and it never names the adjacent *_list tools it should be distinguished from.

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?

Gives useful sourcing hints — cluster names come from clusters_list, operationId from cluster_operations_list or operation_get — and says namespace + cluster should be combined to disambiguate. It never states when to prefer this over operations_list or cluster_operations_list, so the use/use-not boundary is left to inference.

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