Skip to main content
Glama
julcap

nginx-certbot-mcp

create_domain_record

Idempotent

Upsert a Route 53 CNAME record to point a domain at a target, ensuring DNS is ready before certificate issuance. Retry-safe and re-runnable.

Instructions

Upsert a Route 53 CNAME record pointing domain at target. Safe to call repeatedly - it's an upsert, not create-only. Run this before create_site / issue_cert and allow a few minutes for DNS propagation; issue_cert re-checks resolution itself, so it's safe to retry issue_cert if it reports the domain isn't resolving yet. For an ACME DNS-01 TXT challenge record, use create_txt_record instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ttlNoDNS TTL in seconds
domainYesThe domain to create/update, e.g. mysite.julcap.net
targetYesCNAME target the domain should point to, e.g. www.julcap.net

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYes
successYes
change_idNoRoute 53 change ID, useful for polling propagation status
change_statusNoRoute 53 change status, e.g. PENDING or INSYNC

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?

Although idempotentHint already signals repeatability, the description adds valuable behavioral context: DNS propagation may take minutes, issue_cert re-checks resolution itself, and retrying issue_cert is safe if the domain is not yet resolving. This goes beyond the annotations and helps the agent anticipate timing and failure behavior.

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 tight and front-loads the core purpose before providing workflow guidance. The sentence about repeatability overlaps with the idempotentHint annotation, which prevents a perfect score, but the remaining sentences all earn their place.

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 rich schema, existing annotations, and presence of an output schema, the description fills the remaining practical gaps: where this tool fits in the provisioning flow, DNS propagation delays, retry safety, and which sibling tool to use instead. Nothing necessary for correct invocation is missing.

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?

The input schema documents all three parameters with descriptions and examples, so parameter semantics are fully covered by structured data. The description restates domain→target but adds no new constraints, syntax, or edge-case guidance beyond what the schema already provides.

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?

Clearly identifies the operation as an upsert of a Route 53 CNAME record pointing `domain` at `target`, which is specific and unambiguous. It also distinguishes itself from create_txt_record and from create-only semantics, so an agent can immediately tell what this tool does and does not do.

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?

Provides explicit sequencing ('Run this before create_site / issue_cert'), timing guidance ('allow a few minutes for DNS propagation'), and a clear alternative for TXT records ('use create_txt_record instead'). This gives the agent concrete conditions for when to invoke this tool versus a sibling.

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