Skip to main content
Glama
ay-garg

OpenShift 4 MCP Server

create_subscription

Creates an OLM Subscription to install an operator from a CatalogSource, using package, channel, source, and namespace details.

Instructions

Create an OLM Subscription to install an operator from a CatalogSource. install_mode is informational only (set via OperatorGroup, not Subscription spec).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
sourceYes
channelYes
clusterNo
packageYes
namespaceYes
install_modeNoOwnNamespace
source_namespaceNoopenshift-marketplace

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It correctly signals a mutating action that installs an operator, and usefully warns that install_mode is not actually honored by the Subscription and must instead be set via OperatorGroup. It does not disclose permission requirements or other side effects, leaving some transparency gaps.

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 two purposeful sentences: the first states the action, resource, and purpose; the second delivers a critical caveat. There is no filler or duplicated schema content.

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?

Because an output schema is present, not documenting return values is acceptable. The critical gap is on the input side: eight parameters, no schema descriptions, no annotations, and the description only clarifies install_mode. No prerequisites or relationship between source and source_namespace is given, so the tool cannot be invoked confidently without external OLM knowledge.

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%, so the description must compensate for the eight parameters. It only clarifies install_mode; parameters such as name vs. package, source vs. source_namespace, namespace, channel, and cluster are left to name-based inference. This is insufficient for an empty schema.

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 opens with a specific action and resource: 'Create an OLM Subscription', and states the goal ('install an operator from a CatalogSource'. This makes the tool's role clear and separates it from the many lifecycle siblings such as list_subscriptions and delete_subscription.

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?

The purpose statement implies the main use case: installing an operator via OLM when a CatalogSource is available. However, it gives no explicit when-to-use/not-use guidance and does not name related alternatives, so the agent must infer routing from the sibling list.

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

Deploy Server

Other Tools