Skip to main content
Glama

clipboard_write

Writes provided text to the system clipboard using native macOS support or browser page context, with an optional tab ID to target a specific tab instead of the focused one.

Instructions

Write system clipboard text (native host on macOS; page context elsewhere).

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
textYes
tabIdNoOptional browser tab id to act on instead of the focused tab.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full load, and it does disclose one genuinely useful behavior: that the write targets the native host clipboard on macOS but page context elsewhere. It omits important traits for a mutation tool, such as whether existing clipboard contents are overwritten, what permissions or focus are required, and what a successful call returns.

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 no filler, and the most decision-relevant detail (execution context) is placed immediately after the verb+resource.

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

Completeness3/5

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

For a two-parameter tool with no output schema, the description covers purpose and platform behavior but leaves the agent unsure about overwrite semantics and the result of the call. The schema handles tabId, so the main remaining gap is mutation behavior, which goes unstated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: tabId is documented in the schema, text is not. The description compensates by implying text is the payload and, more usefully, by explaining that clipboard writes are page-scoped outside macOS, which is the reason a tabId can matter, adding meaning the schema's "instead of the focused tab" does not convey.

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?

"Write system clipboard text" gives a specific verb and resource that an agent can distinguish from clipboard_read at a glance. The parenthetical adds execution-scope nuance (native host vs page context), though it never contrasts itself with a sibling explicitly.

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?

There is no when-to-use guidance, no prerequisites, and no statement of when not to use it. The parenthetical explains where the write lands, not when an agent should call this tool rather than another.

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