Skip to main content
Glama
ay-garg

OpenShift 4 MCP Server

by ay-garg

apply_manifest

Apply a YAML or JSON manifest directly to an OpenShift cluster using oc apply. Review manifests before applying to avoid unintended changes.

Instructions

Apply a YAML or JSON manifest to the cluster via 'oc apply -f -'. WARNING: This applies resources directly. Review manifests before applying.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clusterNo
namespaceNo
yaml_contentYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations provided, so description must fully disclose behavior. It mentions direct application via 'oc apply -f -' and includes a warning, but lacks details on side effects (e.g., creates/updates resources, potential overwrites) or prerequisites (e.g., authentication, cluster context). Minimal transparency.

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?

Two sentences; the warning is front-loaded. No fluff, but the description is too brief for the tool's complexity. Conciseness is good, but completeness suffers.

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?

Output schema exists but description does not mention return values. Given many sibling tools and the mutating nature, more context is needed (e.g., permissions, effects on existing resources, summary of output). Incomplete for safe usage.

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

Parameters2/5

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

Schema description coverage is 0%, but the description only implicitly explains the 'yaml_content' parameter by mentioning YAML/JSON. The 'cluster' and 'namespace' parameters are not described at all. The description adds little meaning beyond the schema field names.

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?

Clearly states it applies a YAML or JSON manifest via 'oc apply -f -'. The purpose is clear, but it does not differentiate from sibling tools like run_oc_command, which might also apply manifests. A higher score would require explicit distinction.

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?

Includes a warning to review manifests before applying, but no guidance on when to use this tool versus alternatives (e.g., run_oc_command). Missing scenarios where this tool is appropriate or inappropriate.

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

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