Skip to main content
Glama
BeeL MCP server

BeeL MCP server

Official
by beel-es

beel_set_email_domain_default

DestructiveIdempotent

Sets a chosen email domain as the account's default sending domain and clears the prior default so at most one default remains.

Instructions

Makes this domain the one the account's emails are sent from by default, and clears the flag on the domain that had it, so the account always has at most one default.

  • Repeatable: it states the desired default rather than performing a change, so repeating the call on the domain that already is the default returns the same 200.

  • Any status: a domain can be the default while it is still PENDING or FAILED. Emails only leave from it once it is VERIFIED; until then they go out from BeeL.

  • Without the add-on: it works, so an account can still choose among the domains it holds.

  • 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: PUT /v1/accounts/{account_id}/email-domains/{email_domain_id}/default (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_set_email_domain_default"
  }
}

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.4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the cross-resource side effect (clears the prior default), the idempotent 200 response, that a PENDING/FAILED domain can still be default while mail only leaves once VERIFIED, and that live credentials are required with a specific 403 LIVE_CREDENTIAL_REQUIRED for test keys. It also advises sending an Idempotency-Key, adding real operational context that annotations alone do not convey.

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?

The core behavior is front-loaded in the first sentence, and the bullets are each substantive rather than filler. Slight redundancy in restating the endpoint path and credential rules keeps it from a 5.

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?

There is no output schema, yet the description covers the success response shape (200, idempotent), the failure mode (403 LIVE_CREDENTIAL_REQUIRED), the side effect on the other domain, and the delivery consequence of an unverified default. Nothing an agent needs to invoke it correctly is missing.

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 account_id description already covers path-vs-credential scoping and the 403 behavior, so the description adds little parameter-level meaning beyond restating the PUT endpoint path. Baseline 3 applies when the schema does the heavy lifting.

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 names a specific verb and resource (make this email domain the account default) and also states the side effect: the previous default's flag is cleared, so at most one default exists. This distinguishes it from siblings like beel_create_email_domain or beel_verify_email_domain without needing to open any 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?

The 'Any status' and 'Without the add-on' bullets give clear conditions under which the tool is valid, and the repeatable bullet tells the agent re-calling is harmless. It does not explicitly name alternative siblings (e.g. verify or list), so the when-to-use guidance is strong but not routing-complete.

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