Skip to main content
Glama

Create free TLS certificate

create_free_certificate
Idempotent

Request a no-cost public DV TLS certificate after preflight and explicit approval, specifying DNS validation, delivery method, and managed or customer-held private key custody.

Instructions

Create one idempotent no-cost public DV certificate request after preflight. Call only after the user explicitly approves the exact DNS names, public CA, validation method, delivery method, and key-custody mode. For portable API/AI deployment use customer_csr and retain the private key on the destination. Managed mode permits unattended renewal, but its private key is portal-only behind two-factor verification and can never be retrieved through MCP. Requires certificates:manage.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "hostname": "<hostname>",
      "key_mode": "<key_mode>",
      "validation_method": "<validation_method>",
      "delivery_method": "<delivery_method>",
      "acknowledge_public_certificate_request": "<acknowledge_public_certificate_request>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "create_free_certificate"
  }
}

Input Schema

NameRequiredDescriptionDefault
csrNoRequired only for customer_csr. Supply a public PKCS#10 CSR, never a private key
hostnameYesPrimary lowercase DNS name; wildcards begin with *.
key_modeYesmanaged enables unattended renewal but its private key stays portal/2FA-only; customer_csr keeps the private key with the caller
idempotencyKeyYesStable key for this exact free-certificate request; reuse only for an unchanged retry
delivery_methodYesChoose only a delivery method that preflight reports available
target_order_idNoOptional owned VPS or Cloud VPS order ID returned by service tools
alternative_namesNoOptional unique lowercase DNS subject alternative names
validation_methodYesChoose only a validation method that preflight reports available
certificate_authorityNoOptional CA choice; omit to let preflight recommend a currently ready authority
acknowledge_public_certificate_requestYesTrue only after the user approves this exact public-certificate request

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.3.21
    • removedInput schema / properties / alternative_names / items / description
      Removed value: -"Primary lowercase DNS name; wildcards begin with *."
  2. First observedv2.3.16

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare idempotentHint=true, openWorldHint=true, and destructiveHint=false, but the description adds material context beyond them: the managed private key is portal-only behind two-factor verification and can never be retrieved through MCP, and the operation requires the certificates:manage scope. Those are exactly the facts an agent needs before committing to a key-custody mode.

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?

Four tightly packed sentences, front-loaded with the action and the precondition, then the mode trade-off, then the permission requirement. No sentence is redundant and none restates the title.

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 10-parameter mutation with approval gating and no output schema, the description covers preconditions, permission scope, idempotency, and key custody well. It says nothing about what the call returns or whether issuance is synchronous, which is the one gap given the absence of an output schema.

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 baseline is 3 and the schema does most of the work. The description still adds deployment-level meaning to key_mode (customer_csr keeps the private key on the destination for portability, managed trades retrieval for unattended renewal) that goes beyond the enum text.

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 ('Create one idempotent no-cost public DV certificate request') plus the timing constraint ('after preflight'). The qualifiers 'no-cost', 'public', and 'DV' distinguish it from the paid certificate creation siblings and make the scope 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?

Gives a strong gating condition — call only after explicit user approval of the exact DNS names, CA, validation method, delivery method, and key-custody mode — and a selection rule for portable API/AI deployments (use customer_csr). It does not name alternative tools such as preflight_free_certificate or renew_free_certificate, so the when-not/alternative routing is left implicit.

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

Deploy Server

Other Tools