Skip to main content
Glama

Connect a custom domain to a brand

tarkle_connect_brand_domain
Idempotent

Connect a custom domain (brand.example.com) to a brand page, or replace the one it has (a brand has at most one). Subject to the plan's brand page domain limit. Returns the DNS records to add AND a ready guide: dns_provider (who hosts the domain's DNS, found from its nameservers: Cloudflare, Vercel, Route 53, GoDaddy...), dns_zone, dns_guide.records (names relative to the zone), numbered steps, and apply_with (how to add the records with that host's API). If you have a tool for that DNS host (a Cloudflare, Vercel or registrar tool) you can add dns_guide.records yourself, with any proxy turned off, then call tarkle_check_brand_domain every 30 seconds until status is active. If not, read the steps to the person. The tool never changes DNS itself. Only workspace Owners and Admins can.

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": {
      "workspaceId": "<workspaceId>",
      "brandId": "<brandId>",
      "domain": "<domain>"
    },
    "name": "tarkle_connect_brand_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesThe hostname to serve the brand page on, for example brand.example.com.
brandIdYesThe brand's id, from tarkle_list_brands.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
workspaceIdYesThe workspace's id, from tarkle_list_workspaces.

Output Schema

NameRequiredDescriptionDefault
domainNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare idempotent, non-destructive, open-world mutation, and the description adds genuinely new behavior: the Owner/Admin permission requirement, the plan's domain limit, and the polling cadence. What it does not disclose is what happens to existing DNS or traffic when a domain is replaced, or whether verification expires.

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 action and the core constraint are front-loaded, and every clause carries operational information. It is dense and parenthetical-heavy, though, and the return-shape sentence duplicates what the output schema already covers.

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?

For a mutating, open-world tool with a plan limit and a multi-step follow-up workflow, the definition covers permissions, the one-domain constraint, the returned guide, and the exact next action. The presence of an output schema means return values need no further explanation.

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 description coverage is 100%, so all four parameters are documented in the schema, including the domain format and llm_model telemetry field. The description adds no meaning beyond that baseline, so a 3 is the correct ceiling.

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 ("Connect a custom domain ... to a brand page") plus the replace semantics and the one-domain-per-brand constraint, which an agent cannot infer from the name alone.

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?

Gives explicit branching guidance: if you have a tool for the DNS host, add dns_guide.records yourself with proxy off and poll tarkle_check_brand_domain every 30 seconds; if not, read the steps to the person. It also names a sibling and states the tool never mutates DNS itself.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.