Skip to main content
Glama

Set Primary Domain

set_primary_domain

Set which app host should be treated as primary for generated links and custom-domain redirects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_idYesThe app ID
domainYesPrimary host, for example example.com, www.example.com, or the app subdomain host.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations indicate this is a write operation (readOnlyHint=false) but not destructive or idempotent. The description adds that it affects 'generated links and custom-domain redirects,' which is useful behavioral context. However, it doesn't disclose prerequisites (e.g., domain must already be associated/accepted) or side effects (e.g., immediate changes to existing links). 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 one concise sentence that front-loads the core action and purpose. No filler or redundant phrasing. It efficiently communicates the tool's function without unnecessary elaboration.

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

Completeness3/5

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

The description covers the primary purpose but lacks important contextual details such as whether the domain must already be added, whether verification is required, and what happens after setting (e.g., immediate effect on links). Given the tool's simplicity (2 params, no output schema), the description is somewhat adequate but leaves gaps that an agent might need to guess at.

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%, with both parameters well-documented. The description adds no extra parameter-specific information beyond what the schema provides. Since the schema already explains app_id and domain, the baseline of 3 applies; the description adds no additional detail about parameter usage or constraints.

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 action ('set') and the resource ('primary domain for generated links and custom-domain redirects'). It distinguishes from siblings like add_custom_domain (which adds a domain) and configure_domain_redirects (which configures redirects), so an agent can infer the specific role of this tool.

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?

The description does not provide any explicit guidance on when to use this tool versus alternatives. It doesn't mention that domains must be added first, whether this tool should be called after adding a custom domain, or when not to use it. It merely states the function without context, forcing the agent to infer from sibling names.

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

B3.4/5.0
Disambiguation4/5

Most tools have clearly distinct purposes with detailed descriptions, but there are some overlapping pairs like read_app_file/read_app_files and create_entity_records vs seed_entity, which could cause misselection. Singular/plural variants and compatibility tools introduce minor ambiguity, but the majority are well-separated.

Naming Consistency4/5

Tool names predominantly follow a consistent verb_noun pattern (e.g., create_app, get_entities, delete_secret). There are some variations like 'agency_create_client' and 'seed_entity' that deviate slightly, but the overall convention is predictable and readable.

Tool Count2/5

With 82 tools, the server is far above the typical range and feels overwhelming. Even for a full platform API, the count is extreme and likely increases selection complexity. A more curated set would improve navigability without sacrificing capability.

Completeness5/5

The tool surface is exceptionally comprehensive, covering app lifecycle, file operations, entity CRUD, versioning, A/B testing, secrets, integrations, domains, agents, scheduling, policies, and member management. No obvious missing operations for the platform's scope; it even includes validation and workflow guidance tools.

Resources