Skip to main content
Glama
euisuh

Nginx Proxy Manager MCP

Disable Redirection Host

disable_redirection_host

Disable a redirection host by ID to stop it from serving redirects while keeping its configuration. Preview changes with dry_run=True.

Instructions

Disable a redirection host by ID while keeping its configuration in NPM. Use delete_redirection_host to remove it; use list_redirection_hosts to check status. This stops the redirect from being served and applies the configuration change. Returns the updated host object. Set dry_run=True to preview the exact request without changing NPM.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID of the redirection host, from the matching list tool.
dry_runNoWhen True, return the exact request preview without changing NPM.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.5.2
    • addedInput schema / properties / dry_run / description
      Added value: +"When True, return the exact request preview without changing NPM."
    • addedInput schema / properties / id / description
      Added value: +"ID of the redirection host, from the matching list tool."
  2. First observedv0.5.1

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does well: it discloses that the configuration is preserved, that the redirect stops being served, that the change is applied to NPM, and that dry_run previews without mutating. It does not mention required permissions, reversibility via enable_redirection_host, or side effects on dependent hosts, leaving modest gaps.

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?

Front-loaded with the action and its key distinction, then the alternative tools, then the side effect and return value. Slightly redundant: 'stops the redirect from being served' and 'applies the configuration change' cover overlapping ground, and the return-value sentence is unnecessary given the output schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter mutation with full schema coverage and an output schema, the description supplies everything the agent needs: the effect, the config-retention semantics, sibling routing, and the dry_run safety valve.

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?

Schema coverage is 100%, so both id and dry_run are already documented in the schema, and the description's dry_run explanation largely restates the schema text. The phrase 'by ID' confirms the identifier's role but adds no format or sourcing detail beyond what the schema provides, so the baseline of 3 applies.

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?

States a specific verb and resource ('Disable a redirection host by ID') and immediately clarifies the semantic distinction from deletion: configuration is retained in NPM while the redirect stops being served. This separates it cleanly from delete_redirection_host without needing siblings opened.

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

Usage Guidelines5/5

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

Explicit routing is provided: use delete_redirection_host to remove the host, list_redirection_hosts to check status, and this tool to disable it. The dry_run option is also framed as a preview path, so an agent has clear when-to-use and when-not-to-use guidance.

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