Skip to main content
Glama

nginx_reload

Reload nginx only after validating its configuration, refusing to apply a broken config; optionally target a configured host or default host.

Instructions

Reload nginx. Validates the configuration first and refuses to reload a broken config.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostNotarget host name from the opsgate config; omit for the default host

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuinely valuable, non-obvious trait: a pre-validation gate that aborts on bad config. It leaves other significant behaviors unstated, such as whether reload causes connection drops, whether elevated privileges are required, or how a rejected config is reported back.

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?

Two short sentences, the action stated first and the safety guarantee immediately after. No filler, no restatement of the tool name.

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 single-optional-parameter tool with no output schema and no annotations, the description covers the core action and the main safety behavior. It is only slightly thin on failure semantics — an agent cannot tell whether the nginx -t output is surfaced when a reload is refused.

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?

There is one optional parameter (host) and schema description coverage is 100%, so the schema already explains that it comes from the opsgate config and defaults when omitted. The description adds nothing about host selection or multi-host behavior, which is the expected baseline when the schema does the work.

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?

Names a specific verb and resource (reload nginx) and adds scope-defining behavior (validates first). It implicitly separates itself from the sibling nginx_test, which only validates, but never names that sibling or any other, so the differentiation is inferred rather than stated.

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?

There is no explicit when-to-use, when-not-to-use, or alternative selection guidance. The claim that it validates first and refuses a broken config implicitly tells the agent it can use this instead of a separate test step, which is useful implied guidance but falls short of explicit routing.

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