Skip to main content
Glama

get_notification_channels

Retrieves the configured notification channels and their status. Scans config.yaml and .env to report which of 9 supported channels (Feishu, DingTalk, WeCom, Telegram, Email, ntfy, Bark, Slack, Webhook) are enabled.

Instructions

获取所有已配置的通知渠道及其状态

检测 config.yaml 和 .env 环境变量中的通知渠道配置。 支持 9 个渠道:飞书、钉钉、企业微信、Telegram、邮件、ntfy、Bark、Slack、通用 Webhook。

Returns: JSON格式的渠道状态,包含每个渠道是否已配置及配置来源

Examples: - get_notification_channels()

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the full behavioral disclosure burden. It discloses that the tool reads configuration from config.yaml and .env, supports a specific list of 9 channels, and returns JSON status including configuration source. While it does not explicitly state that it is read-only, the non-destructive nature is clear from the wording, and it provides useful context about configuration sources.

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?

The description is well-structured: a primary sentence, a supporting detail sentence, a Returns section, and an Example. Every sentence adds value, with no redundant fluff. The list of channels is informative and not excessive for a tool meant to enumerate channels.

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 a zero-parameter tool with an output schema, the description is complete. It explains what the tool does, where it reads configuration from, which channels are covered, and provides an example. There are no missing prerequisites or ambiguous edge cases, and it fits well alongside sibling tools.

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?

The tool has zero parameters, and the schema coverage is effectively 100% (empty object). The description adds no parameter details, but none are needed. Per the rubric, a 0-parameter tool receives a baseline of 4, and the description does not detract from this.

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 description clearly states the verb '获取' (get) and the resource '所有已配置的通知渠道及其状态' (all configured notification channels and their status), establishing a specific, distinct purpose. It stands out from sibling tools like get_system_status or send_notification by focusing solely on channel configuration and status.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The description implies its usage through the nature of the operation (checking configured channels), but it does not explicitly state when to use this tool versus alternatives like get_current_config or send_notification. It provides technical context (reads config.yaml and .env) but lacks explicit when/when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/qqluohao1234/TrendRadar'

If you have feedback or need assistance with the MCP directory API, please join our Discord server