Skip to main content
Glama

preview_notification_routing

Read-only

Dry-run the organisation's notification routing: given a hypothetical notification (kind + severity, optionally cluster, source, application and reference), report which destinations it would reach, which routes matched or suppressed it and why, and whether the home channel fallback would be used. Nothing is sent. Use this to verify routing before and after changing routes.

Input Schema

NameRequiredDescriptionDefault
kindYesNotification kind (e.g. cluster_offline, deploy_failed, alert_trigger_fired).
alert_idNoAlert id (UUID) for alert_trigger_fired, so the alert's own destination list is included.
severityYesOne of critical, warning, info.
referenceNoConcrete reference the notification is about, for routes with a reference_pattern: refs/heads/<branch> for a push, pull/<number> for a pull request run, refs/tags/<tag> for a tag.
source_idNoSource identifier, for kinds that carry one.
cluster_idNoCluster the hypothetical notification concerns (UUID); omit for organisation-wide.
application_idNoApplication (UUID) the hypothetical notification is about, for routes scoped to an application (pipeline, image gate and preview notifications carry one).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered; the description adds real behavioral value by disclosing the dry-run nature ('Nothing is sent') and the diagnostic content of the response (matched/suppressed routes, reasons, fallback). It stops short of noting auth requirements or any limits, but the additive context is solid.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tightly written sentences, front-loaded with the core action, then the safety clarification and the usage cue. Every clause carries information and nothing is padding.

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?

With no output schema, the description must explain the return value, and it does so thoroughly – listing the reported destinations, match/suppression reasons, and fallback status. Combined with the readOnly annotation and the scoping fields, an agent has everything needed to call and interpret it.

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%, so the schema already documents all 7 parameters in detail, making 3 the baseline. The description restates the constituent fields (kind, severity, optional cluster/source/application/reference) but omits alert_id and adds no format or constraint detail beyond 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?

States a specific verb (dry-run/preview) and resource (organisation's notification routing) with unusual precision, enumerating exactly what it reports: destinations reached, routes matched or suppressed and why, and home-channel fallback. The 'Nothing is sent' clause implicitly distinguishes it from the sibling test_notification_route, so an agent can tell them apart.

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?

Gives a clear context: 'Use this to verify routing before and after changing routes.' That is an unambiguous when-to-use signal, but it never names alternatives such as test_notification_route or list_notification_routes, nor states exclusion conditions.

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