Skip to main content
Glama

Describe priority class

k8s_describe_priority_class

Retrieve a Kubernetes PriorityClass by name to inspect its priority value and scheduling behavior, optionally targeting a named context.

Instructions

Describe a PriorityClass.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
contextNoNamed context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

C2.1/5.0
Behavior2/5

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

Annotations already declare openWorldHint=true and destructiveHint=false, but the description adds nothing on top — not what a describe returns, not whether it errors on a missing name, not whether it is a read against the live cluster. It is also worth noting the tension between the read-flavored "describe" wording and readOnlyHint=false, though the description does not affirmatively claim a write.

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?

It is a single short sentence with no filler, so nothing is wasted, but this is brevity by omission rather than tight structure. There is no front-loaded scope statement or routing hint to make the sentence earn its place.

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?

With no output schema and only half the parameters documented, the description carries the burden of explaining what the agent gets back and how to supply `name` — and it explains neither. For a cluster-scoped read tool with an undocumented required parameter, this is insufficient.

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

Parameters2/5

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

Only the `context` parameter carries schema documentation; the required `name` parameter has no description anywhere (50% coverage). The description does not compensate by explaining that `name` is the PriorityClass resource name or how context selection interacts with the default cluster.

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

Purpose2/5

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

The description reads "Describe a PriorityClass," which is a verbatim restatement of the tool name and title. It gives no scope, no indication of what the describe output contains, and no differentiation from the many sibling k8s_describe_* tools (pods, jobs, CRDs, etc.).

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: nothing says to pick this over k8s_list_priority_classes for enumerating classes, or when a describe (vs. list) is the right call. It also omits any prerequisite such as needing the priority class to already exist.

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