Skip to main content
Glama

clipboard_write

Place text or a file's bytes on the GNOME Wayland clipboard and verify the write by reading back the data, ensuring the compositor holds the correct content.

Instructions

Put text or a file's bytes on the clipboard, and PROVE it landed by reading it back. Goes through the gnome-shell extension so the compositor sets the clipboard itself -- mutter has a measured bug (S-018) where an external client's offer can serve wrong bytes to text requests, so wl-copy is only the fallback and says so when used.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoFile whose bytes go on the clipboard, e.g. a PNG
textNoText to place on the clipboard. Give this OR path+mimetype, not both.
mimetypeNoThe type those bytes are offered as, e.g. image/png. Required with path.
Install Server

TDQS

A4.2/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden. It discloses that the tool will write and then read back to verify, that it goes through gnome-shell/mutter rather than an external client, why that matters (bug S-018), and that the wl-copy fallback says when it is used. This is unusually transparent about side effects and implementation behavior.

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?

Two sentences, front-loaded with the core action and verification guarantee, followed by a concise rationale for the implementation choice. The mutter bug detail earns its place by explaining why the fallback exists and why the extension path is preferred.

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?

The description explains purpose, mechanism, verification, and fallback behavior, and the schema completes parameter semantics. The main gap is that without an output schema, return/error behavior is only implicit ('prove it landed' and the fallback 'says so'), so an agent might not know exactly what to expect on success or failure.

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?

The input schema already documents all three parameters with 100% coverage, including the 'text OR path+mimetype' constraint and the role of mimetype. The description adds only the high-level 'text or a file's bytes' framing, which does not materially deepen parameter understanding beyond the schema.

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 description opens with a specific verb and resource: 'Put text or a file's bytes on the clipboard.' It also explains the mechanism (gnome-shell extension) and distinctly implies the inverse operation of the sibling clipboard_read, so an agent can tell it apart without opening schemas.

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?

It gives context about when the extension path is used and mentions wl-copy as a fallback that identifies itself when used, but it does not explicitly state when to prefer this tool over clipboard_read or any alternative. The usage guidance is mostly implied by the tool name and action, not stated as routing rules.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tristanmuzzu/deskwright'

If you have feedback or need assistance with the MCP directory API, please join our Discord server