Skip to main content
Glama
mcp-server-macos

mcp-server-macos

List an app's menu items

list_menu_items
Read-only

Lists an app's menu items and keyboard shortcuts, including actions with no on-screen button, so you can see all available commands and choose one to run.

Instructions

List the items of an app's menus, with their keyboard shortcuts: what the app can do, including what no button on screen shows. The app needn't be in front. click_menu_item chooses one.

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": "list_menu_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNoThe app, by name, bundle identifier or path. The app in front by default.
menuNoOnly this menu of the menu bar, such as 'File' or 'View'. Every menu by default.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.2

TDQS

A3.9/5.0
Behavior3/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 genuinely useful behavior context — keyboard shortcuts and commands with no on-screen button — but says nothing about result shape, menu nesting, or failure modes (e.g. app not running), which is left to the output schema.

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?

Compact and front-loaded: the core action comes first, the differentiator last. The phrasing "what the app can do, including what no button on screen shows" is slightly roundabout but earns its place by explaining the value of shortcut data.

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 coverage, and annotations present, the description covers what an agent needs to decide to call it. Only minor edge behavior (empty menus, app not found) is unaddressed, which the output schema likely 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 both parameters (app, menu) are fully documented and the description adds no syntax or format detail beyond "an app's menus." Baseline 3 is appropriate when the schema does the heavy lifting.

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 ("List the items of an app's menus") plus the value-add (keyboard shortcuts), and explicitly distinguishes itself from the sibling that acts on those items ("click_menu_item chooses one"). An agent can tell this apart from click_menu_item without opening either schema.

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?

Gives clear context for use: the app needn't be in front, and selection/activation is delegated to click_menu_item. It stops short of spelling out explicit when-not conditions or other discovery alternatives, so it falls just below a 5.

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