Skip to main content
Glama

add_to_clipboard

Adds content to the clipboard history with support for text, URLs, HTML, RTF, colors, files, and images. Specify the content type to ensure accurate storage and retrieval.

Instructions

Add content to the clipboard history. Supported types: text, url, html, rtf, color, file, image. For file/image, content should be the absolute file path. For color, content can be hex (#FF0000), rgb(), rgba(), hsl(), hsla(), or CSS color name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoContent type: 'text' (default), 'url', 'html', 'rtf', 'color', 'file', 'image'
contentYesThe content to add. Text/URL/HTML/RTF as string, color as color value (e.g. #FF0000), file/image as absolute file path

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv2.2.0

TDQS

A4.2/5.0
Behavior3/5

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

There are no annotations, so the description carries the full burden. It discloses input format constraints well, including file paths and color representations. However, it does not explain what side effects adding to clipboard history has, such as whether it also changes the system clipboard or only appends to history.

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 concise sentences front-load the core action and resource, then efficiently provide type-specific usage details. No redundant or filler language is present.

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 two-parameter tool with no output schema and no annotations, the description covers all necessary input semantics and format nuances. It is slightly incomplete in that it does not mention return values or post-conditions, but those are not essential for successful invocation.

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 description coverage is 100%, so the baseline is 3. The description adds value beyond the schema by detailing valid color formats (hex, rgb(), rgba(), hsl(), hsla(), CSS name) and emphasizing absolute file paths for file/image types, which are not fully enumerated in 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 clearly states the action ('Add content') and resource ('clipboard history'), and enumerates the supported content types. This distinguishes it from sibling tools like search_clipboard, get_paste_item, and get_clipboard_stats, which are read/search operations.

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?

The description provides clear context for what content types are supported and gives format requirements for file/image and color inputs. It does not explicitly contrast with sibling tools, but its write-oriented purpose is obvious alongside read/search siblings, so the intended usage is easy to infer.

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

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/CrossPaste/crosspaste-desktop'

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