Skip to main content
Glama
Apple Notes MCP Server
by sweetrb

get-selected-notes

Retrieve metadata and IDs for notes currently selected in Apple Notes, enabling follow-up actions on the active selection.

Instructions

Use when: the user asks what note(s) are currently selected in Notes.app. Returns: selected note metadata with ids for follow-up operations. Do not use when: searching all notes (search-notes) or listing a folder (list-notes). Note: reads Notes.app UI selection; it may be empty if Notes is closed or no note is selected.

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": "get-selected-notes"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
countNo
notesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.16.11

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden and does well: it explains the tool reads the Notes.app UI selection state and may return nothing if the app is closed or nothing is selected. It stops short of mentioning automation/accessibility permission requirements or whether the app is brought to the foreground, which are real preconditions for a UI-scraping read.

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 Use-when / Returns / Do-not-use-when / Note structure is front-loaded and scannable, with no filler. The 'Returns' line is mildly redundant given a dedicated output schema exists, but it is one short sentence.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter read with an output schema already defining return values, the description covers the trigger, the exclusions, and the empty-result edge case. An agent has everything needed to decide and call correctly.

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 there is no parameter semantics to explain; the baseline of 4 applies. The description correctly does not invent or discuss inputs.

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 states a specific verb and resource: reading the currently selected note(s) in Notes.app, with returned metadata including ids. It is unambiguous and clearly distinct from bulk listing or searching tools.

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?

It gives an explicit 'Use when' trigger (user asks what is selected) and an explicit 'Do not use when' with named alternatives: search-notes for searching all notes, list-notes for listing a folder. Nothing is left to inference.

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