Skip to main content
Glama
julcap

nginx-certbot-mcp

delete_site

DestructiveIdempotent

Remove an nginx server block for a domain with a dry run by default; set confirm to true to permanently archive and delete it, leaving certbot certificates untouched.

Instructions

Disable, archive, and delete the nginx server block for a domain. Destructive - requires confirm:true to actually act; without it, returns what would happen. Does not touch any certbot certificate for the domain. Does NOT reload nginx - call reload_nginx afterward. The archived copy can be brought back with restore_site.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain whose server block should be removed
confirmNoMust be true to actually act; false (default) is a dry run

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYes
successYes
reload_requiredYesTrue on success - nginx has not actually been reloaded yet

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and idempotentHint=true, but the description goes well beyond them by disclosing the dry-run mode, the fact that certificates are left alone, that nginx is not reloaded, and that an archived copy can be restored. These are critical behavioral traits not inferable from the annotations alone.

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?

Four sentences, each carrying distinct information: what happens, the confirmation guard, the certificate non-effect, and the nginx reload/restore caveats. It is slightly dense but well-organized and front-loaded with the core action.

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 destructive tool with an output schema, full parameter schema coverage, and rich annotations, the description covers all necessary operational context: how to actually trigger deletion, what is not affected, what to do after, and how to undo. No important gap remains.

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%, with both parameters fully described in the JSON schema itself. The description reinforces the confirm parameter's dry-run semantics but adds no new meaning beyond what the schema already documents, 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?

The description names a specific verb ('delete'), a specific resource ('nginx server block for a domain'), and ties in the related actions 'disable' and 'archive'. It clearly differentiates this from sibling tools like delete_cert and revoke_cert by scoping to the nginx server block only.

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?

Explicitly states the confirm:true requirement and the dry-run behavior without it, explains that certbot certificates are untouched, says nginx is NOT reloaded and directs the agent to call reload_nginx afterward, and mentions restore_site as the reversal path. This fully routes the agent to the correct workflow.

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