Skip to main content
Glama

list_namespaces

List all namespaces (projects) in an OpenShift cluster to discover available resource scopes for targeting workloads.

Instructions

List all namespaces (projects) in the cluster.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cluster_aliasNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the full burden of disclosing behavioral traits. The verb 'List' implies a read-only operation with no side effects, which is a meaningful implicit disclosure. However, the description does not mention any potential caveats like permissions, pagination, or what happens if cluster_alias is omitted. It adds no details beyond the basic read-only implication.

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?

The description is a single, front-loaded sentence: 'List all namespaces (projects) in the cluster.' Every word contributes to the meaning, with no fluff or redundancy. It is perfectly concise for the simplicity of the operation.

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

Completeness3/5

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

The tool is simple (one optional parameter, output schema exists), so the minimal description covers the basic functionality. However, the lack of any explanation for the cluster_alias parameter leaves an important gap in usage completeness. For a list operation with an output schema, this is borderline adequate but could be improved by describing the parameter and cluster selection behavior.

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?

The description has zero schema coverage (0%) and does not mention the cluster_alias parameter at all. The parameter name and title in the schema are self-explanatory, but the description adds no value in explaining how or when to use it. Since the schema coverage is low, the description was expected to compensate, but it completely fails to do so.

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 uses a specific verb 'List' with a clear resource 'namespaces' and scope 'in the cluster', making its purpose immediately obvious. It also clarifies that 'projects' is an alias for namespaces, which helps distinguish this from sibling tools like list_clusters. The resource type alone is enough to differentiate it from all sibling tools.

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

Usage Guidelines3/5

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

No explicit guidance is given on when to use this tool versus alternatives, but the resource type (namespaces) is self-evident and no sibling tool directly overlaps. The optional cluster_alias parameter suggests a context for filtering, but the description doesn't explain when to set it or omit it. Usage is implied rather than clearly stated.

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/badin017/ocp-mcp'

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