Skip to main content
Glama

CMO Studio: deploy and host AI-built apps

Add mail domain

add_mail_domain

Add a domain to send email from (e.g. ncua.no): returns the DNS records (TXT, SPF, DKIM) for the person to add; merge SPF with an existing SPF record, never add a second one. Then verify_mail_domain. A person confirms the sending rules once in the panel first (two checkboxes); if the answer asks for it, give them the link. Deliverability rules for the app: studio_guide topic mail.

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": {
      "domain": "<domain>"
    },
    "name": "add_mail_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesDomain
organizationNoOrganization name or id (optional; default: every organization for lists, your own for new things)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / organization
      Added value: +{
      +  "default": null,
      +  "description": "Organization name or id (optional; default: every organization for lists, your own for new things)",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the destructiveHint=false annotation, the description discloses real operational behavior: the output is DNS records intended for a person to add, and SPF must be merged into an existing record rather than duplicated. It also flags the human-in-the-loop gate and points to studio_guide topic mail for deliverability rules; it does not say what happens if the domain already exists or what permissions are required.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the text is a run-on of semicolon-joined clauses and fragments ("Then verify_mail_domain.") that reads as notes rather than structured guidance. The deliverability pointer is useful but tacked on without clear framing.

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 two-parameter tool with no output schema, the description usefully covers the return value (DNS records), the required human confirmation step, the SPF merge rule, and the next tool to call. The main omission is error/duplicate handling, which is minor given the rest of the coverage.

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 both the domain and organization parameters are already documented in the schema, establishing a baseline of 3. The description adds no syntax, format, or scoping detail for either parameter, so it does not exceed that baseline.

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 gives a specific verb and resource scoped to email sending ("Add a domain to send email from (e.g. ncua.no)") and states what comes back ("returns the DNS records (TXT, SPF, DKIM)"). That scoping implicitly separates it from the generic add_domain and from verify_mail_domain, though it never names those siblings explicitly.

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?

It states a concrete follow-up ("Then verify_mail_domain") and a prerequisite that must be satisfied by a human ("A person confirms the sending rules once in the panel first (two checkboxes)"), with instructions to hand over the link when needed. What is missing is an explicit exclusion or condition telling the agent when not to use this tool.

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.