Skip to main content
Glama

Update a Domain

update_domain
DestructiveIdempotent

Update metadata (description, tags), top-level spec flags (acceptAllHosts, acceptAllSubdomains), or the GVC/workload binding. CANNOT change ports or routes directly — to add, repoint, or remove a route on an existing domain use add_domain_route / update_domain_route / remove_domain_route for routes, add_domain_port / remove_domain_port for listener ports, and set_domain_tls / clear_domain_tls for TLS (all core); only CORS edits (set_domain_cors / clear_domain_cors) are full profile. After binding gvcLink/workloadLink, re-read status.dnsConfig — bindings add records the user must create. Recommended reading before first use: get_cpln_skill("domain") — the runbook for this tool family (read once per session).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orgYesOrganization slug (lowercase kebab-case). NEVER guess — if the user has not named one, ask. On org-not-found, stop and ask; do not retry variants.
tagsNoAdd or update tags without replacing the full set. Submit an empty list to clear all tags.
domainYesFully qualified domain name to update.
gvcLinkNoBind the domain to a GVC (e.g., /org/{org}/gvc/{gvc} or //gvc/{gvc}). Mutually exclusive with `removeGvcLink` and `workloadLink`.
descriptionNoNew description for the domain.
workloadLinkNoBind the entire domain to one workload (e.g. //gvc/{gvc}/workload/{name}). Mutually exclusive with `removeWorkloadLink` and `gvcLink`.
removeGvcLinkNoDetach the domain from its current GVC binding.
removeTagKeysNoTag keys to remove from the resource.
acceptAllHostsNoAccept any host header (overrides existing).
removeWorkloadLinkNoDetach the domain from its current workload binding.
acceptAllSubdomainsNoAccept any subdomain (overrides existing).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesWhether the call succeeded.
dataNoThe full machine-readable result — list rows, the resource object, query results. Read THIS, not just the summary.
summaryYesOne-line summary of the result.
nextStepsNoRecommended follow-up actions for this task, in order.

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already mark this as non-read-only, idempotent, and destructive. The description adds behavioral context beyond these: it highlights that binding creates DNS records the user must create, and that it cannot modify ports/routes directly, which are limitations. It also mentions a recommended pre-read skill, which is a usage behavior. This adds value without contradicting the annotations.

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 well-structured, starting with the core purpose, then exclusions, then side-effects and a reading recommendation. Every sentence adds necessary information—there is no filler. It is slightly longer than minimal but the complexity of the tool justifies it.

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 tool's complexity (11 parameters, 2 required, output schema), the description covers what can be updated, what cannot, alternatives, side-effects, and a prerequisite read. The presence of an output schema means return values don't need elaboration. It is a complete, self-sufficient description.

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 already provides 100% parameter descriptions (e.g., tags: 'Add or update tags without replacing the full set. Submit an empty list to clear all tags.'). The description groups parameters into meaningful categories (metadata, spec flags, bindings) and introduces the DNS side-effect, but does not provide syntax beyond the schema. Baseline for full schema coverage is 3; the grouping and side-effect note add a little, but not enough to exceed.

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 clearly states the tool updates metadata (description, tags), spec flags (acceptAllHosts, acceptAllSubdomains), and GVC/workload bindings. It explicitly differentiates from siblings by listing what it cannot do and directing to add_domain_route, update_domain_route, remove_domain_route, add_domain_port, remove_domain_port, set_domain_tls, and clear_domain_tls for routes, ports, and TLS. This gives a precise verb+resource distinction.

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?

The description provides explicit when-to-use vs. alternatives: 'CANNOT change ports or routes directly' followed by the exact sibling tools for routes, ports, and TLS. It also advises re-reading status.dnsConfig after binding gvcLink/workloadLink to create required DNS records, and recommends reading get_cpln_skill('domain') before first use. This is clear context with exclusions and prerequisites.

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.

TDQS

A4.1/5.0
Disambiguation5/5

Every tool targets a distinct resource/action pair (e.g., get_resource vs get_resource_schema, list_deployments vs list_workload_replicas) and descriptions clearly differentiate purposes. No two tools appear to do the same thing.

Naming Consistency5/5

All tools follow a verb_noun snake_case pattern (create_gvc, update_workload, list_resources, query_metrics) with consistent verbs. The few imperative verbs (browse, build, mount) still maintain the same verb-first structure.

Tool Count1/5

With 55 tools, this server far exceeds the typical well-scoped 3-15 tool range. While each tool appears purposeful, the sheer number creates selection overhead and falls into the extreme 50+ category on the rubric.

Completeness4/5

The surface covers nearly the full Control Plane lifecycle: CRUD for GVC, workload, identity, policy, volumeset, and domain, plus observability, templates, image builds, and Terraform. Minor gaps include referenced but missing configure_workload_* tools and no secret creation/deletion (by design).