Skip to main content
Glama

Describe api resource

k8s_describe_api_resource

Describes a specific Kubernetes API resource and returns its details, optionally targeting a named context in the multi-context pool for inspection and troubleshooting.

Instructions

Describe a specific API resource.

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

D1.3/5.0
Behavior1/5

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

Annotations declare readOnlyHint=false and openWorldHint=true, yet the only verb in the description is "Describe," which reads as a non-mutating inspection call - an inconsistency an agent will trip over. The description also says nothing about auth/context requirements, cluster reach, error modes, or what a "describe" response contains, so it adds no behavioral context beyond 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.

Conciseness2/5

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

The single sentence is short but that is under-specification rather than conciseness; there is no wasted wording but also no information front-loaded. A one-line description for a two-parameter, open-world cluster tool leaves the agent with nothing actionable.

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

Completeness1/5

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

With no output schema, a required parameter left undocumented in both schema and description, and no annotation-based explanation of the open-world cluster interaction, the definition is not complete enough to invoke reliably. The only useful guidance lives in the schema's 'context' field, not in the description.

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

Parameters1/5

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

Schema coverage is only 50%: the 'context' parameter is well documented in the schema (pointing at cm_multi_context list_contexts), but the required 'resource_name' has no description at all. The description does not compensate - it never states the expected format (bare name, kind, apiVersion, namespace qualification), which is precisely the ambiguity that would break invocation.

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?

"Describe a specific API resource" only restates the name and title, adding the word "specific" and nothing else. It never says what an "API resource" is here (a kind? a named object? any namespace?) and gives no basis for choosing it over siblings such as k8s_api_resources, k8s_list_api_resources, or the many k8s_describe_<kind> tools.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no exclusions, and no mention of any alternative tool. An agent cannot tell from this text whether it should call this, k8s_get_resource, or a kind-specific describe tool.

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