Skip to main content
Glama
mcp-server-macos

mcp-server-macos

Copy text to the clipboard

set_clipboard
DestructiveIdempotent

Put text on the macOS clipboard for the user to paste, replacing existing contents; mark sensitive items so clipboard managers skip history.

Instructions

Put text on the clipboard, replacing what it held, for the user to paste.

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": {
      "text": "<text>"
    },
    "name": "set_clipboard"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesThe text to put on the clipboard.
sensitiveNoTrue for a password or a token: clipboard managers are asked not to show it or keep it in their history. Any app can still read it, so clear the clipboard after use.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv1.3.2
    • removedInput schema / properties / sensitive / title
      Removed value: -"Sensitive"
    • removedInput schema / properties / text / title
      Removed value: -"Text"
    • removedInput schema / title
      Removed value: -"set_clipboardArguments"
    • removedOutput schema / properties / result / title
      Removed value: -"Result"
    • removedOutput schema / title
      Removed value: -"set_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 flag destructiveHint=true and idempotentHint=true, but the description makes the destruction concrete rather than abstract: the previous clipboard contents are replaced. It does not mention the sensitive flag's effect, that any app can read the contents, or the recommendation to clear afterwards — that guidance lives only in the 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?

A single sentence with no filler, and the replacement semantics are front-loaded rather than buried. Nothing extraneous, though also nothing beyond the one clause.

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 both parameters are fully documented in-schema. What remains thin is the relationship to clear_clipboard/get_clipboard and the safety workflow around sensitive content, which the description leaves to the parameter schema.

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%, with both text and sensitive documented in-schema including the history-suppression behavior and the security caveat. The top-level description adds nothing about either parameter, so the 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?

Names a specific verb and resource ("put text on the clipboard") and qualifies it as text, which implicitly separates it from the image and file clipboard siblings. It stops short of naming an alternative or stating which cases belong to this tool versus copy_image_to_clipboard.

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?

"for the user to paste" implies the intended use case (content destined for a human paste) and "replacing what it held" implies there is no append mode. There is no explicit when-to-use or when-not guidance, and nothing points at clear_clipboard or get_clipboard as related operations.

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