Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NOTIFY_URLNoSingle push target as an Apprise URL or an https://ntfy.sh/... URL. Examples: ntfy://my-secret-topic, discord://<WebhookID>/<WebhookToken>, tgram://<BotToken>/<ChatID>, slack://<TokenA>/<TokenB>/<TokenC>, bark://<DeviceKey>@api.day.app.
NTFY_TOKENNoOptional ntfy Access Token. Example: tk_xxxxxxxx.
NTFY_TOPICNontfy shortcut topic used when NOTIFY_URL is not set. Example: my-secret-topic.
NOTIFY_URLSNoMultiple push targets separated by commas or newlines. Takes priority over NOTIFY_URL when both are set. Example: ntfy://topic1,discord://id/token.
NTFY_SERVERNoOptional self-hosted ntfy server URL. Example: https://ntfy.example.com.
NOTIFY_DEFAULT_TITLENoOptional default title used when no title is passed. Example: Lab Experiment Alert.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

僅在使用者明確要求完成後通知,或長時間執行的實驗/訓練腳本結束(成功或失敗)需要回報結果時,於所有主要工作結束後的最後一步呼叫 send_phone_notification。

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
send_phone_notificationA

發送推播通知到使用者的手機或指定通訊管道。

使用時機:

  • 僅在使用者明確要求「完成後通知我」、「發手機通知」,或長時間執行的實驗/訓練腳本結束 (成功或失敗中斷)需回報結果時,於所有主要工作結束後的「最後一步」呼叫此工具。

  • 一般簡短問答或使用者未要求通知的任務,請勿主動呼叫。

參數說明:

  • title: 簡短明確的通知標題(例如「實驗訓練完成」或「腳本異常中止」)。

  • message: 任務結果摘要,建議包含執行狀態、耗時、關鍵數據指標(如 loss/accuracy)或錯誤原因。

  • level: 通知類型,可選 "info"、"success"、"warning"、"failure"(預設 "info")。

  • priority: 推播優先級,可選 "min"、"low"、"default"、"high"、"max" (實驗失敗或需立即處理時建議使用 "high")。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 1 tool

Disambiguation5/5

There is only one tool, so there is no possibility of selection ambiguity. Its purpose (send a phone notification at the end of a task) is clearly stated and scoped.

Naming Consistency5/5

The single tool follows a clear verb_noun pattern (send_phone_notification) in snake_case. With one tool there is no convention mixing to penalize.

Tool Count4/5

The server's purpose is deliberately narrow—one notification operation—so a single tool is nearly the right scope rather than a mismatch. It is slightly thin (no status check or channel listing), but each parameter earns its place.

Completeness4/5

The core lifecycle of 'compose and send a notification' is covered with title, message, level, and priority. Minor gaps exist—no delivery-status query, no batch send, and the description mentions a 'specified channel' without exposing a channel parameter—but agents can work around these.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues