Skip to main content
Glama
BeeL MCP server

BeeL MCP server

Official
by beel-es

beel_delete_email_domain

DestructiveIdempotent

Removes an email domain from an account and the email sending service, freeing the domain name for re-registration and stopping its emails from being sent.

Instructions

Removes the domain from your account and from the email sending service, which frees the name so it can be registered again. The account's emails stop being sent from it.

  • Without the add-on: it works, so you can clean up what the account still holds.

  • Default domain: removing the default leaves the account without one; its emails go out from BeeL until you set another.

  • Name: the name is free for a new registration as soon as the call returns. If the removal in the sending service fails afterwards, an immediate new registration of the same name may answer EMAIL_DOMAIN_UNAVAILABLE for a while.

  • Still registering: a domain that stays PENDING with dns_records: [] is removed this way.

  • Credentials: it changes the real account, so it requires a live API key or a dashboard session. A test API key answers 403 LIVE_CREDENTIAL_REQUIRED. Send an Idempotency-Key so a retry does not repeat the operation.

BeeL API endpoint: DELETE /v1/accounts/{account_id}/email-domains/{email_domain_id} (reference: https://docs.beel.es)

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": {
      "account_id": "<account_id>",
      "email_domain_id": "<email_domain_id>"
    },
    "name": "beel_delete_email_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idYesYour own account, or an account you provisioned. The account in the path, not the credential, decides which account the operation acts on. A `403` is returned when you do not reach it, the same response an account that does not exist gets.
email_domain_idYesIdentifier of the email domain.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.12.0

TDQS

A4.3/5.0
Behavior5/5

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

Goes well past the annotations. Annotations already mark it destructive and idempotent, but the description adds the real consequences (account loses its default sender and falls back to BeeL), the race where a new registration can return `EMAIL_DOMAIN_UNAVAILABLE`, the live-credential requirement with the exact `403 LIVE_CREDENTIAL_REQUIRED` code, and the need for an `Idempotency-Key` on retry.

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?

Front-loads the one-sentence summary, then uses labeled bullets that each carry distinct operational information. Dense but largely earned; the endpoint/reference line is boilerplate rather than tool-specific content.

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 destructive mutation with no output schema, it covers permissions, idempotency, side effects, and post-conditions thoroughly. The one gap is the return value: with no output schema present, the agent is not told what a successful call returns.

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% and the schema already explains that `account_id` is the path account rather than the credential's account and what a 403 means. The description adds no parameter-level detail beyond restating the endpoint path. Baseline 3 applies when the schema carries the 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?

States a precise verb and resource: 'Removes the domain from your account and from the email sending service.' It also states the consequence (the name becomes registrable again), which separates it unambiguously from the get/list/create/set-default siblings on the same resource.

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 explicit conditions for use: works without the add-on for cleanup, and is the right route for a domain stuck at `PENDING` with `dns_records: []`. It does not name an alternative for the case where the user actually wants to replace rather than remove the default domain, so there is no explicit when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools