Skip to main content
Glama

Describe Replicaset

cm_k8s_workloads_describe_replicaset
Read-onlyIdempotent

Retrieve details for a Kubernetes ReplicaSet to inspect its configuration, status, and replica health.

Instructions

Describe replicaset (cm_k8s_workloads). Manage Kubernetes workloads (pods, rollouts, strategies, statefulsets, daemonsets, replicasets, jobs, cronjobs).

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

Input Schema

NameRequiredDescriptionDefault
nameNoResource name for workload objects (jobs, cronjobs, statefulsets, etc.)
specNoResource specification for create/set operations
sourceNoSource path for copy operations
commandNoCommand to execute in pod (list form)
pod_nameNoPod name for pod operations
replicasNoNumber of replicas for scaling operations
namespaceNoTarget namespace (default: from config)
local_portNoLocal port for port-forward
destinationNoDestination path for copy operations
remote_portNoRemote port for port-forward
exec_commandNoCommand to execute in pod (space-separated string)
manager_typeNoContainer manager: kubernetes (default: auto-detect)
resource_nameNoResource name for rollout operations
resource_typeNoResource type for rollout operations
exec_containerNoContainer name for exec
label_selectorNoLabel selector for filtering pods
attach_containerNoContainer name for attach
rollout_revisionNoRevision number for rollout undo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that — no output shape, no namespace defaulting, no auth or cluster-context requirements — and the word 'Manage' sits in mild tension with the read-only nature of a describe operation.

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?

The definition is short and front-loads the verb+resource, which is good. The second sentence, however, spends its space on a generic workload-family enumeration that adds no decision value for this specific tool and slightly dilutes the read-only framing.

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

Completeness2/5

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

An output schema exists so return values need not be described, but with 18 optional parameters and zero required ones, the agent gets no help identifying which inputs a replicaset describe actually consumes. For a tool this wide, the description should at minimum name the relevant parameters or the default namespace behavior.

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% across 18 parameters, so the schema itself carries the parameter semantics and the baseline of 3 applies. The description contributes nothing parameter-specific — notably it never says which of the 18 fields (name, namespace, label_selector) are relevant to a describe call.

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?

The first sentence pairs a specific verb (Describe) with a specific resource (replicaset), so the core action is unmistakable. However, the second sentence is a broad family-level umbrella ('Manage Kubernetes workloads...') that neither narrows the purpose nor distinguishes this tool from the near-identical sibling k8s_describe_replica_set.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: no mention of when to pick this over k8s_describe_replica_set or cm_k8s_workloads_scale_replicaset, no prerequisites, and no namespace/config assumptions. The 'Manage Kubernetes workloads' sentence describes the tool family rather than routing the agent between options.

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