Skip to main content
Glama

Update domain

update_domain

Change a domain's open/click tracking. Tracking is served from the domain's own tracking subdomain: pass tracking_subdomain (a label such as "links") and the returned records include its CNAME; links are tracked through it once that CNAME resolves (re-check with verify_domain). On MepMail Cloud, turning tracking on without a subdomain is refused.

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": {
      "id": "<id>"
    },
    "name": "update_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesDomain id from list_domains
tlsNo
capabilitiesNo
open_trackingNoInject a tracking pixel served from the tracking subdomain and record email.opened events. Off by default.
click_trackingNoRewrite links to redirect through the tracking subdomain and record email.clicked events. Off by default.
tracking_subdomainNoDNS label of the branded tracking host, e.g. "links" for links.<domain>. Setting it adds a Tracking CNAME to records[]; links are tracked through it once that CNAME resolves. Required on MepMail Cloud to turn tracking on. Empty string or null clears it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag a non-read-only, non-destructive mutation; the description adds useful operational behavior beyond that: tracking is served from a subdomain, records gain a CNAME, links activate only after DNS resolves, and Cloud refuses tracking without a subdomain. It stops short of permissions/reversibility details but is solid beyond 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?

Three dense sentences, front-loaded with the purpose and then the mechanics. No filler, though the middle clause is packed and could be split for readability.

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?

Given a mutation tool with no output schema and partial schema description coverage, the description covers the critical tracking flow and DNS prerequisite well. Missing details on tls/capabilities and how other settings are preserved keep it from being fully complete.

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 coverage is 67% and the description largely restates the tracking_subdomain schema entry, adding only the verify_domain pointer and the Cloud refusal condition. The undocumented tls and capabilities parameters are not explained, leaving an agent without guidance for those.

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 ('Change a domain's...') that clearly identifies the action. However, it frames the tool narrowly around tracking, while the schema also exposes tls and capabilities, so the full update scope is not explicit.

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?

Describes prerequisites for tracking (pass tracking_subdomain, CNAME must resolve, MepMail Cloud refuses tracking without a subdomain) and points to verify_domain for re-checking. It does not explicitly compare against get_domain or list_domains, but for an update tool the context is sufficient.

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.