Skip to main content
Glama
clipboard-mcp

clipboard-mcp

by Olivia-y-l

Write clipboard

write_clipboard

Replaces the system clipboard with specified text so users can paste code snippets, commands, or links elsewhere.

Instructions

Replace the system clipboard with text, so the user can paste it elsewhere. Use for code snippets, commands or links the user explicitly wants copied.

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

Input Schema

NameRequiredDescriptionDefault
textYesText to place on the clipboard

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false and openWorldHint=false; the description adds the crucial behavioral detail that the clipboard is replaced wholesale, meaning prior contents are lost, and that user consent is a precondition. It does not say whether the call confirms success or how failures (e.g. no clipboard service) surface.

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 tight sentences: the action and its effect come first, usage guidance second. Every clause earns its place and nothing is padded.

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 one-parameter, non-open-world side-effect tool with annotations and no output schema, the description covers what it does, the destructive overwrite, and the consent requirement. The only gap is the lack of any statement about confirmation or error behavior, which matters somewhat given there is no output schema.

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?

Only one parameter and the schema already documents it fully at 100% coverage, so the baseline is 3. The description says content is placed "with text" but adds no format, length, or encoding meaning beyond the schema.

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 — "Replace the system clipboard with text" — and adds the user-facing effect ("so the user can paste it elsewhere"). It is clearly distinguishable from read_clipboard and the history/stats siblings by the word "Replace", though it never explicitly names an alternative.

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

Usage Guidelines4/5

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

Gives concrete positive guidance ("code snippets, commands or links") plus an important qualifier — only text "the user explicitly wants copied". That implies a when-not condition (don't write unprompted), but it is left implicit rather than stated as an exclusion.

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