Skip to main content
Glama
mcp-server-macos

mcp-server-macos

Wait for something to be copied

wait_for_clipboard_change
Read-only

Waits until a user or app copies new clipboard content, then returns it, so you can react to fresh copies without polling. Optionally skips sensitive items and times out if nothing changes.

Instructions

Wait until the user, or an app, copies something new, and return it. Clearing the clipboard doesn't count. Fails when nothing is copied in time.

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

Input Schema

NameRequiredDescriptionDefault
timeout_secondsNoHow long to wait, in seconds, before giving up.
include_sensitiveNoFalse to wait on past a copy marked as sensitive (a password, from a password manager), for the next one.

Output Schema

NameRequiredDescriptionDefault
textYesThe text that was copied. Null when what was copied isn't text (an image, files...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv1.3.2
    • removedInput schema / properties / include_sensitive / title
      Removed value: -"Include Sensitive"
    • removedInput schema / properties / timeout_seconds / title
      Removed value: -"Timeout Seconds"
    • removedInput schema / title
      Removed value: -"wait_for_clipboard_changeArguments"
    • removedOutput schema / properties / text / title
      Removed value: -"Text"
    • removedOutput schema / title
      Removed value: -"Copied"
  2. Addedv0.1.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true and openWorldHint=false, so the blocking/waiting nature, the timeout failure mode, and the rule that clearing the clipboard does not trigger a return are all meaningful additions the annotations do not convey. It still says nothing about what the failure looks like or how the returned payload is shaped, but the core behavioural profile is disclosed.

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?

Three short sentences, front-loaded with the primary action, followed by the two constraints that alter expectations. Nothing is redundant or padded.

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 a full input schema and an output schema present, the description does not need to restate parameters or return shapes. It covers the wait semantics, the exclusion of clipboard clearing, and the timeout failure, which is nearly everything an agent needs; only the contrast with non-blocking clipboard reads is left implicit.

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 timeout_seconds and include_sensitive are already documented with defaults and bounds. The description adds only indirect context ('fails when nothing is copied in time') and contributes no new detail about the sensitive-copy skip behaviour, so the baseline of 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?

The description states a specific verb and resource: wait until a new copy occurs, then return the content. It also pins down an edge case that separates it from a plain clipboard read ('Clearing the clipboard doesn't count'), but it never names a sibling such as get_clipboard to contrast blocking vs. non-blocking behaviour.

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 rather than stated: it is for waiting on a future copy, and it 'fails when nothing is copied in time', which tells the agent about the timeout outcome. There is no explicit when-to-use versus when-not-to-use guidance and no named alternative for the non-blocking case.

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