Skip to main content
Glama

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.

Input Schema

TableJSON 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_idNoOptional if whoami returned a default_project_id.
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. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: annotations only say idempotentHint=true, non-destructive, closed-world, while the description explains that re-calling updates rather than fails, that no credential passes through the tool (credential_key is a secret NAME), that email has a platform fallback but Slack/WhatsApp do not deliver until configured, and that this sets the project default subject to tenant overrides.

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?

Information-dense and front-loaded with the core action, then layered by concern (provider choice, credentials, idempotency, fallbacks). Every sentence carries weight, though the multi-paragraph density is on the heavy side for a single tool.

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 nested config and no output schema, the description covers the tricky operational details an agent needs: credential handling, provider selection pitfalls, idempotent re-runs, per-channel fallback behavior, and scope of the default. Nothing material is left unstated.

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 100%, so the baseline is 3, but the description adds real meaning: provider behavior differences, that config.username is a LOGIN name defaulting to from_address with per-provider values, and the distinction that credential_key is a name not a live token. These enrich rather than restate the schema.

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 (Configure) and resource (how a project delivers notifications on one channel) and immediately scopes it by excluding message text, naming the sibling set_notification_template that owns that concern. An agent can distinguish this from delete_notification_channel and set_notification_template without opening 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use guidance: use 'smtp' vs 'ses' with the reason ('ses' can only send as aaly.io), the Slack flow requiring set_secret first, and the note that a tenant can override via REST otherwise unreachable here. Alternatives and preconditions are named, not implied.

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