Skip to main content
Glama

Algizian

Set email sign-in settings

set_email_settings
DestructiveIdempotent

Requires sign-in (scope orgs:manage). Set the email-code sign-in settings and turn email sign-in on. Own server: host, port (465 or 587), security (tls or starttls), username, password (write-only, stored encrypted; may be left out only when host, port and user name are unchanged), fromAddress, optional fromName and template (minimal or graphic) and dailyCap. Or sender platform (when the server offers it, see platformSenderAvailable) with only template, fromName, dailyCap and monthlyCap (monthlyCap above the platform default needs a platform token). Use send_test_email afterwards.

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": {
      "tenant": "<tenant>"
    },
    "name": "set_email_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostNoSMTP server host name
portNoSMTP port, 465 or 587
senderNowho sends the sign-in mails: platform (Algizian) or your own SMTP server
tenantYestenant slug
dailyCapNomost mails sent per day
fromNameNosender name shown in the mails
passwordNowrite-only
securityNoSMTP security: tls or starttls
templateNomail layout: minimal or graphic
usernameNoSMTP user name
monthlyCapNomost mails sent per month (above the platform default needs a platform token)
fromAddressNosender address of the mails

Output Schema

NameRequiredDescriptionDefault
resultYesThe result of the call: the same JSON the REST API returns for this operation (docs/api, the OpenAPI document), or null when there is nothing to return.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (destructive/idempotent/non-read-only) the description discloses that the call flips email sign-in to ON, that the password is write-only and stored encrypted, and the precise retention rule that it may be omitted only when host, port and username are unchanged. It also flags the platform-token requirement for raising monthlyCap above the default — exactly the kind of hidden auth condition annotations cannot express.

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?

Almost all content is valuable, but it is delivered as a single dense sentence-of-clauses mixing prerequisites, two configuration modes, and conditional rules. A short bulleted or line-broken structure per mode would make the own-server vs platform split scannable instead of requiring re-parsing.

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 12 parameters, real destruction semantics and a rich schema, the description covers prerequisites, both configuration modes, credential handling, and the recommended follow-up, and an output schema exists so return values need no explanation. It stops short of saying what happens to previously stored fields when only a subset is supplied (aside from the password case), which matters for an idempotent overwriting tool.

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 already 100%, so per-parameter descriptions carry the baseline, but the description adds cross-field logic the schema cannot: two mutually exclusive configuration modes (own SMTP server vs platform sender) with the parameter set each one accepts, plus the password-omission precondition. It loses a point because the two modes are presented in one run-on clause, leaving it slightly unclear which fields are mandatory within each path.

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?

"Set the email-code sign-in settings and turn email sign-in on" gives a specific verb (set), a specific resource (email-code sign-in settings), and an explicit side effect (enabling sign-in). The verb set/remove/get pattern lets an agent separate it from get_email_settings and remove_email_settings without opening a 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?

Strong operational routing: the auth scope (orgs:manage) is stated up front, the "Use send_test_email afterwards" sentence names the required follow-up tool, and the platform-sender path is gated on "when the server offers it, see platformSenderAvailable". What's missing is disambiguation when an agent might instead just call get_email_settings first to inspect current values.

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.

Resources