Skip to main content
Glama

pangea_domain_add

Registers a custom domain for an HTTP project and returns the TXT ownership record and CNAME target needed to verify domain ownership.

Instructions

Register a custom domain (up to 5 per HTTP project) and generate the _pangea-challenge. TXT ownership record and CNAME target.

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": {
      "hostname": "<hostname>"
    },
    "name": "pangea_domain_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectNoOptional project ID (prj_...) or project name (omit when directory has pangea.yaml)
hostnameYesLowercase domain name (e.g. 'app.yourdomain.com', not *.pangea.host)
directoryNoOptional local directory containing pangea.yaml

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden and does disclose two useful traits: a hard quota of 5 domains per HTTP project and the fact that the call emits DNS records to be configured externally. It omits permissions/auth requirements, idempotency or behavior on duplicate hostnames, and whether the domain is immediately 'active' before verification.

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?

A single well-formed sentence that front-loads the action and the quota, then names the concrete side effects. No filler or redundant restatement of the tool name.

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

Completeness4/5

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

For a low-complexity, three-parameter tool with a fully documented schema and no output schema, the description covers the action, the quota, and the returned DNS artifacts an agent needs to relay. The remaining gap is the verification follow-up, which is procedural rather than essential to invoking the tool correctly.

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 three parameters are already documented in the schema, giving a baseline of 3. The description adds only marginal meaning, mainly that the project scope is what the 5-domain cap applies to and that non-HTTP projects are out of scope.

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 ('Register a custom domain') plus the concrete artifacts it produces (the _pangea-challenge TXT record and CNAME target), so an agent knows exactly what the call does. It does not explicitly contrast itself with the sibling verify/remove operations, but 'register' is naturally distinct from those.

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: the 'up to 5 per HTTP project' quota tells the agent when the call will be refused, but there is no explicit statement of preconditions or that ownership must subsequently be confirmed via pangea_domain_verify. Nothing is misleading, but the agent must infer the workflow.

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