Skip to main content
Glama

List cluster operations

cluster_operations_list
Read-onlyIdempotent

List cluster operations with pagination to inspect execution records, including type, phase, target, progress, timing, and error details. Filter by phase and use cursors to page through results.

Instructions

List cluster operations

Returns durable execution records containing id, type, phase, target and available progress, timing or error details. Pagination uses limit (default 100, maximum 500) and cursor from nextCursor; operation_get reads individual records and wait tracks completion.

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": {
      "cluster": "<cluster>"
    },
    "name": "cluster_operations_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results per page. Results are authorization-filtered before pagination.
phaseNoOptional exact, case-sensitive execution phase: Pending, Running, Succeeded, Failed or Cancelled; values are returned in phase by cluster_operations_list and operation_get.
cursorNoOpaque cursor returned by the preceding page.
clusterYesManaged cluster name; the RBAC object is namespace/cluster.
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.

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 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 / cluster / description
      Added value: +"Managed cluster name; the RBAC object is namespace/cluster."
    • 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 / phase / description
      Added value: +"Optional exact, case-sensitive execution phase: Pending, Running, Succeeded, Failed or Cancelled; values are returned in phase by cluster_operations_list and operation_get."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "Error_depth14": {
      +      "additionalProperties": false,
      +      "description": "Every error response. `code` is a stable category (`invalid_request`, `unauthorized`,\n`forbidden`, `not_found`, `conflict`, `method_not_allowed`, `unsupported_media_type`,\n`payload_too_large`, `password_change_required`, `rate_limited`, `internal_error`);\n`message` is a human-readable explanation that names the rejected field or resource.\n",
      +      "properties": {
      +        "code": {
      +          "type": "string"
      +        },
      +        "details": {
      +          "additionalProperties": true,
      +          "description": "Structured, secret-free context; omitted when there is nothing to add. Validation\nerrors carry `field` (JSON path such as `spec.components.engine.replicas`, or a\nquery/path parameter name) and `reason` (`required`, `unknown_field`, `invalid`,\n`out_of_range`, `unsupported`, `conflict`, `reused`). Missing or conflicting\nresources carry `resource`, `name` and `reason` (`not_found`, `already_exists`,\n`invalid_state`, `protected`) and, for `invalid_state`, the current `state`.\nOther keys may be added; clients must ignore unknown keys.\n",
      +          "type": "object"
      +        },
      +        "message": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "code",
      +        "message"
      +      ],
      +      "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"
      +    },
      +    "OperationTarget_depth14": {
      +      "properties": {
      +        "kind": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "minLength": 1,
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "kind",
      +        "name"
      +      ],
      +      "type": "object"
      +    },
      +    "Operation_depth15": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "actor": {
      +          "description": "Account, issuer-scoped OIDC account, account plus API token name/ID, or system actor that queued the operation. Historical operations may have no recorded actor.",
      +          "type": "string"
      +        },
      +        "cancelRequested": {
      +          "description": "Cooperative cancellation has been accepted but may still be cleaning up.",
      +          "type": "boolean"
      +        },
      +        "cluster": {
      +          "maxLength": 12,
      +          "minLength": 2,
      +          "pattern": "^[a-z][a-z0-9]{1,11}$",
      +          "type": "string"
      +        },
      +        "completedAt": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "createdAt": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "error": {
      +          "$ref": "#/$defs/Error_depth14"
      +        },
      +        "id": {
      +          "maxLength": 128,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "message": {
      +          "description": "Current stage or error; every terminal operation has a non-empty summary.",
      +          "type": "string"
      +        },
      +        "namespace": {
      +          "allOf": [
      +            {
      +              "$ref": "#/$defs/NamespaceName_depth14"
      +            }
      +          ],
      +          "readOnly": true
      +        },
      +        "phase": {
      +          "enum": [
      +            "Pending",
      +            "Running",
      +            "Succeeded",
      +            "Failed",
      +            "Cancelled"
      +          ],
      +          "type": "string"
      +        },
      +        "progress": {
      +          "maximum": 100,
      +          "minimum": 0,
      +          "type": "number"
      +        },
      +        "startedAt": {
      +          "format": "date-time",
      +          "type": "string"
      +        },
      +        "step": {
      +          "description": "Current durable execution checkpoint or convergence phase.",
      +          "type": "string"
      +        },
      +        "target": {
      +          "$ref": "#/$defs/OperationTarget_depth14"
      +        },
      +        "targetGeneration": {
      +          "description": "Cluster generation observed by desired-state operations.",
      +          "format": "int64",
      +          "type": "integer"
      +        },
      +        "type": {
      +          "enum": [
      +            "backup",
      +            "delete-backup",
      +            "restore",
      +            "raise-fcv",
      +            "restart",
      +            "rebalance",
      +            "replace-member",
      +            "rotate-system-user",
      +            "rotate-tls",
      +            "rotate-jwt-secret",
      +            "recover-quorum",
      +            "create",
      +            "update",
      +            "tls",
      +            "upgrade",
      +            "upgrade-agents",
      +            "delete",
      +            "resume"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "namespace",
      +        "id",
      +        "cluster",
      +        "target",
      +        "type",
      +        "phase",
      +        "createdAt"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "additionalProperties": false,
      +  "properties": {
      +    "items": {
      +      "items": {
      +        "$ref": "#/$defs/Operation_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.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds pagination mechanics (limit default/max and cursor sourced from nextCursor), which is useful behavioral flow, but it does not disclose ordering of results, stability of cursors, or what happens when phase matches nothing.

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

Conciseness4/5

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

Two tight sentences, front-loaded with the list operation and the record shape before pagination and alternative pointers. The leading line duplicates the title but otherwise no sentence is wasted.

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?

An output schema exists, so enumerating returned fields is optional; combined with annotations, pagination rules and alternative routing, the definition is nearly self-sufficient. The main residual gap is not stating the cluster-scoping distinction from the similarly named operations_list.

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 coverage is 100%, so limit, phase, cursor, cluster and namespace are all self-documenting. The description only adds the tie between the cursor input and the response's nextCursor field; it says nothing about phase filtering semantics or namespace scope beyond what the schema already states.

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 cluster operations) and immediately characterizes the payload as durable execution records with id, type, phase, target and progress/timing/error. It distinguishes itself from operation_get and wait, though it does not clarify how it differs from the look-alike operations_list sibling.

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?

Explicitly routes the agent: use operation_get to read an individual record, use wait to track completion, implying this tool is for enumerating within a cluster. No explicit when-not guidance and no contrast with operations_list, so not quite a 5.

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