Skip to main content
Glama

List Teams and Clusters

list_teams_and_clusters
Read-onlyIdempotent

Discover the team hierarchy and registered Kubernetes clusters to obtain a valid cluster_id for cluster-scoped calls, without probing live clusters or exposing credentials.

Instructions

List all teams, environments, and registered Kubernetes clusters in KubeOrbit's registry without probing live clusters.

Returns the team hierarchy with each cluster's cluster_id, display name, cloud provider (gke, eks, aks, local), and environment, with zero credentials or secrets exposed.

Use as the first discovery call to obtain a valid cluster_id required by cluster-scoped tools. Prefer get_fleet_overview when you need live node, pod, and health counts probed across every cluster, or get_cluster_info once you already know a single cluster_id.

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": "list_teams_and_clusters"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
teamsNoRegistered teams, each grouping environments and clusters with cluster_id, name, provider, and description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "teams": {
      +      "description": "Registered teams, each grouping environments and clusters with cluster_id, name, provider, and description.",
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "title": "Teams",
      +      "type": "array"
      +    }
      +  },
      +  "title": "TeamsAndClustersOutput",
      +  "type": "object"
      +}
  2. First observedv0.1.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is largely covered. The description still adds non-obvious context: it explicitly states no live cluster probing occurs (so latency and side-effect expectations are set) and that zero credentials or secrets are exposed, which annotations cannot express. It stops short of mentioning result size, pagination, or caching, keeping it at a strong 4 rather than a 5.

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

Conciseness5/5

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

Three sentences ordered by importance: what it does, what comes back, then how it relates to alternatives. Each sentence carries distinct information – the no-probe constraint, the returned fields, the routing advice – with no restatement of the title or name.

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

Completeness5/5

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

With an output schema present, the description does not need to document return values, yet it still summarizes the key fields an agent needs to pick a cluster_id. For a parameterless read tool with full annotation coverage, there is no obvious missing piece an agent would need before calling it.

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?

The tool takes zero parameters, so the description has no parameter meaning to add and the baseline of 4 applies. The free-text enumeration of provider values (gke, eks, aks, local) is useful orientation for downstream filtering but is output data, not input semantics.

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

Purpose5/5

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

Names a specific verb and resource ('List all teams, environments, and registered Kubernetes clusters') and constrains it with 'without probing live clusters', which separates it from any discovery tool that hits live APIs. It also enumerates the returned fields (cluster_id, display name, provider, environment), so an agent knows exactly what it gets back without opening the output schema.

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

Usage Guidelines5/5

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

Gives explicit sequencing guidance ('Use as the first discovery call to obtain a valid cluster_id required by cluster-scoped tools') and names two alternatives with the exact condition that selects each: get_fleet_overview for live node/pod/health counts, get_cluster_info once a single cluster_id is known. Nothing about when-to-use 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.