Skip to main content
Glama
Apple Notes MCP Server
by sweetrb

rename-folder

Renames an existing Apple Notes folder in place using its current name and parent as a safety check. Refuses stale metadata and sibling name conflicts so the wrong folder is never renamed.

Instructions

Use when: renaming one previously read folder in place. Returns: the unchanged folder id, new name, and parent id after readback. Do not use when: creating, moving, or deleting a folder. Safety: requires the expected current name and parent; refuses stale metadata and sibling conflicts.

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": {
      "id": "<id>",
      "expectedName": "<expectedName>",
      "expectedParentId": "<expectedParentId>",
      "newName": "<newName>"
    },
    "name": "rename-folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
newNameYes
expectedNameYes
expectedParentIdYes

Output Schema

NameRequiredDescriptionDefault
okNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.16.11

TDQS

A4.7/5.0
Behavior4/5

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

Goes well beyond the single readOnlyHint=false annotation by disclosing optimistic-concurrency semantics: it requires the expected current name and parent, refuses stale metadata, and refuses sibling conflicts. That is exactly the kind of precondition an agent cannot get from annotations or schema, though it does not cover error surface, permissions, or side effects on other metadata.

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?

Four labeled lines (Use when / Returns / Do not use when / Safety), each front-loading its most important fact with zero filler. The Returns line partially duplicates the output schema, but it is a single short clause and does not crowd out the safety information.

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 4-parameter mutation with an output schema, the definition supplies the preconditions, the refusal behavior, the scope limit, and the exclusions — everything needed to invoke it correctly. Return-value explanation is arguably redundant given the output schema, but it is not a gap.

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?

Schema description coverage is 0%, so the description must carry the load, and it does explain the non-obvious meaning of expectedName/expectedParentId as concurrency guards rather than search filters, plus newName and the folder id. It stops short of mapping values to the exact property names and omits the minLength/maxLength constraints, leaving some inference required.

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 (rename), resource (folder), and scope (one previously read folder, in place). The 'Do not use when: creating, moving, or deleting' line explicitly separates it from create-folder and delete-folder, so an agent can pick it 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides an explicit 'Use when' trigger, an explicit 'Do not use when' exclusion list, and names the competing operations (create/move/delete) that would be the alternatives. Nothing about selection 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