Skip to main content
Glama

caddy_tls

Idempotent

Configure and inspect Caddy TLS/HTTPS settings: view current status, set ACME email, CA URL, or profile, and read Encrypted ClientHello configuration.

Instructions

Get or configure TLS/HTTPS settings. Actions: 'status' shows current TLS config, 'set_email' sets the ACME email, 'set_acme_ca' sets the ACME CA URL, 'set_acme_profile' sets the ACME profile (Caddy 2.10+), 'ech_status' reads the Encrypted ClientHello config (Caddy 2.10+, read-only here). Works on both fresh and existing Caddy instances. Writes target policies[0].issuers[0] only, and only when that issuer's module is 'acme' -- on a multi-policy TLS config, or one whose first issuer is 'internal' (Caddy's local CA), edit the intended issuer with caddy_config_set instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
caNoACME CA URL (for 'set_acme_ca' action)
emailNoACME email address (for 'set_email' action)
actionYesAction to perform
profileNoACME profile name (for 'set_acme_profile'). Requires Caddy 2.10+ and a CA that offers profiles; Let's Encrypt uses 'shortlived' for 6-day certificates. Valid names are defined by the CA, not by Caddy.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changedv2.3.2
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "status",
      -  "set_email",
      -  "set_acme_ca"
      -]New value: +[
      +  "status",
      +  "set_email",
      +  "set_acme_ca",
      +  "set_acme_profile",
      +  "ech_status"
      +]
    • addedInput schema / properties / profile
      Added value: +{
      +  "description": "ACME profile name (for 'set_acme_profile'). Requires Caddy 2.10+ and a CA that offers profiles; Let's Encrypt uses 'shortlived' for 6-day certificates. Valid names are defined by the CA, not by Caddy.",
      +  "type": "string"
      +}
  2. First observedv2.2.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, and the description adds substantial behavioral context: write scope is restricted to policies[0].issuers[0], writes only occur when the issuer module is 'acme', 'ech_status' is read-only, and profile validity is CA-defined. This fully discloses side effects and limitations beyond the annotation hints.

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 dense but every sentence earns its place: actions are front-loaded, followed by compatibility notes, write-scope constraints, and a concrete routing instruction to a sibling tool. No filler or restatement of schema details.

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?

Given the complexity of five actions with different constraints, the description fully covers behavior, version requirements, write targets, and fallback routing to caddy_config_set. The absence of an output schema is mitigated by the clear action-level descriptions.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents parameters, but the description adds meaning beyond it: the profile parameter's version requirement, CA-defined valid values, and the Let's Encrypt 'shortlived' example. This enriches the agent's understanding without redundant repetition.

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 leads with a clear verb-resource pairing ('Get or configure TLS/HTTPS settings') and enumerates every supported action with specific targets (ACME email, CA URL, profile, ECH status). It distinguishes itself from caddy_config_set by naming the exact condition under which that sibling should be used instead.

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?

The description gives explicit when-to-use and when-not-to-use guidance: it works on fresh or existing instances, but for multi-policy TLS configs or non-ACME first issuers it directs the agent to use caddy_config_set. It also flags version-dependent actions (Caddy 2.10+), leaving no ambiguity about applicability.

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

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/YawLabs/caddy-mcp'

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