Skip to main content
Glama
ay-garg

OpenShift 4 MCP Server

create_silence

Suppress OpenShift alerts by creating an Alertmanager silence with custom matchers and duration.

Instructions

Create an Alertmanager silence. matchers: comma-separated key=value or key=~regex pairs. Example: 'alertname=Watchdog,severity=~warning|critical' duration_hours: silence duration in hours (default 4).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clusterNo
commentYes
matchersYes
duration_hoursNo

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 transparency burden. It conveys the operation and the matcher/duration configuration, but it does not disclose side effects such as silencing matching alerts, reversibility, or any required permissions. This is a moderate gap for a mutation tool.

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 front-loaded with its main purpose, followed by concise parameter notes and a useful example. Every line serves a purpose, with no filler or unnecessary repetition.

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 description provides enough to invoke the tool with the required matchers and comment and to understand duration, and an output schema exists. However, because there are no annotations and the cluster parameter is left undefined, the overall context for safe and correct use is only partially complete.

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 0% description coverage, so the description's matcher format guidance and example add meaningful value. It also clarifies the duration_hours parameter. However, it leaves cluster and comment semantically unexplained beyond their schema titles.

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 verb and resource: 'Create an Alertmanager silence.' This clearly identifies the intended operation and distinguishes it from related siblings such as list_silences and delete_silence. The parameter notes reinforce that this is a creation action rather than a query or deletion.

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 states what the tool does but gives no guidance about when an agent should choose it over alternatives or what prerequisites might apply. It does not mention exclusions, conditions, or related tools like delete_silence, so the agent receives no decision rules for selecting this tool.

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