Skip to main content
Glama

pangea_set_alias

Assign or update a custom .pangea.host public subdomain alias for an HTTP project, optionally targeting a project by ID, name, or pangea.yaml directory.

Instructions

Assign or update a custom .pangea.host public subdomain alias for an HTTP project.

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": {
      "slug": "<slug>"
    },
    "name": "pangea_set_alias"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesLowercase subdomain slug (3-40 chars, e.g. 'my-app' for https://my-app.pangea.host)
projectNoOptional project ID (prj_...) or project name (omit when directory has pangea.yaml)
directoryNoOptional local directory containing pangea.yaml

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses very little. It does not say whether an existing alias is overwritten silently, whether the previous subdomain stops resolving, whether DNS/TLS provisioning is asynchronous, or what permissions are required — all material facts for a mutation of a public-facing hostname.

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 no filler, and the verb and resource lead immediately. It is efficient, though the brevity comes at the cost of the behavioral detail noted elsewhere rather than from genuine economy.

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 mutation tool with no annotations and no output schema, the description leaves out the outcome of the call: whether the alias is immediately live, what happens to a conflicting existing alias, and what is returned. The fully documented schema covers input selection, but the behavioral side is under-served.

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 slug, project, and directory each documented inline, including the slug format and the pangea.yaml omission rule. The description only restates the '<slug>.pangea.host' pattern already given in the slug parameter, adding no new syntax or constraint details.

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?

The description pairs a specific verb ('Assign or update') with a specific resource ('custom <slug>.pangea.host public subdomain alias') and scopes it to 'an HTTP project'. The 'assign or update' phrasing implicitly distinguishes it from the sibling read tool pangea_get_alias and the pangea_delete_alias tool, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: 'for an HTTP project' hints at applicability, and the 'assign or update' wording suggests it is idempotent-ish rather than a pure create. There is no explicit statement of when to prefer this over alternatives, and no prerequisites such as ownership of the domain or a prior deployment are mentioned.

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

Deploy Server

Other Tools