Skip to main content
Glama
mcp-server-macos

mcp-server-macos

Show an alert

show_alert

Displays a modal alert with an OK button and waits for dismissal, optionally closing after a set timeout.

Instructions

Show the user an alert with an OK button, and wait until it's dismissed. To tell them something without waiting, send a notification instead.

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": {
      "message": "<message>"
    },
    "name": "show_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNoSmaller text under the message.
messageYesWhat the dialog says.
timeout_secondsNoHow long to wait for the user, in seconds, before closing the dialog as if it was cancelled.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv1.3.2
    • removedInput schema / properties / detail / title
      Removed value: -"Detail"
    • removedInput schema / properties / message / title
      Removed value: -"Message"
    • removedInput schema / properties / timeout_seconds / title
      Removed value: -"Timeout Seconds"
    • removedInput schema / title
      Removed value: -"show_alertArguments"
    • removedOutput schema / properties / result / title
      Removed value: -"Result"
    • removedOutput schema / title
      Removed value: -"show_alertOutput"
  2. Addedv0.1.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, destructiveHint=false), so the bar is lower, and the description adds the crucial blocking trait that annotations cannot express. It omits that the wait is bounded by a timeout and what a timed-out dismissal means, but that is documented in the schema.

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 sentences, zero filler, with the blocking semantics front-loaded and the alternative sentence doing double duty as a disambiguation rule.

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?

With an output schema, full parameter documentation, and annotations, the definition covers everything an agent needs to choose and call it. The only unstated piece is what a timeout or dismissal yields, which the output schema presumably handles.

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 message, detail, and timeout_seconds are already fully documented. The description adds no parameter-level meaning such as message length limits or how detail is rendered, so it sits at the schema-sufficiency baseline.

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 gives a specific verb and resource ("Show the user an alert with an OK button") plus the defining behavioral trait ("wait until it's dismissed"). It also explicitly routes the non-blocking case elsewhere ("send a notification instead"), which separates it from send_notification.

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?

It states the selection rule clearly: use this when you need to wait for acknowledgment, use send_notification when you don't. There is no guidance on when to prefer ask_confirmation or ask_choice, which are the nearest siblings, so it stops short of full alternative coverage.

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