Skip to main content
Glama

List readable durable operations

operations_list
Read-onlyIdempotent

List durable database operations filtered by RBAC, cluster, namespace, or phase. Paginate results with a cursor to inspect readable operations across authorized scopes.

Instructions

List readable durable operations

Filters every operation by its cluster RBAC object, including the global collection.

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": "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 operations_list and operation_get.
cursorNoOpaque cursor returned by the preceding page.
clusterNoOptional exact cluster name from clusters_list, 2–12 lowercase letters or digits beginning with a letter; filters records to that cluster within the selected namespace scope.
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: +"Optional exact cluster name from clusters_list, 2–12 lowercase letters or digits beginning with a letter; filters records to that cluster within the selected namespace scope."
    • 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 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.7/5.0
Behavior4/5

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

Annotations already establish the safe read-only, idempotent, non-destructive profile, so the description's job is to add behavior beyond that. It does disclose a meaningful trait: results are RBAC-filtered per cluster object including the global collection, which affects what the caller sees and is not in the annotations.

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 short sentences, front-loaded with the purpose and followed by the scoping constraint; nothing is padded. The first line largely restates the title, which is the only wasted element.

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 an output schema, rich annotations, and full parameter coverage, the description supplies what structured fields do not: the authorization-filtering behavior and global-collection scope. Its only notable gap is the lack of explicit differentiation from cluster_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 description coverage is 100%, so limit, phase, cursor, cluster and namespace are already well documented, making 3 the baseline. The description mentions no parameter behavior itself (no pagination, phase, or namespace semantics), so it adds nothing beyond the schema.

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 readable durable operations") and adds a scope qualifier about the global collection. It does not explicitly distinguish itself from the sibling cluster_operations_list, leaving the agent to infer the difference from the 'global collection' phrase.

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 only implied: the tool lists operations and spans both cluster-scoped and global collections, which hints at when it is the broader listing choice. There is no explicit when-to-use or when-not, and the close sibling cluster_operations_list is never named or excluded.

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