Skip to main content
Glama
thenavidm
by thenavidm

Create a domain

create_domain
Destructive

Creates a domain for the authenticated workspace, enabling custom slugs, logos, redirect URLs, and deep-link configuration for branded short links.

Instructions

Create a domain for the authenticated workspace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
logoNo
slugNoName of the domain.
accountNoExact configured private workspace profile label; not a tenant or provider account ID.
confirmNoMust be true for the requested mutation or exclusive private output file.
payloadNoComplete native JSON body; do not mix with body flags or payload_file. Arrays use repeated JSON object flags or a whole native array in a private file.
archivedNoWhether to archive this domain. `false` will unarchive a previously archived domain.
assetLinksNoassetLinks.json configuration file (for deep link support on Android).
expiredUrlNoRedirect users to a specific URL when any link under this domain has expired.
notFoundUrlNoRedirect users to a specific URL when a link under this domain doesn't exist.
placeholderNoProvide context to your teammates in the link creation modal by showing them an example of a link to be shortened.
payload_fileNoAbsolute regular non-symlink JSON body file, at most 1 MiB. Cannot mix with payload/body flags.
appleAppSiteAssociationNoapple-app-site-association configuration file (for deep link support on iOS).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, readOnlyHint=false and openWorldHint=true, so the safety profile is covered by structured data. The description adds nothing beyond that: it never mentions the required `confirm` flag, slug uniqueness, side effects such as archiving, or the payload/body-flag exclusivity rules.

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?

A single front-loaded sentence with zero filler or redundancy. It is efficient, though its brevity borders on insufficiency for a 12-parameter destructive tool rather than being a fault of structure.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-required, 12-parameter, nested-object, destructive mutation with no output schema, one sentence is inadequate. It omits the confirm requirement, the payload-vs-flags exclusivity constraint, and any notion of what a domain represents or what creating one affects.

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 92% across 12 parameters, so the schema already carries the parameter semantics (slug, logo, archived, redirect URLs, confirm, payload_file, etc.). The description adds no parameter meaning, which is the baseline 3 when schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Create a domain') plus a scope qualifier ('for the authenticated workspace'), so the intent is unambiguous. However, it offers no differentiation from the many sibling domain tools — register_domain, update_domain, delete_domain — which an agent must distinguish before calling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance, no prerequisites, no alternatives named. The mention of 'authenticated workspace' hints at auth scope but does not tell the agent when to pick create_domain over register_domain or how it relates to list_domains/update_domain.

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