Skip to main content
Glama
mcp-server-macos

mcp-server-macos

Check whether notifications are allowed

check_notification_permission
Read-only

Check whether notification sending is permitted before calling send_notification, without sending a test notification. Focus modes like Do Not Disturb can still hide allowed alerts.

Instructions

Check whether send_notification can show notifications, without sending one. A Focus mode such as Do Not Disturb can still hide notifications that are allowed.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check_notification_permission"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
allowedYesWhether macOS lets Script Editor, which posts the notifications, show them. Null when it can't tell: Script Editor has never posted one yet, or the settings couldn't be read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.3.2
    • removedInput schema / title
      Removed value: -"check_notification_permissionArguments"
    • removedOutput schema / properties / allowed / title
      Removed value: -"Allowed"
    • removedOutput schema / title
      Removed value: -"NotificationPermission"
  2. Addedv0.1.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds real value with the caveat that an allowed result can still be masked by Focus/Do Not Disturb, which warns the agent its true result is not a guarantee of delivery. Return values are covered by the output schema, so omitting them is acceptable.

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 short sentences, both load-bearing: the first establishes purpose and the non-sending property, the second adds the Focus-mode caveat. Nothing is repeated from the name or title, and the key distinction is front-loaded.

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 no parameters, an output schema, and full annotation coverage, the description supplies everything structurally missing plus the important Focus-mode caveat. It could go slightly further by saying what the check actually tests against (OS-level vs app-level permission), but the essential behavioral nuance is present.

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 takes zero parameters, so the baseline is 4 and there is no per-parameter meaning the description could add. The only named entity, send_notification, is a sibling tool rather than an input, and it is used correctly.

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 and resource ("check whether send_notification can show notifications") and explicitly distinguishes itself from the sibling send_notification with "without sending one." An agent can tell this is a non-sending prerequisite probe rather than a notification-sending call.

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?

The phrase "without sending one" and the reference to send_notification make the intended use — verify permission before/alongside sending — clear without stating an explicit exclusion or prerequisite ordering. No alternative tool is named as a substitute, so it stops short of a full when/when-not statement.

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