Skip to main content
Glama
mcp-server-macos

mcp-server-macos

Copy files to the clipboard

copy_files_to_clipboard
DestructiveIdempotent

Copies files and folders to the macOS clipboard, replacing current contents, so you can paste them in Finder or attach them in apps like Mail.

Instructions

Put files on the clipboard, replacing what it held, as if they were copied in Finder: pasting in Finder copies them there, and apps like Mail attach them.

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": {
      "paths": "<paths>"
    },
    "name": "copy_files_to_clipboard"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsYesThe paths of the files and folders to copy. They must exist.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.3.2
    • removedInput schema / properties / paths / title
      Removed value: -"Paths"
    • removedInput schema / title
      Removed value: -"copy_files_to_clipboardArguments"
    • removedOutput schema / properties / result / title
      Removed value: -"Result"
    • removedOutput schema / title
      Removed value: -"copy_files_to_clipboardOutput"
  2. Addedv0.1.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description reinforces the destruction concretely by saying it replaces the previous clipboard contents. It also discloses the practical downstream effect (Finder pastes copy them, Mail attaches them), which annotations cannot convey, though permission requirements are unstated.

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?

One front-loaded sentence with the key behavior (replacement) stated early, and the Finder/Mail clause earns its place by explaining observable consequences. No wasted preamble.

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 so return values need no explanation, and the single parameter is fully documented in the schema. Combined with annotations covering safety, the description supplies enough for correct invocation; only permission/precondition context is missing.

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 coverage is 100% and the single 'paths' parameter already documents that entries must exist, so the schema carries the detail. The description adds little beyond implying multiple files are acceptable; baseline 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 concrete verb and resource ('Put files on the clipboard') plus the key semantic detail that these are file references, not file contents. The Finder analogy ('as if they were copied in Finder') distinguishes it from copy_image_to_clipboard or set_clipboard, though no sibling is named explicitly.

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 Finder/Mail examples (use it when you want a paste to move or attach the actual files), but there is no explicit when-to-use vs. set_clipboard or when-not guidance, and no stated prerequisites such as Accessibility permissions.

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