Skip to main content
Glama

Cooper Email

Create a domain setup link

cooper_domain_setup_link

Use this when a human must publish the DNS records for a custom domain. Requires auth. Inputs: domain_id (required; the dom_… id from cooper_add_domain or cooper_list_domains), expires_in_hours (optional integer from 1 to 168, default 72). Returns {url, expires_at, domain_id, hostname}. url is one page the human opens. It shows the records, a zone file, and Check now. It is not an API key. Creating a link revokes the previous link for that domain. A verified domain can still have a link. Another account's id is domain_not_found. Failure codes: unauthorized, domain_not_found, invalid_body, permission_denied.

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_id": "<domain_id>"
    },
    "name": "cooper_domain_setup_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
domain_idYesDomain id (dom_…) from cooper_add_domain or cooper_list_domains
expires_in_hoursNoHours until the link stops working. Integer from 1 to 168. Default 72.

Output Schema

NameRequiredDescriptionDefault
urlNoPage for this domain's DNS records. Send it to the human. It is not an API key.
hostnameNoHostname shown on the setup page.
domain_idNoDomain id (dom_…) this link is for.
expires_atNoISO-8601 time the link stops working.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses the auth requirement, the side effect that creating a link revokes the previous link for that domain, the content of the returned page, and the full failure code list (unauthorized, domain_not_found, invalid_body, permission_denied). The revocation side effect is important context given destructiveHint=false, and its disclosure here is exactly the kind of value the description should add rather than a contradiction.

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?

Front-loads the trigger condition, then inputs, then return shape, then behavioral caveats and error codes; every sentence carries distinct information with no filler despite the telegraphic style.

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?

An output schema exists, yet the description still explains what the returned url means for the human and how long it lives, plus lifecycle and error behavior. Nothing an agent needs to call this correctly or explain the result to a user is missing.

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 100% and already documents both parameters, so the description mainly restates the 1-168 range and 72-hour default. It adds modest extra meaning by framing domain_id as coming from cooper_add_domain/cooper_list_domains and by spelling out that another account's id surfaces as domain_not_found.

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 ('publish the DNS records for a custom domain' via a setup link) and names cooper_add_domain and cooper_list_domains as the sources of the required id, which is enough to separate it from the other domain tools.

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

Usage Guidelines5/5

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

Gives an explicit trigger condition ('when a human must publish the DNS records'), clarifies the link is for a human to open rather than an API key, and points to the sibling tools for obtaining domain_id. The 'not an API key' note and 'a verified domain can still have a link' resolve the two most likely misuses.

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.