Skip to main content
Glama
mcp-server-macos

mcp-server-macos

Choose a menu item

click_menu_item
Destructive

Activates an app menu item by its menu path, bringing the app to the front first. Use it to trigger app commands such as saving, formatting, sending, or quitting.

Instructions

Choose an item of an app's menus, as a click on it would. The app comes to the front first, since its menus act on its window in front. What it does is the app's: an item may delete, send or quit.

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": {
      "path": "<path>"
    },
    "name": "click_menu_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNoThe app, by name, bundle identifier or path. The app in front by default.
pathYesThe menu, then the item, through any submenus, separated by '>': 'File > Save As…', 'Format > Font > Bold'. '...' stands for '…', and case doesn't matter.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.2

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, readOnlyHint=false, idempotentHint=false, openWorldHint=true), the description adds genuinely useful context: the app is brought to the front first because menus act on its front window, and the resulting effect belongs to the app ("an item may delete, send or quit"). That explains why the tool is destructive and non-idempotent, which the annotations alone only assert.

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?

Three short sentences with zero filler, and the core action is front-loaded ahead of the caveat about window focus and side effects. Every sentence contributes either scope or risk information.

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 and annotations cover the safety profile, so the description need not explain return values. It covers the key risk (arbitrary app-defined effects) and the focus side effect, though it omits failure behavior when a path does not match any menu item.

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 both the app and path parameters are already fully documented with examples and resolution rules. The description adds no path syntax or format detail beyond what the schema states, so the baseline of 3 applies.

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?

States a specific verb+resource ("Choose an item of an app's menus") and clarifies the mechanism ("as a click on it would"), which distinguishes it from discovery-oriented siblings like list_menu_items. It stops short of naming siblings such as click_ui_element, so differentiation is implicit rather than explicit.

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?

Usage is implied by the phrasing "Choose an item of an app's menus" and the path example format, so an agent can infer when to use it. There is no explicit when-not guidance and no pointer to list_menu_items for discovering valid menu paths, which would be the natural prerequisite step.

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