Skip to main content
Glama

send_phone_notification

Send push notifications to a phone or Apprise channel to report completion, failure, or key results of long-running experiments and scripts when the user requests an update.

Instructions

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

使用時機:

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

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

參數說明:

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

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

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

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

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "title": "<title>",
      "message": "<message>"
    },
    "name": "send_phone_notification"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNoinfo
titleYes
messageYes
priorityNodefault

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Without annotations, the description still conveys the essential behavioral fact that this produces a real-world side effect on a human device. It discourages casual use and recommends a 'high' priority on failure. It does not cover delivery guarantees, rate limits, authentication, or configuration, so with no annotations that is a real gap.

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?

The description is front-loaded with the action, then clearly sectioned into usage timing and parameter notes. The header labels make it slightly longer than strictly needed, and the channel clause is dead weight, but every other sentence serves a purpose.

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?

An output schema exists, so return values need no explanation, and the description fully covers all four parameters plus invocation timing. What remains unaddressed is prerequisite setup and delivery failure behavior, which matters for a tool with real-world side effects.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must define all four parameters, and it does. It explains what each field means and what content belongs in it (status, duration, key metrics such as loss/accuracy, error cause), lists every enum value for level and priority, restates the defaults, and adds usage advice for selecting 'high'.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first line gives a specific verb and resource: it sends a push notification to the user's phone. It is clear and distinct. One minor ambiguity is the phrase '或指定通訊管道' ('or a designated channel'), which suggests channel targeting even though the schema has no channel parameter, so the agent cannot act on that clause.

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?

The 使用時機 section explicitly lists when to call it (user explicitly asks to be notified, or a long-running experiment/training script finishes or aborts) and when not to call it (short Q&A, no request). It also says to call it as the 'last step' after all main work is done, which resolves ordering ambiguity.

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

Deploy Server

Other Tools