Skip to main content
Glama

wafle_domains_add

Attach a custom domain to a wafle store. Receive a verification token and the DNS instructions needed to complete setup and enable SSL provisioning.

Instructions

Attach a new custom domain (e.g. 'mi-tienda.com') to a wafle store. Wafle generates a verification_token and returns the 3 alternative DNS instructions the tenant must apply.

After creating, the tenant updates DNS at their provider, then call wafle_domains_verify (or wait for the 5min cron) to drive verification + SSL + nginx provisioning.

Validation rules: lowercase FQDN only, no IPs, no wildcards, no .wafle.click subdomains, max 10 active domains per tenant.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesWafle store slug, e.g. 'gamerland' or 'lensitive'.
domainYesFQDN to attach. Strip protocol + trailing slash. e.g. 'mi-tienda.com' or 'shop.example.com'.
force_httpsNoIf true (default), HTTP traffic is 301'd to HTTPS once the cert is live.
redirect_wwwNoIf true (default), www.<domain> is also bound and redirected to the apex.
custom_target_urlNoRequired if storefront_target='custom'. Absolute URL to proxy to.
storefront_targetNoWhere requests to this domain should land (default: main = storefront).
verification_methodNoPreferred verification method to highlight in the UI. Any one method passes.
Behavior4/5

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

Annotations only declare non-idempotence and non-destructiveness; the description adds valuable behavioral context: it generates a verification_token, returns 3 alternative DNS instructions, and lists validation constraints (lowercase FQDN, no IPs/wildcards, no .wafle.click subdomains, max 10 domains). It also discloses the asynchronous verification path via cron. No contradiction with annotations.

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 compact yet information-dense. The first sentence states the primary action, the second explains the follow-up workflow, and the third lists validation rules. Every sentence earns its place with no redundancy or filler.

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 creation tool with 7 parameters and no output schema, the description covers the core workflow, return value (DNS instructions), and validation rules. It also references the sibling wafle_domains_verify for the next step. It does not specify the exact response payload shape or behavior on duplicate domains, but that is not essential given the schema and sibling context.

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?

The input schema already documents all 7 parameters with 100% coverage, so the baseline is 3. The description adds significant validation constraints not present in the schema (e.g., no wildcards, no IPs, no .wafle.click subdomains, max 10 active domains), which helps the agent craft valid requests. It does not deeply explain enum interactions, but the schema's param descriptions already cover those.

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 opens with 'Attach a new custom domain... to a wafle store', a specific verb+resource statement that clearly identifies the tool's function. It further differentiates from sibling wafle_domains_verify by explaining the creation-then-verification workflow. The example domain and mention of DNS instructions make the purpose concrete and unambiguous.

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 explicitly instructs the tenant to update DNS and then call `wafle_domains_verify` or wait for the 5-min cron, providing clear post-creation steps and an alternative. It does not explicitly contrast with wafle_domains_list or wafle_domains_status, but the creation vs. verification distinction is clear enough for selection.

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/the33warehouse-tech/wafle-mcp'

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