Skip to main content
Glama
ay-garg

OpenShift 4 MCP Server

create_job_from_cronjob

Manually trigger a scheduled OpenShift CronJob by creating a Job from its template, specifying job name, namespace, and cluster.

Instructions

Create a Job immediately from a CronJob template (manual trigger).

Args: cronjob_name: Source CronJob name. job_name: Name for the newly created Job. namespace: Namespace (default: "default"). cluster: Named cluster to target (empty = default).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clusterNo
job_nameYes
namespaceNodefault
cronjob_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

TDQS

A4.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It does convey the key behavior—creating a Job immediately from a CronJob template—and 'manual trigger' adds meaning beyond the tool name. However, it omits side effects, permission requirements, idempotency concerns, or what happens to the CronJob itself, leaving a moderate transparency gap.

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 compact and well-structured: a single front-loaded action sentence followed by a terse Args list where every line adds semantic value. There is no boilerplate or redundant elaboration, and the most important intent communicated first.

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?

For a simple, fully scalar parameter set with an output schema present, the description covers all inputs, defaults, and the source/target relationship needed to call the tool. It could be more complete about permissions or return behavior, but the existing schema and straightforward create semantics make the description sufficient for correct invocation.

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

Parameters5/5

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

Schema description coverage is 0%, yet the Args block fully compensates by explaining every parameter: cronjob_name is the source, job_name is the new Job's name, namespace has a default, and cluster is the target cluster defaulting to empty. This adds meaning that the schema alone does not provide.

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 opening sentence states a specific action ('Create a Job') and the source resource ('from a CronJob template') with the contextual qualifier 'manual trigger'. This clearly distinguishes it from sibling tools like list_cronjobs, list_jobs, or other create operations such as create_configmap and create_namespace.

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

Usage Guidelines4/5

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

The phrase 'manual trigger' provides clear context for when this tool is appropriate: immediately invoking a CronJob template outside of its scheduled run. It does not explicitly name excluded alternatives or contrast with other job/cronjob tools, but the usage intent is clear enough to guide tool selection.

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