Skip to main content
Glama

Connect a domain

connect_domain
DestructiveIdempotent

Attach a domain you already own to an owned project, using the existing backend. Returns DNS instructions; never changes the registrar DNS or purchases anything. Returns awaiting_confirmation and an approval_url: the owner must approve these exact parameters in Cormak, then retry with the SAME request_id. No work starts before approval. Reuse request_id on retries.

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": {
      "request_id": "<request_id>",
      "project_id": "<project_id>",
      "domain": "<domain>"
    },
    "name": "connect_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYes
project_idYes
request_idYesStable UUID for this exact operation. Reuse on retries. Never change it to retry an unknown result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description adds the operational detail the agent actually needs: DNS instructions are returned, no registrar change occurs, the call returns awaiting_confirmation with an approval_url, the owner must approve these exact parameters, and no work starts before approval. The idempotency behavior is explained concretely via request_id reuse rather than merely asserted.

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?

Dense and front-loaded: the action comes first, then side effects, then the approval/retry contract. Nearly every clause carries load, though 'Reuse request_id on retries' appears twice (once mid-text, once as a closing sentence), which is mild redundancy in an otherwise tight definition.

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?

There is no output schema, and the description fills that gap by naming the key return values (DNS instructions, awaiting_confirmation, approval_url) and the failure/retry path. For a destructive, open-world, approval-gated mutation with three required parameters, an agent has everything needed to call it correctly and handle the response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33% — only request_id carries a description — so the description must compensate, and it does for the critical parameter by restating and reinforcing 'SAME request_id' plus retry semantics. domain and project_id are given meaning only through the sentence 'a domain you already own to an owned project,' which is enough to convey intent but adds nothing about format or constraints for those two fields.

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?

States a specific verb and resource pair — 'Attach a domain you already own to an owned project' — plus the mechanism ('using the existing backend'). The 'you already own' qualifier immediately distinguishes it from any domain-purchase or registration flow, so an agent can classify the call without opening the schema.

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

Usage Guidelines4/5

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

Gives a clear positive condition (you already own the domain and want it attached to a project) and explicit exclusions ('never changes the registrar DNS or purchases anything'). It also spells out the approval precondition and the retry protocol. It stops short of naming a sibling alternative for related cases (e.g. refresh_domain), so it is clear context rather than full when/when-not/alternatives routing.

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.