Skip to main content
Glama
gensecaihq

pfSense MCP Server

by gensecaihq

manage_acme_certificate_domain

Add or remove a domain (SAN) validation entry on an ACME certificate in pfSense. Manage individual ACME domain entries for Let's Encrypt validation without replacing the entire list.

Instructions

Add or remove a domain (SAN) validation entry on an ACME certificate

Each ACME certificate needs at least one domain entry describing how pfSense proves ownership to Let's Encrypt (HTTP-01, DNS-01 via a provider API, manual DNS, etc.) before a certificate can be issued. This manages entries one at a time instead of replacing the whole a_domainlist array (see update_acme_certificate for a full-replace).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoFully-qualified domain name / SAN (required for create)
actionYesAction to perform ('create' or 'delete')
methodNoValidation method (required for create). Common values: 'dns_cf' (Cloudflare DNS-01), 'http' (HTTP-01), 'webroot'. See the pfSense ACME package for the full provider list.
confirmNoMust be set to True for delete operations. Safety gate for destructive operations.
domain_idNoDomain entry ID (required for delete)
parent_idYesACME certificate ID (from search_acme_certificates)
provider_fieldsNoMethod-specific credential/config fields, merged directly into the request. Example for method='dns_cf' with an API token: {"cf_token": "..."}. With a legacy global key: {"cf_email": "...", "cf_key": "..."}.
apply_immediatelyNoWhether to apply changes immediately

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior1/5

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

The description clearly states the tool can 'remove' domain entries, which is destructive, but the annotations declare destructiveHint=false. This is a direct contradiction. The schema further reinforces the destructive nature by requiring a confirm flag for delete operations, making the annotation inconsistency severe.

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?

The description is concise and front-loaded, with the purpose in the first sentence. The second paragraph adds valuable context about ACME validation and alternatives without redundancy. It earns its length, though slightly verbose with the background explanation.

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?

Given high schema coverage, an output schema, and the presence of sibling tools, the description provides sufficient context by explaining per-entry behavior and contrasting with update_acme_certificate. It doesn't explain return values, but that is not required when an output schema exists.

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 detailed descriptions for all 8 parameters, so the description carries little additional parameter-level meaning. It does add high-level context about validation methods, but the schema already handles parameter semantics thoroughly.

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 starts with a specific verb+resource: 'Add or remove a domain (SAN) validation entry on an ACME certificate.' It clearly distinguishes itself from update_acme_certificate by noting that it manages entries one at a time rather than replacing the entire a_domainlist array, making its purpose unmistakable.

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 description provides context on when ACME domain entries are needed and explicitly contrasts this tool with update_acme_certificate for full-replace operations. It implies the appropriate use case for per-domain management, though it doesn't enumerate explicit 'when not to use' scenarios beyond the alternative.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gensecaihq/pfsense-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server