Skip to main content
Glama

list_resources

Read-only

Sweep resources of a given kind with namespace filtering and per-row summary context (managedBy, health, issueCount) to rank suspects before detailed inspection.

Instructions

Use for a jq-like namespace sweep when you know the resource kind (pods/po, deployments/deploy, services/svc, configmaps/cm, CRDs). Returns compact Kubernetes-shaped rows plus summaryContext by default (managedBy, health, issueCount) so you can compare many similar resources and pick suspects before calling get_resource. For unknown kind/name searches, use search. For broad health triage, use get_dashboard or issues first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYesresource kind to list for a broad sweep, e.g. pods/po, deployments/deploy, services/svc, configmaps/cm. Prefer this before get_resource when comparing many same-kind objects.
groupNoAPI group when the kind is ambiguous (e.g. serving.knative.dev for Knative Service vs core Service)
contextNoper-row context: default attaches summaryContext (managedBy + health + issueCount) for suspect ranking; 'none' returns bare rows
namespaceNofilter to a specific namespace for app-scoped triage
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds valuable behavioral context: it returns 'compact Kubernetes-shaped rows plus summaryContext by default (managedBy, health, issueCount)' and mentions a 'context' parameter option for 'none' to get bare rows. This goes beyond the annotation by clarifying the output shape and default enrichment, though it omits details like pagination or limits.

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 dense sentences, front-loaded with a clear use case, then output shape, then alternatives. No wasted words; every sentence earns its place.

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?

With no output schema, the description adequately covers the return format (compact rows + summaryContext fields). It also provides usage boundaries. Slight gap: no mention of pagination, sorting, or error cases, but for a list tool with a moderate complexity this is reasonably complete.

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% (all 4 parameters have descriptions). The description adds nominal value by naming example kinds ('pods/po, deployments/deploy...') and mentioning the default context behavior, but the schema already captures this. Baseline 3 is appropriate since the schema carries the heavy lifting.

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?

The description clearly states a specific verb ('list') and resource scope ('jq-like namespace sweep' for known resource kinds like pods/deployments/services). It also distinguishes from siblings by explicitly naming get_resource as a follow-up and search for unknown kind/name searches.

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?

Provides explicit when-to-use: 'when you know the resource kind' and 'before calling get_resource' to compare many similar resources. Also gives exclusions: 'For unknown kind/name searches, use search' and 'For broad health triage, use get_dashboard or issues first.' This is exemplary usage guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/skyhook-io/radar'

If you have feedback or need assistance with the MCP directory API, please join our Discord server