Skip to main content
Glama
Keyboard Maestro MCP Server

Keyboard Maestro MCP Server

by akari2600

get_clipboard_result

Retrieve current clipboard contents from a remote machine after running a macro, returning copied text or displaying screenshot images.

Instructions

Retrieve the current clipboard contents from a remote machine. Returns text directly or displays images.

This is the companion tool to trigger_macro - use it to retrieve results after triggering macros that:

  • Take screenshots (the image will be on the clipboard)

  • Copy text or data to clipboard

  • Perform OCR or text extraction

  • Any operation that puts results on the system clipboard

The tool works by triggering a helper macro that saves the clipboard to a file, then reading that file. Requires the "Save Clipboard to File" macro to be installed (see error message for setup instructions if not configured).

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_clipboard_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
machineNoName of the machine to get clipboard from (defaults to first configured machine)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.6/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden and does so: it discloses the internal mechanism (trigger a helper macro, save clipboard to file, read the file), a hard prerequisite (the 'Save Clipboard to File' macro must be installed), and where to look when that prerequisite fails. That is unusually rich behavioral context for a read tool and covers the main failure mode an agent would hit.

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 core capability and the return format are front-loaded before the mechanism and prerequisite details, which is the right order. The bullet list is mildly redundant, since 'Copy text or data to clipboard' and 'Any operation that puts results on the system clipboard' overlap, but nothing is misleading or wasted enough to hurt selection.

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 one-parameter read tool with no output schema, the description covers the mechanism, the prerequisite, the error path, and what the caller receives (text vs. displayed image). Nothing an agent needs in order to call it correctly or diagnose a failure 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 description coverage is 100% with a single optional 'machine' parameter, so the schema already explains its meaning and default. The description never mentions machine selection or what happens when it is omitted, adding no meaning beyond the schema, which lands at the documented baseline.

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 first sentence names a specific verb and resource ('Retrieve the current clipboard contents from a remote machine') and immediately states the return shape (text directly, images displayed). It also positions itself relative to the sibling trigger_macro, so an agent can distinguish the two 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?

The description explicitly names the companion tool (trigger_macro) and enumerates the triggering conditions: screenshots, copied text/data, OCR/extraction, or any operation that lands results on the clipboard. That is a concrete when-to-use rule tied to a named alternative rather than vague implied usage.

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