Skip to main content
Glama
sanjaypsachdev

OpenShift MCP Server

oc_get

Retrieve OpenShift resources like pods, deploymentconfigs, routes, and projects, with optional filters and output format.

Instructions

Get OpenShift resources like pods, deploymentconfigs, routes, projects, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoName of the resource (optional - if not provided, lists all resources)
outputNoOutput formatjson
contextNoOpenShift context to use (optional)
namespaceNoOpenShift namespace/projectdefault
resourceTypeYesType of resource to get (e.g., pods, deploymentconfigs, routes, projects, services)
allNamespacesNoList resources across all namespaces
fieldSelectorNoFilter resources by field selector
labelSelectorNoFilter resources by label selector (e.g., app=nginx)
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It only says 'Get...' without mentioning whether the operation is read-only, how output is returned, potential permissions needed, or any side effects. This leaves critical behavioral ambiguity for a tool with no annotation support.

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?

The description is a single sentence, front-loaded with the action verb and resource examples. It is concise and free of fluff, though it could be expanded to include more contextual structure without becoming verbose.

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 8 parameters, no output schema, and no annotations, the one-sentence description is insufficient. It does not explain the return format, default behavior, or when to use optional parameters like fieldSelector or allNamespaces, making the tool difficult to invoke correctly without additional knowledge.

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?

The input schema has 100% description coverage, including examples for resourceType. The tool description adds no extra parameter-specific meaning beyond what the schema already provides, so the baseline score of 3 is appropriate.

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

Purpose4/5

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

The description clearly states that the tool gets OpenShift resources and provides examples such as pods, deploymentconfigs, routes, and projects. It does not explicitly differentiate from sibling tools like oc_describe, but the verb 'get' and resource list make the primary purpose understandable.

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?

The description offers no guidance on when to use this tool versus alternatives like oc_describe or oc_logs. There is no mention of exclusions, preferred scenarios, or distinctions from sibling tools, leaving the agent without clear selection criteria.

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/sanjaypsachdev/mcp-server-openshift'

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