Skip to main content
Glama

Write clipboard

clipboard_set

Sends text to a remote peer's clipboard by rockd ID or IP:port, enabling copy-and-paste across connected devices.

Instructions

Put text on the peer's clipboard.

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

Input Schema

NameRequiredDescriptionDefault
peerYesThe peer's 9-digit rockd ID (from `devices` / `status`), or IP:port to dial directly
textYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the mutation and off-host nature are known. The description confirms the write targets a remote peer's clipboard, but it does not say whether existing clipboard contents are overwritten, what happens if the peer is unreachable, or whether size limits apply.

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?

A single front-loaded sentence with zero filler; every word contributes to stating the action and target. Brevity is not the problem here — the gaps are in coverage, not verbosity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a remote mutation tool with no output schema, the description omits critical operational context: overwrite behavior, failure modes when the peer is offline, and any constraints on the text payload. An agent could invoke it but cannot predict side effects or errors from the definition alone.

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 50%: 'peer' is documented with ID/IP:port formats while 'text' has no schema description at all. The description's 'Put text' partly compensates by making clear that the free-form string is the content to place on the clipboard, but adds no formatting or size semantics.

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 specific verb and resource ('Put text on the peer's clipboard'), which clearly distinguishes it from the read counterpart clipboard_get. No explicit sibling contrast is stated, but the write-vs-read distinction is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

Gives no guidance on when to use this versus alternatives, and no prerequisites such as the peer needing to be online or reachable. It simply describes the effect without any selection context.

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