Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as AALY. If you published it, claim ownership there.

set_notification_channel

Idempotent

Configure how a project delivers notifications on one channel — the transport and sender identity, never the message text (that is set_notification_template).

To send from the project's OWN domain use provider 'smtp', not 'ses': 'ses' sends through AALY's role, which may only send as aaly.io, so any other address fails at send time. For smtp, config.username is the LOGIN name and defaults to from_address - set it explicitly for SendGrid ('apikey'), Postmark (server token), Mailgun or Amazon SES SMTP.

NO CREDENTIAL IS ACCEPTED HERE. credential_key is the NAME of a secret, so a live token never passes through this tool. To configure Slack: call set_secret to have a human enter the bot token, then name that key here.

One channel per channel_type: calling this again updates the existing one rather than failing, so it is safe to re-run.

Email is the only channel with a platform fallback — a project that configures nothing can still send email through AALY's own verified sender. Slack and WhatsApp send through accounts only you can own, so they do not deliver at all until configured here.

This sets the project DEFAULT. A tenant can override it for itself via the project's own REST API; those overrides are not reachable from here.

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": {
      "channel_type": "<channel_type>",
      "provider": "<provider>"
    },
    "name": "set_notification_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
configNoNon-secret provider settings, checked against a per-provider whitelist: smtp {host, port, useTls}, slack {defaultChannel}, whatsapp_cloud {phoneNumberId}, ses {region}. An unknown key is rejected — a credential belongs in credential_key, not here.
enabledNoSet false to turn the channel off without deleting it.
providerYesThe service carrying the message. email: ses or smtp. slack: slack. whatsapp: whatsapp_cloud. in_app: internal.
from_nameNoDisplay name shown alongside from_address.
project_idNoGet it from whoami or list_projects.
channel_typeYesWhich medium this channel delivers on.
from_addressNoSender address recipients see. Must be one the provider may send as.
credential_keyNoNAME of the secret holding this channel's credential (create it with set_secret first). Not used by ses or internal, which need none.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Optional if whoami returned a default_project_id."New value: +"Get it from whoami or list_projects."
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, and the description corroborates them ('calling this again updates the existing one rather than failing, so it is safe to re-run'). It adds real behavior beyond annotations: no credential is accepted here, credential_key is a secret name, and tenant-level overrides exist but are unreachable from this tool. It stops short of describing what the response returns, but the mutation and safety profile are well covered.

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 opening sentence front-loads the purpose and the exclusion, and every subsequent paragraph carries operationally distinct information (provider choice, credential indirection, idempotency, fallback behavior, scoping limits). It is long at six blocks, but the density is justified rather than padded.

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?

For an 8-parameter mutation tool with a nested config object and no output schema, the description covers the risky decisions: which provider for which sender domain, how secrets are referenced, re-run safety, default-vs-tenant-override scope, and per-channel fallback. Nothing an agent needs in order to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description adds meaning the schema does not: config.username is a LOGIN name defaulting to from_address, with provider-specific values (SendGrid 'apikey', Postmark server token), and from_address must be one the provider may send as. It also clarifies the credential_key indirection and that ses/internal need no credential.

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 scope: 'Configure how a project delivers notifications on one channel — the transport and sender identity'. It explicitly contrasts itself with the sibling set_notification_template ('never the message text'), so an agent can separate channel config from template config without opening either schema.

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 concrete selection rules: use 'smtp' rather than 'ses' to send from the project's own domain, because 'ses' only sends as aaly.io. It also spells out a prerequisite chain for Slack (call set_secret first, then name the key here) and notes that email is the only channel with a platform fallback, so unconfigured Slack/WhatsApp simply will not deliver.

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