Skip to main content
Glama

Describe resources

describe_resources
Read-only

Fetch multiple Kubernetes resources in a single batch call (max 10). More efficient than calling describe_resource multiple times. Use when you need to inspect several related resources at once (e.g. 2 ServiceAccounts + their token Secrets + a ClusterRole). An entry with a name describes that one object; an entry without one lists every object of the kind. Every entry answers with its own status (success, not_found, error) and scope (single, list), so an entry the agent could not read is never reported as an empty listing.

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": {
      "resources": "<resources>",
      "cluster_id": "<cluster_id>"
    },
    "name": "describe_resources"
  }
}

Input Schema

NameRequiredDescriptionDefault
resourcesYesList of resources to fetch (max 10 items).
cluster_idYesAnkra cluster id (UUID) the call targets. Discover ids with list_clusters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true; the description goes further by disclosing per-entry result semantics: each entry returns its own `status` (success, not_found, error) and `scope` (single, list), so a failed read is never masquerading as an empty listing. That partial-failure disclosure is exactly the kind of behavior an agent needs and cannot infer from annotations or schema.

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?

Front-loads the verb, resource, and batch limit in the first clause, then moves to the alternative, the use case, and per-entry semantics. Four tight sentences with no filler; the final sentence is long but its content about status/scope is substantive rather than padding.

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?

For a two-parameter batch tool with a rich schema but no output schema, the description covers the essential unknowns: batch ceiling, single-vs-list behavior, and the shape and failure semantics of each result entry. Minor gaps remain (ordering of results, whether full manifests are returned), but nothing that would cause a misinvocation.

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 coverage is 100%, with per-property descriptions for kind, name, namespace, and api_version, so the baseline is 3. The description restates the key distinction ('an entry with a `name` describes that one object; an entry without one lists every object of the kind'), which is useful reinforcement but adds little beyond what the schema's name and maxItems descriptions already state.

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?

States a specific verb and resource ('Fetch multiple Kubernetes resources') plus the batch size cap (max 10), and explicitly positions itself against the sibling 'describe_resource' by name. An agent can distinguish it from describe_resource, get_pods, or get_secrets without opening any schema.

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

Usage Guidelines4/5

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

Gives a concrete trigger ('when you need to inspect several related resources at once') with a worked example (2 ServiceAccounts + token Secrets + a ClusterRole), and implies the single-resource alternative by saying it is more efficient than repeated describe_resource calls. It stops short of an explicit exclusion ('for one resource, use describe_resource'), so it is clear context rather than a full when/when-not rule.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.