Skip to main content
Glama
computer
by zznabil

Write clipboard

clipboard_write
Destructive

Copies provided text to the system clipboard, replacing existing contents so agents can paste or move text between desktop applications.

Instructions

Replace the clipboard with text.

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

Input Schema

NameRequiredDescriptionDefault
textYesText to copy.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and openWorldHint=true, which tells the agent the prior clipboard contents are overwritten. The description's "Replace" merely restates that destructive framing and adds nothing about what is lost, whether rich formats are supported, or any permission/OS constraints. With annotations doing the behavioral work, the description contributes little beyond them.

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 short sentence that front-loads the action and resource; every word earns its place and there is no filler. Appropriate for a one-parameter primitive.

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?

For a simple one-parameter clipboard write with full schema coverage and annotations carrying the safety profile, the description is close to sufficient. A brief note that this overwrites the user's existing clipboard contents in place, and that only plain text is written, would close the remaining gap.

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?

There is a single parameter with 100% schema description coverage ("Text to copy."), so the baseline is 3. The description adds no meaning beyond the schema — no note on newline handling, encoding, or size limits for the text value.

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?

"Replace the clipboard with text" uses a specific verb (replace) and a specific resource (clipboard), so the agent immediately knows this is a clipboard mutation rather than a read. It does not explicitly name clipboard_read as the alternative, but the verb/resource pair makes the distinction clear 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 Guidelines3/5

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

The implied usage (put text onto the clipboard, as opposed to clipboard_read which retrieves it) is evident from the description and the sibling name. There is no explicit when-to-use/when-not guidance, no mention of sequencing relative to type_text or press_keys (e.g., write then paste), and no prerequisites stated.

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