Skip to main content
Glama

Cooper Email

List custom domains

cooper_list_domains
Read-onlyIdempotent

Use this when you need the custom domains on the signed-in account, including DNS status. Read-only; requires auth; no inputs. Returns {object:"list", data:[{id, domain, status, status_detail, mail, records, warnings, dns}]}. Each record has status valid, missing, or invalid, found from the last check, and hint (null, or {code, message, found_at} saying what to change). warnings is an empty array when none. existing_mail_provider means this hostname already has MX at another provider. Inboxes on your own domain are included on Starter (15 custom domains) and Pro (200 custom domains). Free includes 0 custom domains and returns HTTP 402 plan_limit_exceeded. When the hostname is already a zone on the operator Cloudflare account, Cooper writes the DNS records and dns.mode is automatic. Cooper does not register a domain or create a zone. Any other zone stays manual. Publish the routing MX hosts, TXT SPF v=spf1 include:_spf.mx.cloudflare.net ~all, the routing DKIM TXT, the cf-bounce MX, SPF, and DKIM records, a DMARC TXT (an existing DMARC record is left as it is), and the _cooper-verify TXT. mail.receiving stays false until the receiving records check out and the catch-all is live. Receiving goes live within a few minutes. status_detail says so while you wait. POST /api/v1/inboxes with domain then creates username@domain. DELETE /api/v1/domains/:id puts back the catch-all that was there before, deletes only the DNS records Cooper created, turns Email Routing off only if Cooper turned it on, and removes the sending domain only if Cooper created it. A cleanup that does not finish keeps the row with status cleanup_failed and deleted false so a later delete can finish it. Failure codes: unauthorized.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive, and the description adds genuinely useful behavior: auth requirement, plan limits (Starter 15, Pro 200, Free 0 with HTTP 402 plan_limit_exceeded), status enumeration, and DNS auto vs manual mode. The value is undercut by a large block describing DELETE /api/v1/domains/:id cleanup semantics, which belongs to a different operation and can mislead about this tool's scope.

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

Conciseness2/5

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

The purpose is front-loaded, but the body is a run-on paragraph mixing return-shape spec, plan quotas, MX/SPF/DKIM/DMARC publishing instructions, receiving-latency notes, inbox creation, and full delete/cleanup semantics. Much of this does not earn its place in a read-only list tool's description.

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?

With no output schema, the description does the necessary work of describing the returned object and its status/hint/warnings fields, and annotations carry the safety profile. It is complete enough to call correctly; the failure is excess and misdirected detail rather than missing essentials.

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?

Zero parameters, so per the rubric the baseline is 4. The description instead spends its budget documenting the return shape (data array with id, domain, status, status_detail, mail, records, warnings, dns), which is useful but is not parameter semantics.

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?

The opening sentence gives a specific verb and resource ('list the custom domains on the signed-in account') plus scope ('including DNS status'), and it clarifies it is read-only with no inputs. It also implicitly separates itself from add/verify siblings by stating 'Cooper does not register a domain or create a zone.' An agent can identify the tool 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?

Explicit when-to-use: 'Use this when you need the custom domains on the signed-in account.' It also signals what the tool is not responsible for (no domain registration, no zone creation). However, no sibling tool is named as an alternative, and the long digression into inbox creation and domain deletion blurs the boundary rather than sharpening it.

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.