Skip to main content
Glama

create_notification_route

Create a notification route: deliver notifications matching the given kind/severity/cluster/source/application/reference filters to an existing alert destination. To send one application's default-branch CI failures to a channel: kind pipeline_run_failed, application_id, reference_pattern 'main' (or the repository's default branch). Defaults: priority 100, include mode, enabled, no stop-on-match. Pick an existing destination id with list_alert_destinations (create_alert_destination adds a Slack or Teams channel destination; webhook destinations are created in the portal or CLI because their URLs are credentials). Verify the result with preview_notification_routing.

Input Schema

NameRequiredDescriptionDefault
kindNoSingle notification kind to match; alternative to kinds.
modeNoinclude delivers matches; exclude suppresses them.
kindsNoNotification kinds to match. With kinds_negated, every kind EXCEPT these.
enabledNoWhether the route is active (default true).
priorityNoEvaluation order, lower first (default 100).
severityNoOnly notifications of this severity (critical, warning, info); omit for all.
source_idNoOnly notifications from this source identifier.
cluster_idNoOnly notifications from this cluster (UUID); omit for all clusters.
kinds_negatedNoInvert the kinds list: match every kind except the listed ones.
stop_on_matchNoStop evaluating lower-priority routes when this one matches.
application_idNoOnly notifications about this application (UUID from list_applications), e.g. one application's pipeline failures; omit for all applications.
destination_idYesAlert destination id (UUID) from list_alert_destinations.
reference_patternNoOnly notifications about a branch, tag or pull request matching this glob: 'main' or 'refs/heads/main' for the main branch (pull requests targeting main do NOT match), 'release/*' within one path segment, 'release/**' across segments, 'pull/*' for every pull request, 'refs/tags/v*' for tags. Omit for all references.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnly=false, idempotent=false, destructive=false), and the description adds real behavioral context beyond them: the four defaults (priority 100, include mode, enabled, no stop-on-match) and the constraint that webhook destinations cannot be created here because their URLs are credentials. It does not address duplicate-creation/idempotency behavior, which idempotentHint=false makes relevant.

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?

Purpose is front-loaded in the first clause, followed by an example, defaults, and destination sourcing. Every sentence is informative, though the create_alert_destination parenthetical is slightly tangential to the core action.

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 13-parameter mutation tool with no output schema, the description supplies the defaults, how to source the required destination_id, and how to verify the result. It omits the return value and duplicate-handling behavior, but the essentials for correct invocation are present.

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 value by showing how filters combine in a worked example (kind pipeline_run_failed + application_id + reference_pattern 'main') and by naming the filter dimensions collectively. It does not restate each parameter, relying on the schema for field-level detail.

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 specific verb+resource ('Create a notification route') and immediately defines what a route does: deliver notifications matching kind/severity/cluster/source/application/reference filters to an existing alert destination. This is clearly distinguishable from siblings like update_notification_route, delete_notification_route, preview_notification_routing and test_notification_route.

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?

Explicitly routes the agent to alternatives and prerequisites: use list_alert_destinations to pick an existing destination, create_alert_destination for Slack/Teams channels, portal/CLI for webhooks, and preview_notification_routing to verify. It also gives a concrete when-to-use scenario (one application's default-branch CI failures).

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